• I have been having this problem for sometime now. My homepage doesn’t load, whereas, the other pages do. Sometimes the homepage just doesn’t load and there is no error message. Sometimes I would get the 500 internal server error.

    Some of the steps I have taken at various points in time-
    a) renamed the old htaccess file to some other name.
    b) deleted the file home.html that appeared from nowhere
    c) resaved WP Rocket settings and the permalinks without changing anything in either of these

    A lot of times doing one or both of a) and c) helped. Needless to say deleting home.html also helped.

    But then the problem would re-occur. I then thought the revolution slider plugin may have something to do with it or it may not be working fine with WP Rocket. This was just a thought without any specific information. So I created a new homepage and used ‘Image Carousel’ instead of the revolution slider plugin. The homepage worked fine for a couple of days and the problem re-occurred.

    Now the strangest part is if I set the inbuilt standard wordpress/ woocommerce ‘Shop’ page as homepage then I never face loading issue.

    Will someone please throw some light on this? From various forums and support requests I could figure out the actionables mentioned in points a), b) & c). Now I am clueless.

Viewing 8 replies - 1 through 8 (of 8 total)
  • hello dk,

    did you check home page url in database and wp-config.php file?

    this is the starting point.

    please try that, the issue when moving a site is in general tons of urls in old .htaccess file too (in root of web server).

    and i add that, .htaccess is in general a hidden file, you need to edit it carefully with regex (301 and so to redirect like myolsite.com/category to mynewsite.com/category with regex)

    Thread Starter DSketch

    (@dsketch)

    How do I check the home page url in database? If this were wrong then the homepage shouldn’t open in the first place, am i wrong here?

    I didn’t quite get the second comment. .htaccess is regenerated by itself. I am not editing it.

    @ds

    1) homepage url is done when you write it in dashboard > settings > reading

    2) if something went wrong, this is not written well in db

    3) phpmyadmin allows to check that, if well written in database, for example

    4) i know it looks strange like that, but .htacess file is also generated by WP

    Thread Starter DSketch

    (@dsketch)

    Thanks. Could you tell me how to look up the link in phpmyadmin?

    Thread Starter DSketch

    (@dsketch)

    Thanks. Could you tell me how to look up the link in phpmyadmin?

    Thread Starter DSketch

    (@dsketch)

    I looked up wp_options in phpmyadmin. There are two fields that mention the site url. These fields are ‘home’ and ‘site_url’. Both the fields have the same link, that is, my sites address: http://www.lockkaro.in. Does either one of them supposed to contain the address of the home/ front page that is set under Woocommerce>settings>reading?

    @dsketch

    sorry for late reply,
    yes these are the same, and supposed to point to root of your site.

    Anyways on a fresh setup, woocommerce will use it as base and normally don’t need specific custom url. It mainly adds functions, cart so on to the whole site, any category or tag for example.

    All that to say IF both WP general settings > reading and the woocommerce settings have exactly same url, also in db, it shouldn’t hurt nothing (even angry birds or pinguins around).

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Homepage doesn't load’ is closed to new replies.