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
-
Google Sites website https://www.opcfitness.com/ title NOT GOOD FOR SEO
We set up a website https://www.opcfitness.com/home on google sites. but google sites page title not good for SEO. How to fix it?
Technical SEO | | ahislop5740 -
Landing pages showing up as HTTPS when we haven't made the switch
Hi Moz Community, Recently our tech team has been taking steps to switch our site from http to https. The tech team has looked at all SEO redirect requirements and we're confident about this switch, we're not planning to roll anything out until a month from now. However, I recently noticed a few https versions of our landing pages showing up in search. We haven't pushed any changes out to production yet so this shouldn't be happening. Not all of the landing pages are https, only a select few and I can't see a pattern. This is messing up our GA and Search Console tracking since we haven't fully set up https tracking yet because we were not expecting some of these pages to change. HTTPS has always been supported on our site but never indexed so it's never shown up in the search results. I looked at our current site and it looks like landing page canonicals are already pointing to their https version, this may be the problem. Anyone have any other ideas?
Technical SEO | | znotes0 -
Google Webmaster Tools is saying "Sitemap contains urls which are blocked by robots.txt" after Https move...
Hi Everyone, I really don't see anything wrong with our robots.txt file after our https move that just happened, but Google says all URLs are blocked. The only change I know we need to make is changing the sitemap url to https. Anything you all see wrong with this robots.txt file? robots.txt This file is to prevent the crawling and indexing of certain parts of your site by web crawlers and spiders run by sites like Yahoo! and Google. By telling these "robots" where not to go on your site, you save bandwidth and server resources. This file will be ignored unless it is at the root of your host: Used: http://example.com/robots.txt Ignored: http://example.com/site/robots.txt For more information about the robots.txt standard, see: http://www.robotstxt.org/wc/robots.html For syntax checking, see: http://www.sxw.org.uk/computing/robots/check.html Website Sitemap Sitemap: http://www.bestpricenutrition.com/sitemap.xml Crawlers Setup User-agent: * Allowable Index Allow: /*?p=
Technical SEO | | vetofunk
Allow: /index.php/blog/
Allow: /catalog/seo_sitemap/category/ Directories Disallow: /404/
Disallow: /app/
Disallow: /cgi-bin/
Disallow: /downloader/
Disallow: /includes/
Disallow: /lib/
Disallow: /magento/
Disallow: /pkginfo/
Disallow: /report/
Disallow: /stats/
Disallow: /var/ Paths (clean URLs) Disallow: /index.php/
Disallow: /catalog/product_compare/
Disallow: /catalog/category/view/
Disallow: /catalog/product/view/
Disallow: /catalogsearch/
Disallow: /checkout/
Disallow: /control/
Disallow: /contacts/
Disallow: /customer/
Disallow: /customize/
Disallow: /newsletter/
Disallow: /poll/
Disallow: /review/
Disallow: /sendfriend/
Disallow: /tag/
Disallow: /wishlist/
Disallow: /aitmanufacturers/index/view/
Disallow: /blog/tag/
Disallow: /advancedreviews/abuse/reportajax/
Disallow: /advancedreviews/ajaxproduct/
Disallow: /advancedreviews/proscons/checkbyproscons/
Disallow: /catalog/product/gallery/
Disallow: /productquestions/index/ajaxform/ Files Disallow: /cron.php
Disallow: /cron.sh
Disallow: /error_log
Disallow: /install.php
Disallow: /LICENSE.html
Disallow: /LICENSE.txt
Disallow: /LICENSE_AFL.txt
Disallow: /STATUS.txt Paths (no clean URLs) Disallow: /.php$
Disallow: /?SID=
disallow: /?cat=
disallow: /?price=
disallow: /?flavor=
disallow: /?dir=
disallow: /?mode=
disallow: /?list=
disallow: /?limit=5
disallow: /?limit=10
disallow: /?limit=15
disallow: /?limit=20
disallow: /*?limit=250 -
Multi Domain SSL Certs re HTTPS migration
Hi How important is it that when migrating sites to HTTPS they have their own SSL certificates as opposed to choosing the much cheaper multi domain certificate options such as: https://www.namecheap.com/security/ssl-certificates/comodo/ev-multi-domain.aspx I have been told really should have 1 certificate per domain and people generally unsure about multi domain certsificates ? All Best Dan
Technical SEO | | Dan-Lawrence0 -
What needs to be done to tell google my site has moved /changed
Hi everyone, I have a site, which I have re-built on a temporary domain, so that my main ecommerce site can still run.. I have noticed that google has already crawled my temporary domain. The only problem is I now want to transfer the new site back onto its proper domain (www.ourbrand.com). I have changed some of the URL structures of the new site so realize I will need to do re-directs relating to the same domain, but will google get confused that another domain used to have my new website on? I don't plan on using the old temporary domain again and wondered if I need to tell google in some way it was used just to build my site on? Michelle
Technical SEO | | nutjobshell0 -
Will Moving to a Different Country Hosting Affect my SEO?
Hello Mozzers, I have a website with the country specific TLD. It's very new (less than a month old) and already started ranking for the main target term (It's #5 as I write this). It's a somewhat exact match domain. Right now I am on shared hosting and the way in which the site is growing, I think I might need to move to a VPS soon. Right now, I pay extra and chose a shared hosting in my own country. But VPS in my country is very costly. I'd get twice the features if I go with a US hosting provider for the same price. If I move to a new VPS outside of my country, would it affect my rankings? What do you think? Thanks.
Technical SEO | | jombay0 -
Removing an Old Address Company Moved
Hi there we have a new client who moved their offices. They have created many new listings but they still have some old listings out there that need to be deleted with the old address. And also update some old listings with the new address. Question, what would be the approach for this? Use a third party like Yext? Is there something cheaper than $400 per client? Or do it myself? I already started running into issues, the Yahoo wouldn't let me claim it, I can foresee some issues. For example I am sure Citygrid will do what they have done to other client.Trying to upsale my client instead of just changing their address when they call to verify. PS How many hours would you allot for a project like this? Thanks for the input.
Technical SEO | | greenhornet770 -
SEO problems from moving from several pages to one accordian
Ive read other posts that say using accordion is not detrimental to SEO, and for conversion optimization we want to take several of our existing pages and make them into one accordion. But what will this do to seo and duplicate content as I redirect the old pages to anchors in the accordion? I would think this would be a dup content problem as www.oldinfo1 www.oldinfo2 will now have their content on the same page but I will be redirecting them to www.newpage#oldinfo1 www.newpage#oldinfo2 Is there a way around duplicate content problems?
Technical SEO | | JohnBerger0