Error establishing a database connection change text in wordpress

Find best Web Development tips and Tricks.
Post Reply
arnlweb
Site Admin
Posts: 95
Joined: Wed Jun 22, 2016 1:28 pm
Location: India
Contact:

Error establishing a database connection change text in wordpress

Post by arnlweb » Tue Aug 23, 2016 8:20 am

"Error establishing a database connection" change text in wordpress.

Open wp-includes folder find functions.php

and change this code...

Code: Select all

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"<?php if ( is_rtl() ) echo ' dir="rtl"'; ?>>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title><?php _e( 'Database Error' ); ?></title>

</head>
<body>
	<h1><?php _e( 'Error establishing a database connection' ); ?></h1>
</body>
</html>

Post Reply