How to Enable SSL in the WordPress Dashboard

and published
enable ssl in wordpress

In this week’s short tutorial we will be covering how to change the default site address in WordPress by either the WP dashboard or in phpMyAdmin so that your site works correctly over a SSL connection. Please note that it does not cover mixed content issues or enforcing SSL using your .htaccess file.

Enable SSL in the WordPress Dashboard

  1. Login to WordPress as an administrator
  2. On the left hand side, hover over settings and then click General
  3. Change these options:
    1. WordPress Address (URL) to https://www.example.com
    2. Site Address (URL) to https://www.example.com
    You will need to replace example.com with the actual name of your domain
  4. Finally Click Save Changes

Your WordPress setup should now update the internal permalinks of both pages and assets. If you are getting mixed content warnings then you need to dig deeper, possibly in the content or the design of your WP theme.

Enable SSL in the WP via phpMyAdmin

When changing the site address via the WordPress dashboard it can sometimes break the site, especially when securing the connection between your host and Cloudflare but forgetting to change Cloudflare Crypto settings to FULL (strict).

Follow these easy steps to change your site address to either HTTP or HTTPS within phpMyAdmin:

  1. Login to phpMyAdmin as an administrator
  2. On the left hand side click the database that your WordPress is setup to use
  3. The database should have expanded, revealing lots of DB tables, look for prefix_options and click it
  4. The content within the middle should now change to the content of the selected table, finally look for the following:
    1. Option_name: siteurl
      • Change the option value from HTTP to HTTPS or vice versa
    2. Opition_name: home
      • Change the option value from HTTP to HTTPS or vice versa

WordPress SSL and Mixed Content

If you are getting mixed content warnings then what this means is some of your theme assets or on page resources are loading over HTTP:// and not HTTPS. To get rid of the warning you should look through your template design files and the page content, e.g images, javascript, css and fonts etc.

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>