customize wordpress database error page

This works fine for me as db-error.php in wp-content: Delete the mailer block if you don’t want it <?php header(‘HTTP/1.1 503 Service Temporarily Unavailable’); ?> <?php $to = “[email protected]”; $subject = “My Database is down”; $message = “My Database is down”; $headers = “MIME-Version: 1.0\n”; $headers .= “Content-type: text/plain; charset=iso-8859-1\n”; $headers .= “X-Mailer: php\n”; $headers … Read more

How to clear user’s browser cache after publishing a new post?

There are kind of two levels to browsing caching: Browser is provided with explicit information when page expires via response headers or 304 Not Modified response. Browser kind of assumes that page was loaded very recently and is still good for a while. Respectively there are two possible things going wrong: Your server is replying … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)