Transfering Site from Http to HTTPS
-
Migrating all of our pages from HTTP to HTTPS. I am listing few of my concerns regarding the same:
- Currently, all HTTPS traffic to our Homepage and SEO page is 301 Redirected to HTTP equivalent. So, when we enable HTTPS on all our pages and 301 all HTTP traffic to HTTPS and stop current 301 Redirection to HTTP, will it still cause a loop during Google crawl due to old indexing?
- Will we move whole SEO facing site to HTTPS at once or will it be in phases? Which of the two approach is better keeping SEO in mind?
- what all SEO changes will be required on all pages.(eg. Canonical URLs on our website as well as affiliate websites), sitemaps etc.
-
Where the issue becomes more complex, is if you add CloudFlare to your site for DDoS protection, to serve up from closer towers, etc. Many sites who want to load faster or avoid attack are doing so. We have thus incurred a redirect issue to work through and it takes some technical expertise. Because CloudFlare is a third party for SSL certificates in many hosting packages, this seems to catch many off-guard and wondering what went wrong.
If helpful, we have had greater success buying our own CloudFlare service versus letting a hosting provider be an affiliate service for our SSL.
-
Hi Robin,
I just went through this and here is my $0.02...
1. You will need to basically reverse your 301 redirect, so that http redirects to https, instead of how you have it set now. This should be no problem, just update .htaccess and reverse it. If you are using Wordpress, you'll need to set your site URL in the general settings tab and go verify all the permalinks update to https. You won't get a redirect chain unless you have http pointing to https and then https pointing back to http. Just use one 301, and you should be fine.
2. I would move the whole thing at once. It'll be a lot simpler than trying to segregate which pages are http and which are https.
3. You won't need canonicals because of the 301. Google will see that you are permanently redirecting all your pages to https. Another likely canonical situation; if you have another website using an article that you published first, and they are pointing to the same article on your website as the canonical, it'll hit the redirect and not split the link juice.
4. The tracking URL's won't change, and you can verify this by logging in to Analytics and Search Console. The one thing you'll need to do in Search Console is "add a property" for the https:// and the https://www versions of your website. You'll then need to make sure you have the preferred domain selected. Then you can resubmit your sitemap.xml files and you should be good to go.
I hope this helps
-
Hey.
No, it's not a new property. No need in my opinion. Let's see if others see otherwise, but I never do this.
For the first - It won't cause a loop. Just make sure to set all links to https. If you run WP - install a plugin called something like "simply http to https" if you don't have the coding skills or a dev team to handle the migration properly. It's a clean solution.
Cheers
-
Can u answer me little more deeply and technically about the first point with I had asked. Since I'm not having a clear idea with it.
Also in google analytics, should I add the new https url under Admin>Property Settings?
-
Hey there,
1. Google won't be affected, no worries.
2. I'd recommend moving the whole thing.
3. All you need to do is make sure that all internal links (from / toold posts/categories/etc) will now be set to https so they don't redirect from http to https.
4. GA code remains
5. No. Just tell G to reindex when you're ready.
Good luck!
-
Also please explain what all things to do with Google Analytics and Google Webmasters.
1. Google Analytics Tracking code will remains the same?
2. Need to submit the new https version URL on google webmasters?
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Resolving 301 Redirect Chains from Different URL Versions (http, https, www, non-www)
Hi all, Our website has undergone both a redesign (with new URLs) and a migration to HTTPS in recent years. I'm having difficulties ensuring all URLs redirect to the correct version all the while preventing redirect chains. Right now everything is redirecting to the correct version but it usually takes up to two redirects to make this happen. See below for an example. How do I go about addressing this, or is this not even something I should concern myself with? Redirects (2) <colgroup><col width="123"><col width="302"></colgroup>
Technical SEO | | theyoungfirm
| Redirect Type | URL |
| | http://www.theyoungfirm.com/blog/2009/index.html 301 | https://theyoungfirm.com/blog/2009/index.html 301 | https://theyoungfirm.com/blog/ | This code below was what we added to our htaccess file. Prior to adding this, the various subdomain versions (www, non-www, http, etc.) were not redirecting properly. But ever since we added it, it's now created these additional URLs (see bolded URL above) as a middle step before resolving to the correct URL. RewriteEngine on RewriteCond %{HTTP_HOST} ^www.(.*)$ [NC] RewriteRule ^(.*)$ https://%1/$1 [R=301,L] RewriteCond %{HTTPS} !on RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L] Your feedback is much appreciated. Thanks in advance for your help. Sincerely, Bethany0 -
301 Redirecting http to https
In the Moz Site Crawl issue, I was seeing an error that said we were temporarily redirecting our homepage to https URLs. So I changed the code in htaccess to make it 301 redirect but I'm still getting the same error. I implemented it last week and we just had a new crawl yesterday. Here is the new code: RewriteEngine on
Technical SEO | | Heydarian
RewriteCond %{HTTP_HOST} ^heritagelawmarketing.com [NC]
RewriteRule ^(.*)$ http://www.heritagelawmarketing.com/$1 [L,R=301,NC] Does anyone know why I'm still getting 302 redirects? Thanks0 -
Off-site company blog linking to company site or blog incorporated into the company site?
Kind of a SEO newbie, so be gentle. I'm a beginner content strategist at a small design firm. Currently, I'm working with a client on a website redesign. Their current website is a single page dud with a page authority of 5. The client has a word press blog with a solid URL name, a domain authority of 100 and page authority of 30. My question is this: would it be better for my client from an SEO perspective to: Re-skin their existing blog and link to the new company website with it, hopefully passing on some of its "Google Juice,"or... Create a new blog on their new website (and maybe do a 301 redirect from the old blog)? Or are there better options that I'm not thinking of? Thanks for whatever help you can give a newbie. I just want to take good care of my client.
Technical SEO | | TheKatzMeow0 -
HTML Site for Speed
I have a few small sites and landing pages on Wordpress that I want to load a lot quicker than they do. It occurred to me that if there is not a lot of content management necessary, I should simply make the static web pages straight html instead of trying all the modifications necessary to get some Wordpress sites and themes to load quicker. I have noticed the html sites I have load lighting fast on slow hosting service. Is this a good idea, can anyone think of drawbacks to it? Security? Responsiveness? SEO? And what about taking some company's sites with blog straight html so the home page loads quick, and then using Wordpress for the blog?
Technical SEO | | phogan0 -
How About Moving My Site to Another Domain?
My website has been hit by a Google Penguin penalty. At this point, it seems very few websites have recovered from this penalty even after it was lifted. That said, I'm still wondering if I should start a new website or my current one to another domain. When I started my website, I registered the domain name http://www.thewebhostinghero.com A few years later, I bought webhostinghero.com as it became available. Actually, webhostinghero.com redirects traffic to thewebhostinghero.com at the registrar level. There are barely any links pointing to webhostinghero.com. TheWebHostingHero.com is quite a big website with over 1400 pages and some very useful tools (http://www.thewebhostinghero.com/free-tools) that took me so long to develop, I just can't believe I'd have to throw it all out the window. So that said, do you think it would be possible to move all or some of the content from thewebhostinghero.com to webhostinghero.com? Would that make sense? Would webhostinghero.com come out as a copy of thewebhostinghero.com since the domain is similar, etc.? Of course, moving the content from thewebhostinghero.com to webhostinghero.com would have to be done without any 301/302 redirects to avoid passing bad link juice. At the same time, I don't want to end up with duplicate content on both domains.
Technical SEO | | sbrault740 -
Redirecting the .com of our site
Hey guys, A company I consult for has a different site for its users depending on the geography. Example: When a visitor goes to www.company.com if the user is from the EU, it gets redirected to http://eu.company.com If the user is from the US, it goes to http://us.company.com And so on. I have two questions: Does having a redirect on the .com will influence rankings on each specific sub-site? I suspect it will affect the .com since it will simply not get indexed but not sure if affects the sub domains. The content on this sub-sites are not different (I´m still trying to figure out why they are using the sub-domains). Will they get penalized for duplicate content? Thanks!
Technical SEO | | FDSConsulting0 -
Https enabled site with seo issues
Hello, Is there a problem with seo bots etc to crawl and rank my wesbite well if the entire site is https enabled? We have a sign in button which results on the next page being https along with the main homepage and all other pages are https enabled. Any major setbacks to the seo strategies? How do I overcome these issues?
Technical SEO | | shanky10 -
Will 301 redirecting a site multiple times still preserve the original site value?
Hi, All! If site www.abc.com was already 301 redirected to site www.def.com, and now the site owner wants to redirect www.def.com to www.ghi.com - is there any concern that it's not going to work, and some of the original linkjuice, rank, trust, etc. is going to vanish? Or as long as the 301s are set up right, should you be able to 301 indefinitely? Does anyone have any experience with actually doing this and seeing good/bad/neutral results? Thanks in advance! -Aviva B
Technical SEO | | debi_zyx0