my site is so slow. what could it be?

I have a multisite install with two themes in the same domain. One primary and one subdirectory.

My site seems so slow when I’m working on it and when I visit it. I tried wp super cache and it caused issues with my sitemap. I also didn’t notice any difference with it installed, despite numerous tweaks and forum research. I’m about to try w3 total cache but I’m reluctant. When I uninstalled wp super cache it broke one of my sites and I had to rebuild htaccess. What could be slowing my site down so much, and how can I fix it? It’s http://mybizpower.com

  • UNC Web Services
    • New Recruit

    Do you have a list of plugins you are using on your site? If could be that one of those is causing problems.

    I have used both super cache and W3. They are both powerful. I think W3 is better for single sites though. Super cache for multisite for sure though.

  • foodfriendfinder
    • The Incredible Code Injector

    I checked your site speed with http://tools.pingdom.com/ and result was >

    1st time checked> Your website is slower than 88% of all tested websites

    2nd time checked 10 minutes later > Your website is slower than 87% of all tested websites

    There are 10 JavaScript files served from mybizpower.com. They should be combined into as few files as possible.

    http://mybizpower.com/wp-content/plugins/popover/popover-load-js.php?ver=3.4.2

    http://mybizpower.com/wp-content/themes/suco/js/audio-player.js?ver=3.4.2

    http://mybizpower.com/wp-content/themes/suco/js/jquery.prettyPhoto.js?ver=3.4.2

    http://mybizpower.com/wp-content/themes/suco/js/jquery.slider.js?ver=3.4.2

    http://mybizpower.com/wp-content/themes/suco/js/themify.script.js?ver=3.4.2

    http://mybizpower.com/wp-content/themes/suco/themify/js/flowplayer-3.2.4.min.js?ver=1.6

    http://mybizpower.com/wp-content/themes/suco/themify/js/jcarousel.js?ver=1.6

    http://mybizpower.com/wp-content/themes/suco/themify/js/themify.map.js?ver=1.6

    http://mybizpower.com/wp-content/themes/suco/themify/js/themify.shortcodes.js?ver=3.4.2

    http://mybizpower.com/wp-includes/js/jquery/jquery.js?ver=1.7.2

    checking your java script files maybe you should cut down on some of your plugins and only use what is necessary

    w3 total cache is a better choice than super cache but also depends on your hosting package for cache plugin to have any effect.

  • william_bronson
    • The Incredible Code Injector

    I have no idea what to do or how to combine stuff.

    Most of those are included in my theme but I’ll take a look to see what I can do.

    The site slowed down once I upgraded wordpress and installed membership and affiliate plugins.

    I was also trying alot of solutions and then deactivating and deleting them after deciding on what to use.

    I have an old very large affiliate software install that I’m not going to use, installed in a subdirectory and it has a database.

    I set my databases to global tables and that may play a part here.

    I guess I need to find a wordpress expert to go through my site and optimize it.

    I’m sure they’d find things pretty quick.

    I’m not the one to know what to do or how to optimize. I’m a novice.

    Anyone willing to help please let me know.

  • william_bronson
    • The Incredible Code Injector

    @foodfriendfinder

    I spoke to my host and they ran a test and said their server doesnt show a big load from me and that there’s no reason on that server that I should have issues.

    They switched me last month because I was complaining about speed.

    They said they put me on a pool of servers instead of individual shared servers, whatever that means. I think it’s equal to the raid setup on hard drives

  • foodfriendfinder
    • The Incredible Code Injector

    William

    http://www.demo.com Download HAR

    http://mybizpower.com

    Tested from New York City, New York, USA on October 18 at 07:50:49

    Page size

    361.5kB

    Load time

    17.14s

    Requests

    40

    Perf. grade

    75/100

    Your website is slower than 91% of all tested websites< this is report from http://tools.pingdom.com

    if you are using a good theme…not many plugins…

    I think it’s probably hosting

    Possible to check better..use default them ..no plugins installed…see what page speed says then.

  • william_bronson
    • The Incredible Code Injector

    @foodfriendfinder

    well I spent the past few hours optimizing.

    I deleted my old affiliate software, and the database for it.

    I installed wp optimize and w3 cache and configured and ran both.

    I eliminated all plugins and parts of plugins I didnt need.

    The biggest culprits were ultimate branding and membership and simple press

    Since I'm using q&a I didn't need simple press. I was just testing it.

    I removed subscriptions I wasnt going to use in memberships

    I removed all parts of the ultimate branding I didn't need, leaving 3 modules active.

    THen I ran the test at pingdom.

    OMG! it was like night and day!

    Now as I randomly test and retest, I get from 1.99 seconds to 7 seconds load time.

    With w3 cache, there is a setting for database and object caching. They recommend to uncheck these on shared hosting accounts, but I'm not sure.

    I tested with it and without.

    One test, when I used a http://www.mybizpower.com yeilded 32 second load time.

    another 4 seconds, and another like 8. When I unchecked database and object caching I got between 1.9 and 7. No holy cow 32 second results yet.

    The reason, they said, is that on shared hosting the database may not return fast enough. I'll keep testing but thought I'd report back. Check out this screen shot!

  • Gabe
    • The Bug Hunter

    You can also try optimizing your images with punypng.com (PNGs) or smushit.com (JPGs). Google PageSpeed, YSlow and webpagetest.org can also give you some info. As mentioned above, pingdom tools are pretty good, but not always completely relevant due to structure and server location.

  • NetPotion
    • The Incredible Code Injector

    Try checking out GTMetrix.com too. They have several features there that will allow you to track down any issues you might be experiencing. It shows the load times for each file – internal, and external. You can switch test servers to check load times from around the world too.

    They even have a WordPress plugin that you can snap into your admin panel and test things without ever leaving your site.

    I highly recommend this site. It’s free.

    Note: I rarely use Pingdom so I’m not aware if they offer all the GTMetrix does or not. It’s always good to get a second take on things though. :wink:

    Hope this helps you out some.

    ~ Corey

  • skopy9581
    • Flash Drive

    yeah, i dont have any troubles with cloudflare, there is a free plugin for wpmu that adds subdomains as cname so no manual editing required, that was my biggest problem =)

    to come back ontopic; the simpliest way to see if server bind or some other server function beside apache itself is malfunctioning is to change dns and see if the first byte time goes normal…

  • skopy9581
    • Flash Drive

    contact your host to disable whatever they turned on, wordpress handles such stuff by itself…..

    btw. id you have www site in google cache go to your webmaster tools and set preffered domain without www and google will change the indexed sites

  • william_bronson
    • The Incredible Code Injector

    @skopy9581

    I verified my non www with google and that looks fine.

    However, my www is loading with google as my old site index.html, which is still in my root.

    index.html is my old site home page. index.php is wordpress.

    Google is defaulting the www to my old site index.html

    Not sure if I should duplicate index.php as index.html or if I should delete index.html

  • william_bronson
    • The Incredible Code Injector

    @skopy9581

    thank you. I did what you said.

    I also deleted old html files from my root, from my old site prior to wordpress.

    And I cleaned up some things wp super cache left behind in my wp config, leaving only the w3 total cache lines.

    I looked in pointers in my host settings and found none.

    So I went to put a redirect in htaccess, thinking perhaps my support chat with my host yeilded them removing their redirect.

    And I found some rewrite code that looked like w3 total cache was already doing it. Which is strange because I’d think that it was more of a foundational item, not a caching one.

    I checked www again, and it does redirect, so I’m at a loss.

    Here’s my htaccess

    DirectoryIndex index.php

    ErrorDocument 403 /404.php

    ErrorDocument 404 /404.php

    # BEGIN W3TC Browser Cache

    <IfModule mod_deflate.c>

    <IfModule mod_setenvif.c>

    BrowserMatch ^Mozilla/4 gzip-only-text/html

    BrowserMatch ^Mozilla/4.0[678] no-gzip

    BrowserMatch bMSIE !no-gzip !gzip-only-text/html

    BrowserMatch bMSI[E] !no-gzip !gzip-only-text/html

    </IfModule>

    <IfModule mod_headers.c>

    Header append Vary User-Agent env=!dont-vary

    </IfModule>

    <IfModule mod_filter.c>

    AddOutputFilterByType DEFLATE text/css application/x-javascript text/x-component text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/x-icon

    </IfModule>

    </IfModule>

    <FilesMatch “.(css|js|htc|CSS|JS|HTC)$”>

    FileETag None

    <IfModule mod_headers.c>

    Header set X-Powered-By “W3 Total Cache/0.9.2.4”

    </IfModule>

    </FilesMatch>

    <FilesMatch “.(html|htm|rtf|rtx|svg|svgz|txt|xsd|xsl|xml|HTML|HTM|RTF|RTX|SVG|SVGZ|TXT|XSD|XSL|XML)$”>

    FileETag None

    <IfModule mod_headers.c>

    Header set X-Powered-By “W3 Total Cache/0.9.2.4”

    </IfModule>

    </FilesMatch>

    <FilesMatch “.(asf|asx|wax|wmv|wmx|avi|bmp|class|divx|doc|docx|eot|exe|gif|gz|gzip|ico|jpg|jpeg|jpe|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|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|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|XLA|XLS|XLSX|XLT|XLW|ZIP)$”>

    FileETag None

    <IfModule mod_headers.c>

    Header set X-Powered-By “W3 Total Cache/0.9.2.4”

    </IfModule>

    </FilesMatch>

    # END W3TC Browser Cache

    # BEGIN W3TC Page Cache core

    <IfModule mod_rewrite.c>

    RewriteEngine On

    RewriteBase /

    RewriteRule ^(.*/)?w3tc_rewrite_test$ $1?w3tc_rewrite_test=1 [L]

    RewriteCond %{HTTP_HOST} ^(www.)?([a-z0-9-.]+.[a-z]+).?(:[0-9]+)?$

    RewriteRule .* – [E=W3TC_DOMAIN:%2]

    RewriteCond %{REQUEST_URI} ^/(members)/

    RewriteRule .* – [E=W3TC_BLOGNAME:%1.]

    RewriteCond %{HTTP:Accept-Encoding} gzip

    RewriteRule .* – [E=W3TC_ENC:_gzip]

    RewriteCond %{REQUEST_METHOD} !=POST

    RewriteCond %{QUERY_STRING} =””

    RewriteCond %{HTTP_HOST} =mybizpower.com

    RewriteCond %{REQUEST_URI} /$ [OR]

    RewriteCond %{REQUEST_URI} (sitemap(_index)?.xml(.gz)?|[a-z0-9_-]+-sitemap([0-9]+)?.xml(.gz)?) [NC]

    RewriteCond %{REQUEST_URI} !(/wp-admin/|/xmlrpc.php|/wp-(app|cron|login|register|mail).php|/feed/|wp-.*.php|index.php) [NC,OR]

    RewriteCond %{REQUEST_URI} (wp-comments-popup.php|wp-links-opml.php|wp-locations.php) [NC]

    RewriteCond %{HTTP_COOKIE} !(comment_author|wp-postpass|wordpress_[a-f0-9]+|wordpress_logged_in) [NC]

    RewriteCond %{HTTP_USER_AGENT} !(W3 Total Cache/0.9.2.4) [NC]

    RewriteCond “%{DOCUMENT_ROOT}/wp-content/w3tc-%{ENV:W3TC_BLOGNAME}%{ENV:W3TC_DOMAIN}/pgcache/%{REQUEST_URI}/_index%{ENV:W3TC_UA}%{ENV:W3TC_REF}%{ENV:W3TC_SSL}.html%{ENV:W3TC_ENC}” -F

    RewriteRule .* “/wp-content/w3tc-%{ENV:W3TC_BLOGNAME}%{ENV:W3TC_DOMAIN}/pgcache/%{REQUEST_URI}/_index%{ENV:W3TC_UA}%{ENV:W3TC_REF}%{ENV:W3TC_SSL}.html%{ENV:W3TC_ENC}” [L]

    </IfModule>

    # END W3TC Page Cache core

    # BEGIN WordPress

    RedirectMatch 301 ^/([0-9]{4})/([0-9]{2})/([0-9]{2})/(.*)$ http://mybizpower.com/$4

    RedirectMatch 301 ^/members/([0-9]{4})/([0-9]{2})/([0-9]{2})/(.*)$ http://mybizpower.com/members/$4

    <IfModule mod_rewrite.c>

    RewriteEngine On

    RewriteBase /

    RewriteRule ^index.php$ – [L]

    # uploaded files

    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]

    # add a trailing slash to /wp-admin

    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]

    RewriteCond %{REQUEST_FILENAME} -d

    RewriteRule ^ – [L]

    RewriteRule ^[_0-9a-zA-Z-]+/(wp-(content|admin|includes).*) $1 [L]

    RewriteRule ^[_0-9a-zA-Z-]+/(.*.php)$ $1 [L]

    RewriteRule . index.php [L]

    </IfModule>

    # END WordPress

  • skopy9581
    • Flash Drive

    rename .htaccess to .htaccess-old and go to wp admin and save permalinks, that should create default htaccess rules, then do the w3tc rewrite again…

    it should look something like this

    # BEGIN WordPress
    RewriteRule ^index.php$ - [L]

    # uploaded files
    RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule . index.php [L]
    # END WordPress

  • william_bronson
    • The Incredible Code Injector

    still fairly decent, especially for my main site http://mybizpower.com.

    The /members area loads slower but that’s expected. I tried a few things.

    I optimized featured images and turned off some theme addons. I also played with w3 total cache and ended up turning off minify, object, and database cache. They just messed things up, especially with social sharing plugins.

    But, still some pages take way too long to load, while others are snappy, like my home page. Not sure why a post page takes forever, but the main page at http://mybizpower.com/members takes less time. Perhaps it’s the big sized video player on the page. If I reduce it, I notice a slight page load speed boost.

    Anyway, I may be migrating to a dedicated server soon but I’ll be super angry if I have the same issue afterwards.

    My thought is how can it be my host when my main page is fast and others are not?

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.