WordPress

Why New Domain Keeps Forwarding to Old Domain [Solution]

After changing a domain name and updating the DNS records you might find yourself baffled by the fact that the site continues to redirect to the old domain. You may be frustrated as you have seemingly tried everything. Likely, you are dealing with a WordPress site. With a WordPress website, references to the domain name… Read more Why New Domain Keeps Forwarding to Old Domain [Solution]

[SOLVED] ERROR mysqli_real_connect(): (HY000/2002): No such file or directory

If you are getting a wordpress error that starts with “mysqli_real_connect(): (HY000/2002):” and includes “No such file or directory” and ends with “wp-includes/wp-db.php on line 1490”, then here is what resolved the issue for me. In the wp-config.php file, include (or change) this line from define(‘DB_HOST’, ‘localhost’); to define(‘DB_HOST’, ‘127.0.0.1’); I put it near the… Read more [SOLVED] ERROR mysqli_real_connect(): (HY000/2002): No such file or directory

Import WordPress Database from Staging Server to Local Development Server

You may be working with a WordPress project and wish to use SVN to have a development instance, a staging instance, a local development instance and of course a production instance of the web site. This could prove to be problematic in keeping track of your data base instances. WordPress stores the root URL (http://website.com)… Read more Import WordPress Database from Staging Server to Local Development Server