Query related to redirect from HTTP to HTTPS?

willsonrobin

Member
Joined
Aug 3, 2018
Messages
95
Points
8
One of my friend migrated his website from old domain to new domain few months ago. Now he wants to secure the website and want to migrate from HTTP to HTTPS.

Is it OK to have chain redirection? Does it affect the rankings of the website?
 

Rob Whisonant

Moderator
Joined
May 24, 2016
Messages
2,489
Points
113
What do you mean by chain redirection? Usually you just use modrewrite to redirect all http calls to the equivelent https.
 
I

itarachiu

Guest
Chain redirection? Use this 301 redirect, put the code below in .htaccess file, it will also force to non www domain.
You will need as well to declare in Webmaster Tools for Google and Bing that your domain had some changes, which in your case is HTTP to HTTPS.

RewriteEngine On
RewriteCond %{HTTPS} off [OR]
RewriteCond %{HTTP_HOST} ^www. [NC]
RewriteCond %{HTTP_HOST} ^(?:www.)?(.+)$ [NC]
RewriteRule ^ https://%1%{REQUEST_URI} [L,NE,R=301]
HTTPS sites if you google you will find hundred of SEO gurus articles confirming this but in reality?! Google said as well that HTTPS is a ranking factor...
Personally I experienced this and I didn't see too much, maybe because I'm using HTTPS certificates that are free from cloudflare. Maybe certificates that are not free could help in rankings...
 

jasicajames

New member
Joined
Jun 25, 2019
Messages
2
Points
0
After you migrate from Http to Https you need to apply permanent redirection also known as 301 redirections which is usually done by developers by accessing .htaccess file.
 

vishwa

Well-known member
Joined
May 12, 2014
Messages
1,144
Points
63
You can use 301 Permanent redirections. If you are not a technical person then ask your hosting provider and they will do it for you.
 
Older threads
Replies
14
Views
3,932
Replies
2
Views
1,525
I
Replies
4
Views
4,077
Latest threads
Replies
0
Views
29
Replies
0
Views
31
Replies
1
Views
41
Replies
3
Views
105
Recommended threads
Replies
5
Views
2,006
Replies
0
Views
3,850
Replies
2
Views
1,090
Top