Maintaining WordPress

If you enable SSL for the site (so as to allow "https://..."), add the following line in wp-config.php (before "require_once(ABSPATH . 'wp-settings.php');"  :

  • if ($_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https') $_SERVER['HTTPS']='on';

DNS and VirtualHosts

Since the wildcard SSL certificates are only one subdomain deep, websites need to have A records or CNAME records in the primary DNS zone, and the VirtualHost record should match. Do NOT ServerAlias to www.* because the certificate will fail ONLY on the iPhone.