WLTC

Mark’ Brain Dump

Custom WordPress database error pages

Mark General

Custom WordPress database error pages: This is an interesting article on how to setup WordPress to display custom database error pages and even send out an email to the owner of the blog in case of database failure.

This means that should your database fail, and someone would open your front page at example.com, he would be served that error page with a 200 OK header. If that someone were a search engine, that’s what it would index… If the search engine encounters a 500 error, it will not index that page and just wait for your server to be fixed again. That means not making sure it sends a 500 header is a huge risk.

Leave a comment!



Message



WLTC © 2007.

Simple Grey theme developed by Rodrigo P. Ghedin.

WordPressFAMFAMFAM