How to direct WordPress to use SSL and HTTPS Print

  • wordpress, security, ssl
  • 0

How to make WordPress use SSL and HTTPS

  1. Login to your WordPress dashboard and navigate to Settings > General

  2. Change the http:// to https:// in your WordPress Address (URL) and Site Address (UR) fields.

    Change WordPress to use SSL and HTTPS


  3.  Save changes and you're all set!

 

If you’re implementing SSL on your existing WordPress site, you will need to make a change to your .htaccess file as well.

  1. Log in to your site via FTP or cPanel file manager, find the .htaccess file in your main WordPress directory

  2. Add the following code into your .htaccess file

    RewriteEngine On
    RewriteCond %{SERVER_PORT} 80
    RewriteRule ^(.*)$ https://www.yourdomain.com/$1 [R,L]


  3. Replace yourdomain.com with your site’s URL and save changes.


If your site is showing a “partially secure” warning by the browser, which is quite common for WordPress sites using 3rd party SSL certificates. You can use a plugin, such as Really Simple SSL to resolve this.






Was this answer helpful?

« Back