Title: wp-db.php customize
Last modified: August 18, 2016

---

# wp-db.php customize

 *  [bluehorse](https://wordpress.org/support/users/bluehorse/)
 * (@bluehorse)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/wp-dbphp-customize/)
 * Does anyone know how to set the error communicating with database page(wp-db.
   php) to automatically re-direct to the index page to try again?
 * So if there is a problem with the Database it keeps trying.

Viewing 10 replies - 1 through 10 (of 10 total)

 *  [whooami](https://wordpress.org/support/users/whooami/)
 * (@whooami)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/wp-dbphp-customize/#post-415765)
 * it tries every time the page is loaded, what more do you want?
 * I mean, I know what you want, but why?
 *  Thread Starter [bluehorse](https://wordpress.org/support/users/bluehorse/)
 * (@bluehorse)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/wp-dbphp-customize/#post-415766)
 * I’ve tried adding
 * <head>
    <meta http-equiv=”refresh” content=”0;url=http://www.nameofsite.com/blog/
   index.php”> </head>
 * to wp-db.php, but it killed it. The regular page kept refreshing over and over.
 *  [whooami](https://wordpress.org/support/users/whooami/)
 * (@whooami)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/wp-dbphp-customize/#post-415768)
 * it killed it because its a dumb idea. No offense but it is. In all sincerity,
   if you have that many issues with your host that you need to do that — you need
   to worry about finding a new host, not writing something like that.
 *  Thread Starter [bluehorse](https://wordpress.org/support/users/bluehorse/)
 * (@bluehorse)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/wp-dbphp-customize/#post-415771)
 * My database take a bit of a battering. with the number of sites I use it for 
   so it’s a bit hit and miss when my blog tries to connect. so a method of having
   the site reapetedly try would be great.
 *  [whooami](https://wordpress.org/support/users/whooami/)
 * (@whooami)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/wp-dbphp-customize/#post-415772)
 * your box? spend some money on ram. problem solved! 🙂
 *  Thread Starter [bluehorse](https://wordpress.org/support/users/bluehorse/)
 * (@bluehorse)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/wp-dbphp-customize/#post-415773)
 * not my box, my hosts. 🙁
    I wish it was mine.
 *  Thread Starter [bluehorse](https://wordpress.org/support/users/bluehorse/)
 * (@bluehorse)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/wp-dbphp-customize/#post-415774)
 * What about a bit of Javascript or is that another dumb idea?
 *  [Samuel B](https://wordpress.org/support/users/samboll/)
 * (@samboll)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/wp-dbphp-customize/#post-415775)
 * If you’re getting 404 or 401 or 500, etc. errors, you can redirect them to the
   index page with .htaccess rules.
 *  Thread Starter [bluehorse](https://wordpress.org/support/users/bluehorse/)
 * (@bluehorse)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/wp-dbphp-customize/#post-415777)
 * I’ve decided I’m going to make a custom database error page with a refresh link.
   Thanks for all the help. Back to work I go. 🙂
 *  [Samuel B](https://wordpress.org/support/users/samboll/)
 * (@samboll)
 * [19 years, 11 months ago](https://wordpress.org/support/topic/wp-dbphp-customize/#post-415786)
 * Check out my error page:
    [http://www.comeuphither.com/blog/fred](http://www.comeuphither.com/blog/fred)
   Of course “fred” doesn’t exist.

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘wp-db.php customize’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 10 replies
 * 3 participants
 * Last reply from: [Samuel B](https://wordpress.org/support/users/samboll/)
 * Last activity: [19 years, 11 months ago](https://wordpress.org/support/topic/wp-dbphp-customize/#post-415786)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
