Overview
When installing an SSL, you will likely want to automatically redirect your users to the HTTPS version of your website (https://example.com vs http://example.com). If they are not, then it's possible that your site visitors will be navigating your website without actually utilizing your SSL. The following guide will provide guidance on how you can force HTTPS for your domain.
Managed WordPress Ultimate, Pro5, Pro10, Pro25 servers come included with a free Standard SSL for each primary domain. For information on how you can utilize this free option, check out the documentation below:
Before Starting
It's important to remember that before forcing your site to HTTPS you will want an SSL installed on your site. If you require an SSL, below are instructions to how you can purchase an SSL from Media Temple:
Plesk
- Log into the domain control panel in Plesk.
- Click Hosting Settings.
- Ensure that the Permanent SEO-safe 301... option is selected.
- Click Apply to save your changes.
- That's it! Your website should be automatically redirected to https.
cPanel
- Log into the cPanel account for your domain. cPanel account for your domain.
- Click Domains.
- Ensure Force HTTPS redirect is enabled.
- That's it! Your website should be automatically redirected to https.
WordPress
phpMyAdmin
- Log into phpMyAdmin phpMyAdmin phpMyAdmin phpMyAdmin for your domain.
- Select wp_options.
- Click the pencil icon and update both the siteurl and home tables.
- Update http to https. Then click Go save your changes.
- That's it! Your website should be automatically redirected to https.
Plugin
- As an alternative, WordPress users can install a plugin such as Really Simple SSL.
- Do note, some of these plugins require you to have installed an SSL first before they will function fully.
.htaccess
If you have access to your .htaccess file, you can add a simple mod_rewrite rule to add automatically redirect to https. We have a detailed article on the topic located below:
Comments