it tries every time the page is loaded, what more do you want?
I mean, I know what you want, but why?
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.
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.
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.
your box? spend some money on ram. problem solved! 🙂
not my box, my hosts. 🙁
I wish it was mine.
What about a bit of Javascript or is that another dumb idea?
If you’re getting 404 or 401 or 500, etc. errors, you can redirect them to the index page with .htaccess rules.
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. 🙂
Check out my error page:
http://www.comeuphither.com/blog/fred
Of course “fred” doesn’t exist.