问题原文
原帖链接 · Locke · CC BY-SA 3.0
We will be trying to add SSL to our website pretty soon , in the demo server we achieve everything perfect, the thing now is not to loose the traffic.
With Google Analytics we are able to change HTTP to HTTPS, but in Webmaster Tools is quite confusing trying to change or add another domain with https.
I check this post from @CP30 , https://webmasters.stackexchange.com/a/90829/61395
Sound very logic to do that, but what are the steps? before adding the ssl , should we add a https domain to webmaster tools and then Follow the steps above?
What else do you suggest we can do before we change everything?
已采纳解答
原帖链接 · Shivbhadrasinh Gohil · CC BY-SA 4.0
Referring to the @CP3O's Answer in the linked question, Here's the sequence you should follow:
- Make the HTTPs website live to the domain.
- Redirect
HTTP robots.txttoHTTPS robots.txt. - Place a new
HTTPS sitemapin therobots.txt, and remove theHTTP sitemapURL fromrobots.txt. - Make sure that the old
HTTP sitemapwas intact, and made sure it was still existing in ourHTTP propertyin the Search Console. - Change all canonical URLs to
HTTPS. - Make sure all
301 redirectswere in order and a one to one mapping was intact for allHTTP -> HTTPS. - Submit a New
HTTPS Propertyin Search Console - Submit the new
HTTPS sitemapin theHTTPS propertyin the Search Console. - Make sure the
HTTPS sitemapwas the only sitemap being updated with new URLs. (Stopped adding new URLs to theHTTP sitemapafter the redirects.)
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
