Ready to get started?Download WordPress


Custom 404 HTML page for when WP is down (4 posts)

  1. TabyP
    Posted 1 year ago #

    I was wondering if it's possible at all having a 404 HTML page for when WP has problems or it's down or it's not available. If so, what do I do so that the HTML 404 page is used ONLY when WP is down and not for every instance?

    Ex. At the moment I am using Thesis 2.0 and it has its own 404 custom page which is useful for a "not found" page. But let's say that there is a problem with the database or else and WP is not accessible at all (I guess I'm talking about errors 500, 301, etc.). How do I redirect to my own HTML page in that instance?

    I am really desperate to find an answer, if there is one.

    Website: http://www.matricellc.com

  2. mrbrant
    Posted 1 year ago #

    You can use a .htaccess redirect to send all traffic from your website to a specific static page. But it would have no way of knowing that your website was having problems, you would have to manually invoke the redirect.


  3. TabyP
    Posted 1 year ago #

    Yeah we thought about the .htaccess redirect for each error but I was wondering if it's possible at all to have the website redirect to the html page ONLY when WordPress is not available for some reason.

  4. TabyP
    Posted 1 year ago #

    The 410 gone doesn't work for us. It's used for content which is gone and with no "real" redirect. I just need a static page to display in case of database connection error and others (EXCLUDING THE NOT FOUND 404 ERROR which is handled by Thesis).

Topic Closed

This topic has been closed to new replies.

About this Topic