Migrating Website from HTTP to HTTPS

戏子无情 提交于 2019-12-12 17:36:02

问题


I have to migrate a website from HTTP to HTTPS and keep user experience unchanged (no warning popups). What would be the front end main points to be verified?

I realized I have to make sure all inclusions (CSS, images and JS) have to reference https content, but I'm still not sure about the a(link) href attribute and if there's anything I'm missing.


回答1:


How to migrate to HTTPS is an excellent migration howto. The steps are:

  1. Get and install certificates
  2. Enable HTTPS on your servers
  3. Make intra-site URLs relative
  4. Redirect HTTP to HTTPS
  5. Turn on strict transport security and secure cookies

Between step 3 and step 4, run through Qualys' best practices and test your site.




回答2:


Updated Feb 02, 2016

Planning on moving to HTTPS? Here are 13 FAQs! visit https://plus.google.com/+JohnMueller/posts/PY1xCWbeDVC

I done of my website and works perfectly (it depends on the size of your site). My site is local business indexed (2,xxx) on google 1. No effect on SEO Ranking 2. No effect on link juice




回答3:


Related links will ref to https automatically. All absolute links have to ref to https, unless you configure your htaccess file to redirect all http traffic to https.



来源:https://stackoverflow.com/questions/18209944/migrating-website-from-http-to-https

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!