So you bought an SSL certificate to secure your site. Now what?
Now that you have an SSL certificate, you have access to the secure https version of your site. The extra ‘s’ at the end of https means that the site is secured by an SSL certificate. However, the non-secure http version of your site is still available for visitors to land on. Your next step after adding an SSL certificate to your domain is to decide what happens to the visitors who try to visit the non-secure version of your site.
You are given three options: block all traffic, reroute traffic to the secure version of the site, or allow visitors to access the non-secure version of the site.
|Redirect to https://domain.com||All traffic to the http version of the site will be redirected to the https version of the site|
|Block access to the http:// site||All traffic will be blocked from visiting the http version of the site. They will receive an error if they try.|
|Display the site normally||All traffic will be able to view the http version of the site|
How you make this change can vary depending on your hosting type . So you need to first identify which section best describes your hosting package:
NOTE: If you have a WordPress site on a non-WP Hosting account (not WP Enthusiast or WP Professional), you should follow the steps in the Non-Wordpress Hosting section, then go to the WordPress Hosting section and follow the instructions in sections: Updating Your WordPress Database Links and Updating a WordPress Address URL.
Once you have done this, navigate to that section and read about the next steps you should be taking.
After you have added an SSL certificate, it will automatically be installed on your domain. There are two steps to take after this automatic installation has taken place:
- Choose a display option for the non-SSL version of your site
- Make sure any links are updated
Changing the Non-SSL Site Display Options for Non-WordPress Hosting
- Log in to the ACC
- Click Domains in the left sidebar
- Click Manage Your Domain Names in the drop-down
- Click the name of the domain whose display options you want to change
- Find the Change Non-SSL Site Display Option button and click it
- Next to When accessing [domain URL], click the box and select your preferred option:
- Redirect to https://domain.com
- Block access to the http:// site
- Display the site normally
- Click the Update button
If you have any absolute links in your site’s code, they should be updated from http to https. For more information about absolute links, check out our explanation of Relative and Absolute links.
Changing the Non-SSL Display Options for WordPress Hosting
If you have a WP Enthusiast or WP Professional hosting account, you follow these steps to make changes to how visitors are treated on the non-secure http version of your site.
Changing the Non-SSL Site Display Options for WordPress Hosting
- Log in to the ACC
- Click WordPress in the left sidebar
- Click Manage Domains in the drop-down
- Click on the URL of your domain in the Domain column
- Scroll down to the Non-SSL Site Display Option section
- Next to When accessing http://domain.com: click the box and select the display option you prefer
- Click Update directly underneath the display options box
Updating Your WordPress Database Links
We also recommend updating all links in your database to https. This can be accomplished by using a plugin, like Velvet Blues, or via the wp-cli command line tool.
It is important that you do not modify any https links in the guid column. The Velvet Blues plugin automatically marks the guid column as unalterable.
Updating WordPress Address URL
If you use WordPress via a pairSIM installation or have internal links on your WordPress site using http instead of https, you should update the site address within the WordPress editor.
To do this, you need to change the WordPress Address URL and Site Address URL from http to https. You can do this easily by following these steps:
- Log into your WordPress account
- At the bottom of the left sidebar, click Settings
- Click General
- In the boxes next to WordPress Address (URL) and Site Address (URL), add a ‘s’ to ‘http’