Khurshed Hasan's Profile-Web Developer,SEO adept, Power Transformer

Khurshed Hasan

Description :

HTTP to HTTPS (/ HTTPS to HTTP ) redirect is required to index only one version of a website as Google /search engines consider them separate URLs. (ex. http://khurshed.xyz to https://khurshed.xyz )

Redirect through the .htaccess file

# HTTP to HTTPS redirect set up
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

Leave a Reply

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