How to make Wordpress work with SSL/HTTPS

If you’re adding SSL to your existing site, then you need to move all your Wordpress files from public_html to private_html and setup WordPress SSL redirect from HTTP to HTTPS.


1. First you need to make a copy of your .htaccess and upload it to your private_html folder.

2. Then edit the .htaccess in your private_html folder and you need to make the redirect by adding the following code in your .htaccess file.
Dont forget to change the domain name to your site.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.yoursite.com/$1 [R,L]
</IfModule>

3. Last step is to move all your Wordpress folders and files to the private_html folder.

Was this answer helpful?

 Print this Article

Also Read

How do I addon to my Hosting Package/Plan?

Yes, if you wish to add addtional options or addons to your Hosting account you can do so at all...

How-To prevent people from stealing your files & bandwidth (hotlink)

If you find that people are stealing your files or using your bandwidth tehn you can prevent this...

How can i upgrade or downgrade my Hosting?

Upgrading is a simple procedure from the Client Portal that you can do yourself at anytime. When...

Where is my Hosting Account Info?

When you sign-up for a Hosting account all your Hosting Account information is sent in an email....

How to Redirect Non-WWW to WWW URLs in Joomla

he Problem When Search engines crawl your website they will consider http://bluebirdnet.ca and...

Powered by WHMCompleteSolution