The MU forums have moved to WordPress.org

Blogs slow to load (6 posts)

  1. Maedi
    Member
    Posted 17 years ago #

    Hi

    On my WPMU site, the blogs are really slow to load. It seemed to happen after I was editing the wp-admin.css file, but I think that was just a coincidence.

    Follow the Blog links on the left menu of this page to see what I mean:
    http://sourdough.net.au/

    Thanks

    My two htaccess files:
    ------------
    RewriteEngine On
    RewriteBase /

    # Rewrite http://www.domain.com to domain.com
    RewriteCond %{HTTP_HOST} ^www\.(.*)
    RewriteRule ^(.*) http://%1/$1 [R,L]

    # force a trailing slash for dirs
    RewriteRule !\..{2,4}$ - [C]
    RewriteCond %{REQUEST_URI} !^.*/$
    RewriteRule ^(.+)$ /$1/ [R=301,L]

    # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]*)/?files/(.*) /wp-inst/wp-content/blogs.php?file=$2 [L]

    # subdirectory passthru
    RewriteRule !^subdir - [C]
    RewriteRule ^(.*) /wp-inst/$1 [L]

    -----------
    htaccess file located in wp-inst/ directory:
    ----
    RewriteEngine Off

    <Files wp-content/blogs>
    ForceType application/x-httpd-php
    </Files>

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress
    ------------------

  2. drmike
    Member
    Posted 17 years ago #

    Loads in under a second for me on a pair of OC-192s. Would help us help you if you gave us information about your own setup, both your server and what you are using yourself.

    Here's my own .htaccess files:

    root

    RewriteEngine On
    RewriteBase /

    # Rewrite http://www.domain.com to domain.com
    RewriteCond %{HTTP_HOST} ^www\.(.*)
    RewriteRule ^(.*) http://%1/$1 [R,L]

    #uploaded files
    RewriteRule ^google(.*).html google3eef57005ee47ac4.html
    RewriteRule ^sitemap.xml wp-content/blogs.php?file=sitemap.xml [L]
    RewriteRule ^(.*)?/?files/(.*) wp-content/blogs.php?file=$2 [L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule . - [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]

    I don't have a wp-inst directory and am wondering why you have one.

  3. honewatson
    Member
    Posted 17 years ago #

    Is your server based in Australia. Sometimes the servers there can be quite a lot slower.

  4. matrixmonkey
    Member
    Posted 17 years ago #

    have you tried it from another machine
    i spent well over a week trying to sort my "slow" blog out and then when at a friends i tried his net and it was fine

  5. drmike
    Member
    Posted 17 years ago #

    Is your server based in Australia. Sometimes the servers there can be quite a lot slower.

    That's probably more the connection than the servers.

  6. honewatson
    Member
    Posted 17 years ago #

    I'm based in Australia and so the connection should be faster for me.

    A while back I pinged multiple top Aussie based hosts and then pinged multiple top US hosts. The US hosts were much faster across the board.

About this Topic

  • Started 17 years ago by Maedi
  • Latest reply from honewatson