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
-
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 -
Desktop in http and mobile in https
Any experience or advice you can share of having a mix set of pages/urls in one site/domain https and http e.g. mobile in https and desktop in http , (desktop version) http://mydomain/product1 (mobile version)https://m.mydomain.com/product1 att the same time some mobile pages still in http://m.mydomain.com/sectionA/ thanks
Technical SEO | | arnoldcr0 -
Changed site to https now GWT and analytics - do I Know have to re-add it
Hi had the previous version (wordpress) site in GWT working just fine - now everything seems to have stopped. Do I have to treat this as an entirely new site and now add a new account for the https version? Many thanks,
Technical SEO | | AndreavanEugen0 -
Google Plus One button and https migration
I have a site that has gotten quite a few google +1's. I am currently migrating to https for the site and it seems I will lose all the +1's? Per the documentation it seems I can set the URL to the normal http://, but that would then allow ppl to continue +'ing the old url. Is there a way around this? Thanks!
Technical SEO | | plahpoy0 -
Http vs https: which is better for seo / usability
Hi All, Firstly thank you for taking the time to look. My dilemma is as follows; I have a site on wordpress that I have added an ssl certificate to and the entire domain is secure. The site has a mix of content including a blog area and product pages. My question is what does Google prefer, http or https or does it not matter As i see it my option is to keep the entire site as https and enforce this sitewide so all non secure content redirects to the https version or i could enforce https just in the cart and or product pages, all other content, homepage, blog, about us, contact us etc would be http. From an seo perspective ie google search engine, is their a best way to proceed? Finally, as i currently have http and https both displaying ie duplicate, what would be the way to fix this, i have yoast plugin so can set the canonical there and can also edit my robot.txt. I have come across this resource (http://www.creare.co.uk/http-vs-https-duplicate-content) and am wondering if this guideline is still correct or is there another more current way, if so I would be grateful if you could point me in the right direction. thanks in advance.
Technical SEO | | Renford_Nelson0 -
Moving from a .com to .co.uk
I need to migrate a wordpress site from domainname.com to domainname.co.uk. If I just put a 301 on every page on the .com will that cover it? Would it make sense to go and change all the backlinks/profile links to the new .co.uk site or doesn't it matter if you have a 301 redirect on it? Thanks
Technical SEO | | littlesthobo0 -
Help! Need advice for a new HTTPS URL!
Hi. We have just launched a new website that is fully secure with the HTTPS url. You can still access the home page with an ordinary HTTP address. That is what we want to change. Should we forward the HTTP url to the HTTPS? Redirect? It is the same URL for both. http://www.parrotmoon.com Thank you for all ideas! Jay
Technical SEO | | theideapeople0 -
If a redirecting URL has more value than the website should I move it?
Client has two website addresses: Website A is a redirect to Website B. It has one indexed page. But this is the URL being used in collateral. It has the majority of back links, and citations everywhere list Website A as the URL. Website B is where the actual website lives. Google recognizes and indexes the 80+ pages. This website has very few backlinks going to it. This setup does not seem good for SEO. Moreover, the analytics data is completely messed up because Website B shows that the biggest referral source is... you guessed it Website A. I'm thinking going forward, I should: Move all the content from Website B to Website A. Setup Website B to permanently 301 Redirect to Website A. Is that the best course of action?
Technical SEO | | flowsimple0