Brand Your WordPress Blog’s Database Error Page

Written by in Featured, WordPress - Print This Post



The hardest part for a blogger would be satisfying readers faced with downtime. You have to convince them in a manner they won’t get frustrated and also please them visit again.

Whenever your WordPress has a problem connecting to your database, you can display a custom database error page to your readers. You can make those pages branded so that your blog can still shine during that downtime.

Creating Custom WordPress Database Error Page

1. Open any Text Editor – Notepad or Notepad ++ (Check some alternatives here). Now it’s time to play with your creativity and imagination. Create a creative custom Database error page now, don’t forget to use your blog’s logo there and also some apologies for the downtime.

Also if you have a status blog, ask your readers to check that, so that they can know the cause of the downtime and when your blog will be up again.

2. Save that file as db-error.php.

HBB Custom DB Error

3. Now move this file to your wp-content section. Use FTP Client like Filezilla (check alternatives here) for doing that.

Why wp-content folder? Even if you upgrade WordPress, the contents will be still present there.

4. That’s all, bingo! You can check HBB’s Custom Database Error page using this URL :

http://hellboundbloggers.com/wp-content/db-error.php

Most of us lose our blog readers because of downtime, you can also create a Status Blog for communicating with your readers during that downtime.









HBB RSS
Hello there! If you are new here, you might want to subscribe to the RSS feed for updates on this topic. You will also get instant access to 100+ HBB Guides & Tutorials.
If you wish to subscribe here via Email, then kindly click here.



Editor-in-Chief and Owner of 20 Years Old Kiddo, Open Source Enthusiast, Tech Blogger, Striving Entrepreneur, and a Typical Engineering Student. Addicted to Blogging, Walking and Messing. Catch him on Facebook, Twitter and .


HBB has 666+ Awesome Contributors. [Join HBB].

HellBound Bloggers (HBB) is a part of Slashsquare Network.






20 Responses to “Brand Your WordPress Blog’s Database Error Page”

Leave a Reply


Comments Policy | Brand Your Comments | Do Follow Blog | Top Commentators Award


REFERENCE : 7 Tips To Be A Hero On Blog Commenting [HELPFUL]


Overall HellBound Bloggers (HBB) has 23,573 Genuine Comments and Yours Will Add More Value To It.




Previous Article:

Next Article:

  1. Sidhant says:

    Will the blog be redirected to the db-error page automatically in case of actual database error?

  2. Creating site's database error page is a brilliant idea. However, how do I know if the page shows up when the site is down?

    • Itachi, when your blog is down due to database issues, you won't get the default error page, you will get your custom error page. :)

      You can use the normal web browser to check that.

  3. Nice option…May be we can add up our social media links to redirect people there ,that would be more awesome

  4. Rohit Sane says:

    There is a typo in the word "Administrator" on the DB-error.php page… :P

  5. Awesome…tweak gonna do it for my blog :D Thanks for sharing

  6. Deepanshu says:

    cool man.very intersting :-P

  7. Rohit Batra says:

    its a good alternative as showing branded errors can make users think that we know about the error and are fixing it…

  8. John Murphy says:

    Interesting post that will prove invaluable in making sure an error page is not just the bland default. I've showcased on my scoop.it site

  9. Surely gonna try this on my blog.

  10. Kavya Hari says:

    It's really good package :) Thank you so much for given great post on here :) Keep rocking :)

  11. maneesh says:

    Error page of your website is very very important.As if an error page encounters in front of a visitor ,it may leave the site if that error page doesn't have same look and some interesting information.
    Thatswhy its very important to make your error page informative and interesting.

  12. Satish says:

    awesome dude, can we put a wallpaper here ? :D

  13. Vincent Raja says:

    wow.. its really cool let me do for my blog :)

  14. This is a nice trick. But how exactly does it work ? I guess the file name db-error.php is the key here. Maybe there is some default WordPress function to catch this name during a db error isn't it ?



Subscribe without commenting




COPYRIGHT © 2012 SLASHSQUARE NETWORK. REPRODUCTION WITHOUT EXPLICIT PERMISSION IS PROHIBITED. ALL RIGHTS RESERVED.

Slashsquare
Mobile Version · About Us · Contact Us · Subscription · Advertise · Review · Write For Us · Archives · Privacy Policy · Disclaimer
Loading...
ViperBarUp
ViperBarDown