How to Enable HTTPS / SSL for WordPress Print

  • 1

If you are on WordPress site and want to enable HTTPS everywhere on your website. You can do this by just making a simple edition in WordPress setting.

Go to Settings>>General>> Use “https” instead of “http” to WordPress Address URLs and Site Address URL and save it. It will ensure that all content of a web page will be served over HTTPS.

We recommend installing the Really Simple SSL plugin for WordPress as it will automatically configure everything you need for SSL to work properly.

If you do not want to use a plugin, you can redirect traffic from HTTP HTTPS using .htaccess file, just add the following code and replace “domainname.com” with your active domain name.

# Force HTTPS
<IfModule mod_rewrite.c>
RewriteCond %{HTTPS} !on [OR]
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule (.*) https://www.domainname.com%{REQUEST_URI} [L,R=301]
</IfModule>

Once you enabled HTTPS everywhere, you should use “Why No Padlock” tool to identify insecure elements to avoid mixed content warning message. It will help you to detect insecure elements over the web like images, JavaScript, CSS.


Was this answer helpful?

« Back