Https redirection

Step1: Install ssl certificate in server

Step2: Activate the ssl using plugin or code

Step3: Update the .htaccess file

RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://site url /$1 [R=301,L]

Example

RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://www.vicarageboutiquehotel.co.uk/$1 [R=301,L]

 

Step4: Implement 301 redirections of images ,files and all pages

Step5: Tested the mixed content  issue

Step6: Tested  the database and files in http static urls change

 

Leave a Reply

Your email address will not be published. Required fields are marked *