Results 1 to 2 of 2
-
08-06-2011, 04:43 PM #1Junior Guru Wannabe
- Join Date
- Jan 2008
- Posts
- 77
Wordpress: Error Establishing Database Connection 503 Instead Of 500
Hi,
I did a test to see what HTTP header Wordpress would use when MYSQL fails .. it's 500.
What do I have to change to redirect traffic to a 503 site when MYSQL fails, so that Google will crawl the website later .. again instead of delisting the site
Thanks
OliverRLTT.com is for SALE Realtime Technologies is the way to go !
-
08-06-2011, 04:47 PM #2Junior Guru Wannabe
- Join Date
- Jan 2008
- Posts
- 77
Figured it out!
Open up includes/functions.php and go to line 3284
Change status_header( 500 );
to
status_header( 503 );
Gives me a 503 error now .. much better!RLTT.com is for SALE Realtime Technologies is the way to go !
Similar Threads
-
DATABASE ERROR: CONNECTION FAILED!
By p-root in forum Hosting Security and TechnologyReplies: 9Last Post: 09-22-2010, 08:25 AM -
MediaTemple (gs) service at fault: 500 error or too slow DB connection
By Master Bo in forum Providers and Network Outages and UpdatesReplies: 4Last Post: 07-09-2009, 12:17 PM -
500 Internal Server Error on wordpress and some other script!!!
By koolnhot in forum Hosting Security and TechnologyReplies: 6Last Post: 07-05-2009, 12:23 PM -
Wordpress Upgrade - Help with database error
By grandad in forum Hosting Security and TechnologyReplies: 16Last Post: 03-26-2008, 05:18 PM -
Error establishing a database connection
By hardjoko in forum Hosting Security and TechnologyReplies: 5Last Post: 03-10-2007, 12:25 PM