What are the steps to move a HTTP site to HTTPS?

Harry P

Well-known member
Registered
Joined
Feb 3, 2015
Messages
447
Points
28
I have a site with decent traffic and getting good traffic from Google, around 6000 pages. I want to move it to HTTPS because i heard google will give good rankings to https sites.
My question is what are steps to move a HTTP site to HTTPS without losing rankings and traffic?
 

VirtuBox

Well-known member
Registered
Joined
May 3, 2016
Messages
1,622
Points
83
You have only to make sure there are a redirection 301 from http to https.
With Apache :

Code:
[COLOR=#000000][FONT=Menlo]RewriteEngine On[/FONT][/COLOR]
[COLOR=#000000][FONT=Menlo]RewriteCond %{HTTPS} off[/FONT][/COLOR]
[COLOR=#000000][FONT=Menlo]RewriteRule (.*) https://%{SERVER_NAME}/$1 [R,L][/FONT][/COLOR]
With Nginx :

Code:
	server {	listen 80;
	server_name yourdomain.com;
	return 301 https://yourdomain.com$request_uri;
}
 

Harry P

Well-known member
Registered
Joined
Feb 3, 2015
Messages
447
Points
28
Is is a redirecting method to move to https from http. So, how to have https on my site URL. what server do you recommend me to use? including free and paid SSL services.
 

Lampard

Active member
Hosting Provider
Registered
Joined
Jan 28, 2017
Messages
81
Points
8
You will not actually lose the traffic if you redirect your website from http to https. However in the first reply, it is already mentioned the way of redirecting by editing .htaccess
For FREE SSL Service, the only SSL i can recommend you is Lets Encrypt SSL.
For paid SSL service, it actually depends how big your company is, investing on a expensive SSL is not a good choice if company is not that big, Comodo cheapest SSL will work.
 

HostingWaves

Member
Registered
Joined
Jan 16, 2017
Messages
53
Points
0
to redirect site from http to https, you can do it from .htaccess but sometimes, sub pages sometimes don't redirect, in that case you will need to change all site links from http to https. This issue mostly occurs with wordpress. So you need to replace entries in database as well as files.
 

Lampard

Active member
Hosting Provider
Registered
Joined
Jan 28, 2017
Messages
81
Points
8
Lampard
It is better to do not edit .htaccess if you are using Wordpress, it is always better to use a good plugin to force SSL, editing .htaccess of Wordpress can change some important configurations.
 

HostBastic

Well-known member
Hosting Provider
Registered
Joined
Nov 17, 2016
Messages
320
Points
28
Its easier to do a cPanel HTTPS redirect or just use the .htaccess file and add 3 lines, than install a whole new plugin. However lets not forget to mention that some end users are not as tech-savy or are afraid of code editing and prefer an automated plug'n'play solution, those SSL plugins are the perfect fit for such users.
 
Older Threads
Replies
23
Views
7,432
Replies
10
Views
9,809
Replies
14
Views
7,741
Latest Threads
Replies
2
Views
60
Replies
2
Views
54
Replies
2
Views
111
Replies
4
Views
274

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top