Tagged: x
-
AuthorPosts
-
May 23, 2016 at 5:37 am #1004939
Shervin6623ParticipantCan Some one please help me? I dont know if the problem is with the Theme or a plugin.
http://www.pestguru.com.au/Load my site and save it, you see the size of css & Js files are quite high. I test the ping speed here http://tools.pingdom.com & its a disaster. This fall in speed occure after migration to new host I think.
I tested cache plugin on & off. Optimize the images but the load speed is very slow yet. can it be an un-complete migration some how damaged my database or something that caused this? I dont know Im not a pro in this 🙂Please guys help me out.
many thanksMay 23, 2016 at 5:45 am #1004953
Shervin6623Participantone more thing, Its even loading slow on the admin side !
May 23, 2016 at 6:01 am #1004978
ChristianModeratorHey there,
Thanks for writing in! After reviewing the information provided above, I would try checking with your hosting provider on this particular issue as it sounds like something related to your setup is causing this. Typically, this is due server configuration problems (i.e. underpowered, traceroute issues, packet loss, permissions errors, et cetera). Additionally, your host will be able to diagnose things much better due to the fact that they have a more complete view of your account and can work behind the scenes with you. If the problem you are experiencing persists after working with your host, don’t hesitate to let us know and we will be happy to assist you. Any relevant information that you can share with us from your host is also greatly appreciated as it will help us to better ascertain the source of the problem.
May 23, 2016 at 6:10 am #1004988
Shervin6623ParticipantMany thanks Christian,
Ok I will Email them & will share the result here.
RegardsI also add these conde to function.php chiled theme see if it is better now:
add_filter(‘autoptimize_js_include_inline’,’support_ao_js_include_inline’,10,1);
function support_ao_js_include_inline() {
return false;
}add_filter(‘autoptimize_css_include_inline’,’support_ao_css_include_inline’,10,1);
function support_ao_css_include_inline() {
return false;
}May 23, 2016 at 6:43 am #1005033
Paul RModeratorHi,
The code is related to autoptimize plugin.
Regretfully, we cannot provide support for third party plugins or scripts as our support policy in the sidebar states due to the fact that there is simply no way to account for all of the potential variables at play when using another developer’s plugin or script. Because of this, any questions you have regarding setup, integration, or troubleshooting any piece of functionality that is not native to X will need to be directed to the original developer.
Thank you for your understanding.
May 25, 2016 at 1:41 am #1008586
Shervin6623Participanthi
after a lot of going back and forth here is what I did from the beginning, please give help if you can: There are near 144 HTTP Request on my websitethis is my website : http://www.pestguru.com.au
here is what happened exactly :1- I made a backup & upload it on my second website on different hosting sprinklersys.com/pest
2-change the domian in database after importing database
3-didnt change the urls within database (it is working ok on this subdomain)
4-I did the change I wanted then I made another backup & uploaded it on my first hosting for pestguru.com.au
4-with the halp of razorsql software I replaced every links from sprinklersys.com/pest to pestguru.com.au
5-uploaded this sql to my host connected everything & updated everything
6-now my page load time is near 30 to 40 seconds as GMetrix shows
7-the speed on sprinklersys.com/pest is 6-7 seconds!!!!!
8-although I added one or two plugin to the pestguru site but those are not causing this problem as I tried disabling them and received no speed imporovementthe things I did for improvement to make if better:
install cache plugins >>> didnt work
optimize images >>> didnt work (the problem is something else)
running tests with P3 profile plugin >>> shows me conrnerstone plugin is using many memory & load time so I disabled it >>> a little improvement but still no way near 66-7 load time!Please help me out as I am working on SEO for my client on this site & this loading time is ruining everything :((
I sense that something needs to be reset here, I dont know!!waiting for any help
ThanksMay 25, 2016 at 1:43 am #1008587
Shervin6623Participant& one more thing: my website became slower even on admin area & Im sure that it is not because of hosting because I already tested it on godaddy hosting too
May 25, 2016 at 1:48 am #1008591
Paul RModeratorHi,
We have created a detailed guide on how to improve site performance when using xtheme.
Please refer to the link below.
https://community.theme.co/kb/performance/
Hope that helps
May 25, 2016 at 2:24 am #1008620
Shervin6623ParticipantThanks for the link, can you please check these are major problem with them or not?
**********************************************
REQUIRED: .gallery-caption css class is needed in your theme css.
Warning: More than one text-domain is being used in this theme. This means the theme will not be compatible with WordPress.org language packs.
The domains found are __x__, bbpress, buddypress
WARNING: Found a translation function that is missing a text-domain. Function _e, with the arguments ‘__x__’
WARNING: Found a translation function that is missing a text-domain. Function __, with the arguments ‘Update Plugin’
WARNING: Found a translation function that is missing a text-domain. Function __, with the arguments ‘There is a new version of %1$s available. View version %4$s details.’
WARNING: Found a translation function that is missing a text-domain. Function __, with the arguments ‘There is a new version of %1$s available. View version %4$s details. %5$s’
WARNING: Found a translation function that is missing a text-domain. Function __, with the arguments ‘There is a new version of %1$s available. View version %4$s details or update now.’
WARNING: file_put_contents was found in the file framework/functions/global/admin/addons/demo/class-x-demo-import-processor.php File operations should use the WP_Filesystem methods instead of direct PHP filesystem calls.Line 188: file_put_contents( $temp, file_get_contents($url) );
WARNING: file_get_contents was found in the file framework/functions/global/admin/addons/demo/class-x-demo-import-processor.php File operations should use the WP_Filesystem methods instead of direct PHP filesystem calls.
Line 188: file_put_contents( $temp, file_get_contents($url) );
REQUIRED: You are not allowed to hide the admin bar.
REQUIRED: This theme text domain does not match the theme’s slug. The text domain used: __x__, bbpress, buddypressThis theme’s correct slug and text-domain is x.
REQUIRED: The theme uses the register_taxonomy() function, which is plugin-territory functionality.
REQUIRED: The theme uses the register_post_type() function, which is plugin-territory functionality.
REQUIRED: The theme must not used the <title> tags.
REQUIRED: The theme must not call to wp_title().
REQUIRED: No reference to add_theme_support( “title-tag” ) was found in the theme.
REQUIRED: Found a Customizer setting that did not have a sanitization callback function. Every call to the add_setting() method needs to have a sanitization callback function passed.
REQUIRED: framework/functions/global/admin/addons/setup.php. Themes should use add_theme_page() for adding admin pages.Line 98: add_submenu_page( ‘x-addons-home’, ‘X – Addons: Home’, ‘Home’, ‘manag
REQUIRED: framework/functions/global/admin/addons/setup.php. Themes should use add_theme_page() for adding admin pages.
Line 97: add_menu_page( ‘X – Addons: Home’, ‘Addons’, ‘manage_options’, ‘x-add
REQUIRED: Zip file found. Plugins are not allowed in themes. The zip file found was cornerstone.zip.
May 25, 2016 at 2:31 am #1008627
Paul RModeratorHi,
May I know where you are getting these warnings.
I checked your site again and it I can see you have not installed cornerstone plugin.
Please install cornerstone v 1.2.4 as it is required for the theme to work correctly.
Thanks
May 25, 2016 at 2:45 am #1008639
Shervin6623ParticipantI used Theme Check plugin & got these results.
I also used P3 profiler that showed me cornerstone is using 10secons load time so I disabled it because I am using visual composerI deleted All me updates On .htaccess file & now it seems to load much faster than before !!!!
here are the codes I deleted:*****************************************************
# BEGIN Far Future Expiration Plugin
<IfModule mod_expires.c>
ExpiresActive on
<FilesMatch “\.(gif|jpeg|jpg|png|ico|js|css|swf)$”>
ExpiresDefault “access plus 720 hours”
</FilesMatch>
</IfModule>
# END Far Future Expiration Plugin<IfModule mod_expires.c>
# Enable expirations
ExpiresActive On
# Default directive
ExpiresDefault “access plus 1 month”
# My favicon
ExpiresByType image/x-icon “access plus 1 year”
# Images
ExpiresByType image/gif “access plus 1 month”
ExpiresByType image/png “access plus 1 month”
ExpiresByType image/jpg “access plus 1 month”
ExpiresByType image/jpeg “access plus 1 month”
# CSS
ExpiresByType text/css “access plus 1 month”
# Javascript
ExpiresByType application/javascript “access plus 1 year”
</IfModule><IfModule mod_deflate.c>
# Compress HTML, CSS, JavaScript, Text, XML and fonts
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/vnd.ms-fontobject
AddOutputFilterByType DEFLATE application/x-font
AddOutputFilterByType DEFLATE application/x-font-opentype
AddOutputFilterByType DEFLATE application/x-font-otf
AddOutputFilterByType DEFLATE application/x-font-truetype
AddOutputFilterByType DEFLATE application/x-font-ttf
AddOutputFilterByType DEFLATE application/x-javascript
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE font/opentype
AddOutputFilterByType DEFLATE font/otf
AddOutputFilterByType DEFLATE font/ttf
AddOutputFilterByType DEFLATE image/svg+xml
AddOutputFilterByType DEFLATE image/x-icon
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/javascript
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/xml# Remove browser bugs (only needed for really old browsers)
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
Header append Vary User-Agent
</IfModule><ifModule mod_headers.c>
Header set Connection keep-alive
</ifModule># BEGIN W3TC Browser Cache
<IfModule mod_mime.c>
AddType text/css .css
AddType text/x-component .htc
AddType application/x-javascript .js
AddType application/javascript .js2
AddType text/javascript .js3
AddType text/x-js .js4
AddType text/html .html .htm
AddType text/richtext .rtf .rtx
AddType image/svg+xml .svg .svgz
AddType text/plain .txt
AddType text/xsd .xsd
AddType text/xsl .xsl
AddType text/xml .xml
AddType video/asf .asf .asx .wax .wmv .wmx
AddType video/avi .avi
AddType image/bmp .bmp
AddType application/java .class
AddType video/divx .divx
AddType application/msword .doc .docx
AddType application/vnd.ms-fontobject .eot
AddType application/x-msdownload .exe
AddType image/gif .gif
AddType application/x-gzip .gz .gzip
AddType image/x-icon .ico
AddType image/jpeg .jpg .jpeg .jpe
AddType application/json .json
AddType application/vnd.ms-access .mdb
AddType audio/midi .mid .midi
AddType video/quicktime .mov .qt
AddType audio/mpeg .mp3 .m4a
AddType video/mp4 .mp4 .m4v
AddType video/mpeg .mpeg .mpg .mpe
AddType application/vnd.ms-project .mpp
AddType application/x-font-otf .otf
AddType application/vnd.ms-opentype .otf
AddType application/vnd.oasis.opendocument.database .odb
AddType application/vnd.oasis.opendocument.chart .odc
AddType application/vnd.oasis.opendocument.formula .odf
AddType application/vnd.oasis.opendocument.graphics .odg
AddType application/vnd.oasis.opendocument.presentation .odp
AddType application/vnd.oasis.opendocument.spreadsheet .ods
AddType application/vnd.oasis.opendocument.text .odt
AddType audio/ogg .ogg
AddType application/pdf .pdf
AddType image/png .png
AddType application/vnd.ms-powerpoint .pot .pps .ppt .pptx
AddType audio/x-realaudio .ra .ram
AddType application/x-shockwave-flash .swf
AddType application/x-tar .tar
AddType image/tiff .tif .tiff
AddType application/x-font-ttf .ttf .ttc
AddType application/vnd.ms-opentype .ttf .ttc
AddType audio/wav .wav
AddType audio/wma .wma
AddType application/vnd.ms-write .wri
AddType application/font-woff .woff
AddType application/vnd.ms-excel .xla .xls .xlsx .xlt .xlw
AddType application/zip .zip
</IfModule>
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType text/css A31536000
ExpiresByType text/x-component A31536000
ExpiresByType application/x-javascript A31536000
ExpiresByType application/javascript A31536000
ExpiresByType text/javascript A31536000
ExpiresByType text/x-js A31536000
ExpiresByType text/html A3600
ExpiresByType text/richtext A3600
ExpiresByType image/svg+xml A3600
ExpiresByType text/plain A3600
ExpiresByType text/xsd A3600
ExpiresByType text/xsl A3600
ExpiresByType text/xml A3600
ExpiresByType video/asf A31536000
ExpiresByType video/avi A31536000
ExpiresByType image/bmp A31536000
ExpiresByType application/java A31536000
ExpiresByType video/divx A31536000
ExpiresByType application/msword A31536000
ExpiresByType application/vnd.ms-fontobject A31536000
ExpiresByType application/x-msdownload A31536000
ExpiresByType image/gif A31536000
ExpiresByType application/x-gzip A31536000
ExpiresByType image/x-icon A31536000
ExpiresByType image/jpeg A31536000
ExpiresByType application/json A31536000
ExpiresByType application/vnd.ms-access A31536000
ExpiresByType audio/midi A31536000
ExpiresByType video/quicktime A31536000
ExpiresByType audio/mpeg A31536000
ExpiresByType video/mp4 A31536000
ExpiresByType video/mpeg A31536000
ExpiresByType application/vnd.ms-project A31536000
ExpiresByType application/x-font-otf A31536000
ExpiresByType application/vnd.ms-opentype A31536000
ExpiresByType application/vnd.oasis.opendocument.database A31536000
ExpiresByType application/vnd.oasis.opendocument.chart A31536000
ExpiresByType application/vnd.oasis.opendocument.formula A31536000
ExpiresByType application/vnd.oasis.opendocument.graphics A31536000
ExpiresByType application/vnd.oasis.opendocument.presentation A31536000
ExpiresByType application/vnd.oasis.opendocument.spreadsheet A31536000
ExpiresByType application/vnd.oasis.opendocument.text A31536000
ExpiresByType audio/ogg A31536000
ExpiresByType application/pdf A31536000
ExpiresByType image/png A31536000
ExpiresByType application/vnd.ms-powerpoint A31536000
ExpiresByType audio/x-realaudio A31536000
ExpiresByType image/svg+xml A31536000
ExpiresByType application/x-shockwave-flash A31536000
ExpiresByType application/x-tar A31536000
ExpiresByType image/tiff A31536000
ExpiresByType application/x-font-ttf A31536000
ExpiresByType application/vnd.ms-opentype A31536000
ExpiresByType audio/wav A31536000
ExpiresByType audio/wma A31536000
ExpiresByType application/vnd.ms-write A31536000
ExpiresByType application/font-woff A31536000
ExpiresByType application/vnd.ms-excel A31536000
ExpiresByType application/zip A31536000
</IfModule>
<IfModule mod_deflate.c>
<IfModule mod_headers.c>
Header append Vary User-Agent env=!dont-vary
</IfModule>
AddOutputFilterByType DEFLATE text/css text/x-component application/x-javascript application/javascript text/javascript text/x-js text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/x-icon application/json
<IfModule mod_mime.c>
# DEFLATE by extension
AddOutputFilter DEFLATE js css htm html xml
</IfModule>
</IfModule>
<FilesMatch “\.(css|htc|less|js|js2|js3|js4|CSS|HTC|LESS|JS|JS2|JS3|JS4)$”>
FileETag MTime Size
<IfModule mod_headers.c>
Header set Pragma “public”
Header append Cache-Control “public”
Header unset Set-Cookie
Header set X-Powered-By “W3 Total Cache/0.9.4.1”
</IfModule>
</FilesMatch>
<FilesMatch “\.(html|htm|rtf|rtx|svg|svgz|txt|xsd|xsl|xml|HTML|HTM|RTF|RTX|SVG|SVGZ|TXT|XSD|XSL|XML)$”>
FileETag MTime Size
<IfModule mod_headers.c>
Header set Pragma “public”
Header append Cache-Control “public”
Header set X-Powered-By “W3 Total Cache/0.9.4.1”
</IfModule>
</FilesMatch>
<FilesMatch “\.(asf|asx|wax|wmv|wmx|avi|bmp|class|divx|doc|docx|eot|exe|gif|gz|gzip|ico|jpg|jpeg|jpe|json|mdb|mid|midi|mov|qt|mp3|m4a|mp4|m4v|mpeg|mpg|mpe|mpp|otf|odb|odc|odf|odg|odp|ods|odt|ogg|pdf|png|pot|pps|ppt|pptx|ra|ram|svg|svgz|swf|tar|tif|tiff|ttf|ttc|wav|wma|wri|woff|xla|xls|xlsx|xlt|xlw|zip|ASF|ASX|WAX|WMV|WMX|AVI|BMP|CLASS|DIVX|DOC|DOCX|EOT|EXE|GIF|GZ|GZIP|ICO|JPG|JPEG|JPE|JSON|MDB|MID|MIDI|MOV|QT|MP3|M4A|MP4|M4V|MPEG|MPG|MPE|MPP|OTF|ODB|ODC|ODF|ODG|ODP|ODS|ODT|OGG|PDF|PNG|POT|PPS|PPT|PPTX|RA|RAM|SVG|SVGZ|SWF|TAR|TIF|TIFF|TTF|TTC|WAV|WMA|WRI|WOFF|XLA|XLS|XLSX|XLT|XLW|ZIP)$”>
FileETag MTime Size
<IfModule mod_headers.c>
Header set Pragma “public”
Header append Cache-Control “public”
Header unset Set-Cookie
Header set X-Powered-By “W3 Total Cache/0.9.4.1″
</IfModule>
</FilesMatch>
# END W3TC Browser Cache
# BEGIN W3TC Page Cache core
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP:Accept-Encoding} gzip
RewriteRule .* – [E=W3TC_ENC:_gzip]
RewriteCond %{HTTP_COOKIE} w3tc_preview [NC]
RewriteRule .* – [E=W3TC_PREVIEW:_preview]
RewriteCond %{REQUEST_METHOD} !=POST
RewriteCond %{QUERY_STRING} =””
RewriteCond %{REQUEST_URI} \/$
RewriteCond %{HTTP_COOKIE} !(comment_author|wp\-postpass|w3tc_logged_out|wordpress_logged_in|wptouch_switch_toggle) [NC]
RewriteCond “%{DOCUMENT_ROOT}/wp-content/cache/page_enhanced/%{HTTP_HOST}/%{REQUEST_URI}/_index%{ENV:W3TC_PREVIEW}.html%{ENV:W3TC_ENC}” -f
RewriteRule .* “/wp-content/cache/page_enhanced/%{HTTP_HOST}/%{REQUEST_URI}/_index%{ENV:W3TC_PREVIEW}.html%{ENV:W3TC_ENC}” [L]
</IfModule>
# END W3TC Page Cache core# BEGIN Brute Force Login Protection
<FilesMatch “.*\.(php|html?|css|js|jpe?g|png|gif)$”>
order deny,allow
</FilesMatch>
# END Brute Force Login ProtectionMay 25, 2016 at 2:48 am #1008642
Shervin6623ParticipantI Deleted the Codes & Regenerated them, now all things working better.
May 25, 2016 at 3:11 am #1008670
ChristianModeratorGlad you’ve sorted it out.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1004939 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
