From the Blog

How To: Fix Uncaught Error: Call to undefined function mysql_connect() in /wp-includes/wp-db.php

How To: Fix Uncaught Error: Call to undefined function mysql_connect() in /wp-includes/wp-db.php

If you see something like this error in your logs it means your WordPress site is calling a deprecated function: According to the PHP Manual: WarningThis extension was deprecated in PHP 5.5.0, and it was removed in PHP 7.0.0. Instead, the MySQLi or PDO_MySQL extension should be used. See also MySQL: choosing an API guide and related FAQ for more information. Alternatives to […]

Continue Reading

How To: Force Robots.txt and Sitemap.xml over HTTPS:// on WP Engine

How To: Force Robots.txt and Sitemap.xml over HTTPS:// on WP Engine

If you’re on WP Engine and are not routing through Cloudflare or a similar proxy that can force static files to HTTPS://, you may notice that a request to http://domain.com/robots.txt or http://domain.com/sitemap.xml won’t redirect to HTTPS:// (or many other static files). They will both still load with HTTPS:// if specifically requested with that protocol – […]

Continue Reading