Redirect your blog to a secure URL

In order to successfully redirect your blog to a secure URL, you’ll need to go through several steps.

STEP 1

1. Log into your WordPress site and/or blog.

2. Click on Settings followed by the General drop down option.

secure-redirect-2

3. Replace ‘http://’ with ‘https://’ in the WordPress Address (URL) and Site Address (URL) tabs.

Change

secure-redirect-6
To

secure-redirect-7

Note – If the WordPress Address (URL) and Site Address (URL) are using your temporary CMD URL then please change it so it uses your domain.

Example – Change

http://name12345.c4.cmdwebsites.com/blog

To

https://mydomain.com/blog

4. Click the Save Changes button.

STEP 2

WARNING: You must complete (step 1) before creating a redirect or you may have problems.

WARNING: You should test your blog in https:// mode before creating a redirect. (See ‘TESTING’ below)

If you want your blog to automatically switch from http:// to https://, you can do one of the following:

OPTION 1

Create or change the .htaccess file in your blog directory. Add the below to .htaccess:

RewriteCond %{HTTPS} off
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L]

Note: Below is an example what your .htaccess might look like:

# BEGIN WordPress

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /blog/

RewriteCond %{HTTPS} off
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L]

RewriteRule ^index.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /blog/index.php [L]
</IfModule>

# END WordPress

OPTION 2

1. Login to your CMS
2. Click the drop-down menu on your name.
3. Click ‘Secure Redirect’
4. Make sure the ‘Blog Redirect’ box is checked
5. Click the ‘Save’ button

Note: This option may take up to an hour to start redirecting.

Once the blog has been successfully redirected to the secure URL, make sure you update any links on your website to reflect the new address with https://.

TESTING

To test your site in secure mode, just go to the address bar and type https:// and your domain name.

When testing your website and blog in https://, the browser should show a green padlock in the browser’s address bar. If you are in secure mode, https://, and the browser is not showing a green lock, then your web site may have unsecure references. This may occur if you have links to unsecure images or unsecure third party widgets. You can usually correct this by finding the unsecure item and changing the http:// to https://.

If at anytime you require assistance, email our support team who are there to help.