0

WordPress Custom Error PageIf you’re running WordPress 2.3.2 or later, there is a new feature that allows you to to specify an error page for those times when your Database is not available. This often happens when there is a huge spike of traffic from Digg or some other social networking site, and it leaves visitors staring at an ugly WordPress database error message.

Well, no error page will take the place of having your actual site online, but you can at least try to make things a little better for your visitors, and I thought one way would be to give em’ a few videos to check out while the server was unavailable.

If you are running WordPress and want to create your own custom DB error page, here is all you need to do:

  1. Download this text file: db-error.txt
  2. Rename the document to db-error.php.
  3. Finally, FTP it to your server and place it directly in the /wp-content/ directory.

That’s it! Of course, if you know HTML you can feel free to modify it. I would suggest perhaps providing links to your MySpace, LinkedIn or other Web pages so that you can re-route your traffic to your other sites during an outage.

Now, if you want to see a sample of what you just created, you can check it out here: http://onemansblog.com/wp-content/db-error.php

DeliciousStumbleUponDiggTwitterMixxTechnoratiFacebookNews VineRedditLinkedInYahoo! BookmarksSphinn It!Hyves
Tags: ,

Related posts

  1. Clean Up Your WordPress 2.3+ Database after Ultimate Tag WarriorThis post is for a very select group of people. Namely, bloggers who have been using WordPress since before version...
  2. WP Super Cache Speeds Up WordPress BlogsDonncha O’Caoimh, one of WordPress’ lead developers spent the last few weeks working on a brand new plugin called WP...
  3. Sorry About Site Slowness Once AgainThree weeks ago I thanked everyone for their patience after a rough couple of days following a flood of traffic...
  4. How to Survive a Good Slashdotting or DiGGingOn Thursday February 8 one of my recently posted articles was Dugg and then proceeded to almost immediately go viral....
  5. Quick Site UpdateJust a quick note to let everyone know that the site has been partially migrated to the new server. That...
  6. Tutorial: What To Do When WordPress Auto-Update FailsI don’t know about the rest of you, but I’ve experienced many instances where the Auto-update feature in WordPress fails...
  7. WordPress’ Newest Data CenterFor those of you who don’t know Barry, he’s the mastermind behind the infrastructure that powers WordPress and all of...