Knowledge Base Archives: SSL certificate

Excluding/including SSL on specific pages Redirect rules SSL certificate

AutoSSL Let’s Encrypt plugin cannot verify domain because of .htaccess 301 redirect

I recently came across an issue where the AutoSSL let’s encrypt plugin can’t verify the domain. Strange though it may seem, this tool needs to access the website over http to renew the SSL certificate. A solution can be to disable the .htaccess redirect, renew, then enable again, but this is not a very elegant …

Guides SSL certificate

How to install an SSL certificate on localhost / MAMP

If you do development on your own machine, then deploy to production, and you have an SSL certificate on your site, it is usefull to have SSL on your localhost environment.  This guide will take you through all the necessary steps to get a working certificate on localhost. The instructions are based on macOS Sierra 10.12.5, using MAMP …

Excluding/including SSL on specific pages Redirect rules SSL certificate

Preventing subdomains or add on domains from getting forced to https

If you have several subdomains, or add-on domains, but do not use WordPress Multisite, you’ll need a way to prevent Really Simple SSL from forwarding all subdomains to https. That is, if these subdomains do not have an SSL certificate of course. 1. Go to Really simple ssl settings and check Stop editing the .htaccess …

SSL certificate

SSL working on desktop, but not on mobile (android) devices

If the SSL certificate on your site works fine on desktop but gives an error on mobile devices (specifically Android):  this certificate isn’t from a trusted authority, there is probably an issue with your SSL certificate chain. To check this, run an SSL check here: https://www.ssllabs.com/ssltest If one of the results is This server’s certificate …

Redirect rules SSL certificate

Redirect non www to www or www to non www domains in .htaccess

Google encourages to “avoid landing page redirects”. But in case of SSL, this recommendation may conflict with SSL best practices. At the same time, 1 or 2 redirects, as long as they are 301 permanent, are not harmfull at all. Let me explain. Why is there a double redirect in my site? WordPress internally redirects …