Wednesday, 3 May 2017

How to Redirect HTTP to HTTPS





To redirect your site from http to https just paste the following code in you existing .htaccess file if does not have .htaccess create it on root folder and past it


RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{SERVER_NAME}/$1 [R,L]




banner
Previous Post
Next Post

0 comments: