• Hi,

    Since my website is having an intermittent 500 error page, and I’m still in the middle of figuring out how to fix it, I thought I could put a custom page as so to tell the visitor that refreshing the page would resolve the error.

    Well of course, I’ve tried google for answers but it seems that 401,403,404 errors are the ones that currently has answers.

    Any help would be appreciated!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator cubecolour

    (@numeeja)

    WordPress cannot show a custom error page for a server error (500) due to the nature of the error. Instead you can create a .html or PHP page, independent of WordPress.

    Some hosting companies have a folder outside the website’s root folder which you can put custom error pages into.

    Thread Starter bcastillo

    (@bcastillo)

    Thanks for the insight cubecolour-senpai

    But can you please elaborate on how I can do that? I have access to the root through cPanel. I guess I might have to change/add something to the .htaccess docs(?)

    I’m quite a greenhorn in this area.

    Moderator cubecolour

    (@numeeja)

    This will rely on your hosting company making this feature available – if this can be done on your hosting package there would probably be an option labelled ‘error pages’ or something similar on your hosting control panel, but if you don’t see that it may be worth asking them if this is available.

    Thread Starter bcastillo

    (@bcastillo)

    oh right. Thanks for the heads up!

    Cheers!

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

The topic ‘Custom 500 error page’ is closed to new replies.