Moving to https
-
Hi all and thanks for taking the time to read my question.
We are going to migrate a very small website from http to https, its a roughly 9 page site with 5 of those being product pages.
I figured I would have to set a canonical and permanent 301 redirects for each page.
But our tech guys suggested just doing a binding to https so any traffic hitting our site with a http url would automatically get redirected to the https version.
So if someone land on http://mydomain, it would automatically return https://mydomain
Does this sound correct or would we need to do additional tasks even if we go down the binding route?thanks again for looking.
-
Here's the step-by-step right and easy way:
-
1. Sign-up for Google Webmaster Tools and create individual sites for 4 variants of your website:
-
http non-www
-
http www
-
https non-www
-
https www
-
2. Set the preferred domain among the above four.
-
3. Add an canonical URL for all pages for either https://www. or https://.., whichever you choose.
-
4. Add 301 redirect from http:// to https:// via htaccess using mod_rewrite.
-
5. Use Google Webmaster Tools "Fetch as Google", under "Crawl" in your http:// sites to confirm that http://.. gets redirected and optionally submit those redirects to be indexed by Google (just to make sure).
-
6. Build and submit a sitemap for your preferred domain site (one of the https://..) via Google Webmaster Tools.
-
7. Optionally, connect your Google Analytics property with your preferred domain site in Google Webmaster Tools.
-
-
This sounds odd to me - in my experience, if you want to load one page by a server sends you another, that's a redirect. It doesn't matter how the technology works on the server side as long as the initial URL returns a 301 before the server returns a different page.
It's possible that you and your tech guys aren't really talking about different things, you're just coming at it from different angles. Could you ask them to implement the solution they're suggesting, then use http://httpstatus.io/ to test an http:// URL to see what server code it returns? That might be a good way to communicate what you're looking for. The important thing here is to stress that your tech guys can code the server however they want, as long as it has the right output (301 redirects).
And, of course, use canonicals.
-
I would suggest migrating the whole site, and 301 redirecting all the http pages to the https versions. Without a proper redirect you risk the possibility of losing any link juice that would be directed at that page. A canonical should technically cover that, but the hard 301 leaves no room for robot interpretation.
Also, why leave the http version when you have a secure version available?
-
We have been considering switching to https as well, what are the pros and cons of doing this that you have heard on your end?
Make sure you have proper redirects as well.
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
-
How to resolve warning of pages with redirect chain when its your http:// to https://www.
how do I write a 301 redirect in the htaccess file so that http:// goes straight to https://www. Moz replyEli profileHey there!Thanks for reaching out to us!
Technical SEO | | VelocityWebsites0 -
Huge increase in links to your site when moving to SSL
Hi My client has 2 websites that after moving them to SSL the number of links to your site in the search console increased in 10s of thousands. What can be the reasons?
Technical SEO | | digital19740 -
Moving from a subdomain to subfolder
Hello, I am currently working on a site that is leveraging multiple subdomains. I wanted to see if it suggested to migrate them into subfolders. One of the subdomains is a .shop and the other is location specific. Thanks, T
Technical SEO | | Tucker_100 -
Can I Block https URLs using Host directive in robots.txt?
Hello Moz Community, Recently, I have found that Google bots has started crawling HTTPs urls of my website which is increasing the number of duplicate pages at our website. Instead of creating a separate robots.txt file for https version of my website, can I use Host directive in the robots.txt to suggest Google bots which is the original version of the website. Host: http://www.example.com I was wondering if this method will work and suggest Google bots that HTTPs URLs are the mirror of this website. Thanks for all of the great responses! Regards,
Technical SEO | | TJC.co.uk
Ramendra0 -
SEO best practice : HTTP to HTTPS
What's the best practice to switch from an all HTTP site to an all HTTPS site ?
Technical SEO | | Crocodesign
No changes to the site structure, just a full site switch to SSL.
Right now, the site is reachable with HTTP and with HTTPS. http://crocodesign.be --> https://crocodesign.be
http://www.crocodesign.be --> https://crocodesign.be
https://www.crocodesign.be --> https://crocodesign.be CMS : Wordpress 3.9
Server type : Apache
Preferred method : .htaccess0 -
How can I get Google to forget an https version of one page on my site?
Google mysteriously decided to index the broken, https version of one page on my company's site (we have a cert for the site, but this page is not designed to be served over https and the CSS doesn't load). The page already has many incoming links to the http version, and it has a canonical URL with http. I resubmitted it on http with webmaster tools. Is there anything else I could do?
Technical SEO | | BostonWright0 -
Moving image directory location on redesign.
I'm getting ready to do a redesign for a client and one thing that annoys me about the directory structure of the website is that he has files buried deep in the directories. For example, the images are buried like four folders deep in some cases and I would like to move all of those images into an images folder directly below the root. All of those images, however, have already been indexed by google and show up in google images. If I start moving those images around, could it hurt his rankings?
Technical SEO | | ScottMcPherson0 -
How do https pages affect indexing?
Our site involves e-commerce transactions that we want users to be able to complete via javascript popup/overlay boxes. in order to make the credit card form secure, we need the referring page to be secure, so we are considering making the entire site secure so all of our site links wiould be https. (PayPal works this way.) Do you think this will negatively impact whether Google and other search engines are able to index our pages?
Technical SEO | | seozeelot0