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

Are Google Fonts Illegal? (GDPR)

Are Google Fonts Illegal? (GDPR)

You may have heard that serving Google Fonts on your website can constitute a GDPR violation. The issue was first popularized on the Google Fonts Github Repo. Asad Khan who originally asked the question added a note that can’t be restated enough: IMPORTANT Please refrain from adding opinions that may further add to the already […]

Continue Reading