WordPress.org

Ready to get started?Download WordPress

Forums

Slowness + Hostgator + Fresh Install (20 posts)

  1. Jeffrey Cannon
    Member
    Posted 4 years ago #

    I've been having some load time issues with all the WordPress sites on my dedicated server with Hostgator. HTML static sites load fine, but not WordPress ones.

    It's consistently taking 16 seconds to load every WordPress site I have, regardless of plugins and content. I even installed a fresh WP blog at [wp.bwoc.cc] and it's taking 16 seconds from my location and also at another location 300 miles from here.

    Every time I talk to Hostgator they say it loads fine. (Of course, it would, they're closer to the source.)

    I've been checking my sites with [tools.pingdom.com] and it loads the theme stylesheet 16 seconds after it hits the site. For every wordpress site.

    I'm stuck and not really sure how to fix this.

    Any thoughts?

  2. xdesi
    Member
    Posted 4 years ago #

    Yeah you are right it does take a long time.

    Are you saying if you changed that page on that URL to static HTML it would load straight away?

    How about if it has php in, non-wordpress, e.g try a page which just has

    <?php phpinfo(); ?>

    And see how that loads.

  3. Jeffrey Cannon
    Member
    Posted 4 years ago #

    Loaded in 1 second...

    http://wp.bwoc.cc/info/

  4. xdesi
    Member
    Posted 4 years ago #

    Hmm I see very strange... Could you just try changing your index.php in the default theme folder (wp-content/themes/default/index.php) to only this:

    <?php get_header(); get_footer(); ?>

  5. Jeffrey Cannon
    Member
    Posted 4 years ago #

    Done.

    Same load time.

  6. xdesi
    Member
    Posted 4 years ago #

    Hm then it's either a MySQL problem, have you ever run any other MySQL sites without this problem? Then we can discount this.

    Personally I think it could be a standard WP issue maybe, that hopefully someone who walks in here knows about, i'll have a look into it anyhow!

  7. Jeffrey Cannon
    Member
    Posted 4 years ago #

    What would be something that I could set up with MySQL that would give us the information we need?

    I've never really done anything from scratch. I've always used pre-packaged setups for my websites.

  8. xdesi
    Member
    Posted 4 years ago #

    Hm i'm not too sure you could install something like Joomla, but that would take too long.

    Just try changing index.php to <?php get_footer(); ?> only for a moment!

  9. Jeffrey Cannon
    Member
    Posted 4 years ago #

    Done.

    Still 16 seconds.

  10. xdesi
    Member
    Posted 4 years ago #

    OK you may change it back.

    Bit of a stab in the dark but delete the .htaccess file (you should find one in the wordpress root)

  11. Jeffrey Cannon
    Member
    Posted 4 years ago #

    There's not one.

    It usually shows up if I change the settings for the permalinks, but since it's a fresh install I didn't.

  12. xdesi
    Member
    Posted 4 years ago #

    If it were me i'd install another Blog Platoform just to test out MySQL.

  13. Jeffrey Cannon
    Member
    Posted 4 years ago #

    I installed SilverStripe and it seems to be doing just fine.

    http://wp.bwoc.cc/silver/

    Should I try another one?

  14. xdesi
    Member
    Posted 4 years ago #

    Have you fixed the problem? it's running smooth now!

  15. Jeffrey Cannon
    Member
    Posted 4 years ago #

    No, it's still running slow.

    WordPress is slow and SilverStripe is fast.

    I assume that means MySQL is doing fine.

    Is there anything else to rule out or try?

  16. Jeffrey Cannon
    Member
    Posted 4 years ago #

    Something to note...

    I've noticed when I type in the URL, hit enter, click the url and hit enter again (basically refresh the page before it loads), it loads faster.

    Not sure if that gives any clue as to why it loads slow on the first time and not on the second time, but it's a trick I've found to view the site faster.

    Still doesn't help everyone else who waits for it to load the first time.

  17. xdesi
    Member
    Posted 4 years ago #

    Strange it seems to be taking a long time to connect on it's first instance.

    I'm only limited in the help that I can offer, other than to suggest testing in order to isolate the issue! What I personally would do:

    1. Try installing an older version of wordpress. List of all previous releases can be found here.

    2. Look for some DB logs, possibly in your hostgator cPanel, in order to get details on the issue, post these up if you can find them as they could prove to be very helpful..

    3. Contact hostgator support again, as they should offer very good 24/7 support and also post a new topic on here and hope a WP guru walks in on it!

  18. kilpatrick
    Member
    Posted 4 years ago #

    Did you ever get an answer to this ? I have found my site to load faster after the first load.

  19. lookoo
    Member
    Posted 4 years ago #

    I have the same problem, but only using FireFox web browser. With Opera works fine for me.

  20. norton
    Member
    Posted 3 years ago #

    I got the same issue. Everytime I load a wordpress website for the first time it takes up to 10 seconds ...no matter what plugins, javascripts or database-queries in the header or on the site.
    After the first load it's running much faster (normal).

Topic Closed

This topic has been closed to new replies.

About this Topic