Problem With Solutions

Something Different In Linux

Home » Posts tagged 'http to https'

If you want to redirect all the URLs from http to https then add the following rules in .htaccess files OR Redirect from http://domain.com/anything to https://domain.com/anything For Example : Redirect  from http://indianwebportal.com/anything to https://www.indianwebportal.com/anything ================================= RewriteEngine On RewriteCond %{SERVER_PORT} 80 RewriteCond %{REQUEST_URI} / RewriteRule ^(.*)$ https://www.bestdesigns.co.in/blog/$1 [R,L] =================================

Redirection from http to https

Posted by Rishikesh Vispute Categories: How to, htaccess

How to Redirect from http to https URL. If the ssl is installed on the server and you want to all the request redirected to https then you need to add the folloing code in .htaccess file. ============================ RewriteEngine on Options +FollowSymLinks RewriteCond %{SERVER_PORT} !^443$ RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R] ============================ or ============================ RewriteEngine on Options  [ Read More ]

Optimized by SEO Ultimate