• 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: https://www.matricellc.com

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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.

    https://stackoverflow.com/questions/1975904/htaccess-to-redirect-all-traffic-to-one-page-410-gone

    Thread Starter TabyP

    (@tabyp)

    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.

    Thread Starter TabyP

    (@tabyp)

    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).

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Custom 404 HTML page for when WP is down’ is closed to new replies.