HTTPS website migration and internal links
-
Hey Moz!
I read Moz's guide on migrating websites from http to https, and it seems changing all relative internal links to absolute https is recommended (we currently use relative internal links). But is doing this absolutely necessary if we will already have a redirect in our .htaccess file forcing all http pages to https?
Changing all of our internal links to absolute https will be very time consuming, and I'd like to hear your thoughts as to whether it's absolutely recommended/necessary; and if so, why?
Thanks!
-
I didn't think so, but wanted to double check.
Regarding redirects, will I have to change old 301 redirects in our .htaccess file that are setup for individual pages from http to https? Or will the site wide redirect take care of this?
Thanks!
-
As far as I know - no, they dont' support it yet (weird, I know). It does say it here: https://support.google.com/webmasters/answer/83106?hl=en
Note: The tool does not currently support the following kinds of site moves: subdomain name changes, protocol changes (from HTTP to HTTPS), or path-only changes.
-
Another question just popped into my head!
Does the Google WMT "Change of Address" tool still not support https?
-
Thanks for the info!
Does anyone else have experience with the issues I raised above? I'd love to hear other peoples thoughts too.
-
Yes, i believe so.
-
I honestly can't remember, as I started the research months ago and the project had to be put on hold.
I do know that Moz recommends the following: "Make sure every element of your website uses HTTPS, including widgets, java script, CSS files, images and your content delivery network."
Will the redirect I posted above take care of this?
-
Yeah, it looks right to me. Can you send me articles where you found people recommending absolute links for https?
-
Hey Dmitrii,
Thanks for the response...you seem to be everywhere in the Q&A!
As far as I understand the redirect below would make it impossible for users to reach our http website, which means we wouldn't have to change our relative internal links, correct? Keep in mind, the rewrite below may look a bit different since our website uses a load balancer.
RewriteEngine On
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteRule ^(.*)$ https://www.jwsuretybonds.com$1 [R=301,L]
-
Hi there.
No it's not necessary at all. The reason it's recommended sometimes is that, basically, to eliminate potential extra redirects from http to https. But this would happen only if page you're currently on is not https. So, my thought is that as long as you make sure that there is no way to get to your http website (make sure that it's always redirected to https), you won't have any extra redirects.
From my personal experience: it depends also on hosting servers you use. If they are very slow or you have gigantic htaccess files or something in that spirit, then yes, couple extra redirects to secure version of your website can slowdown page loading on your website. But in modern world it's very rare. So, from dozens of https clients and my own websites I haven't seen any bad-bad experience with relative internal links.
Hope this helps.
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
-
Rankings drop after https migration [Need urgent help]
hey hi guys, i have lost all my organic traffic and in need of urgent help. Plz i need all your SEO expertise. My website is: makemoneyadultcontent.com (before judging me, let me tell you that i have been in adult industry for almost 7 years now and hence this blog was a way to pass my knowledge to everyone who is looking for it) Recently i saw that moving to HTTPS will benefit my site. I did not knew much about technical details of moving to https. My hosting was on siteground, and they have a button which you can press and your website will then be served through https. So i did that. Nothing else was done. this was done on 13th or 14th of june For the next few weeks here is my analytics (image attached) : As you can see the traffic fluctuated and finally i lost everything on 29th june. When i researched more, i found out that you need to follow many steps in order to move to HTTPS. So i followed this guide and completed all the steps: https://www.keycdn.com/blog/http-to-https/ (also checked many other guides and tried to complete all the steps mentioned) Everyone said that the rankings will recover in one week, but now it has been more than 17 days and still the rankings have not improved. My articles are indexed as i can see it using site:makemoneyadultcontent.com but none of them are ranking for the keywords that i was ranking earlier. i have submitted the sitemap in google webmaster and around 166 (out of 218) pages are indexed. Here are few more images to help my case: plz plz help me what i can do to get my website traffic back. i have spent a lot of time and effort in building this site, cant see it die a slow death like this one. 8Wa8c [http ahref](http ahref) D42xw sAd9E
Intermediate & Advanced SEO | | akki910 -
Client rebranded with a new website but can't migrate now defunct franchise website to new website.
Hi everyone, My client is a chain of franchised restaurants with a local domain website named after the franchise. The franchise exited the market while the client stayed and built its own brand with a separate website. The franchise website (which is extremely popular) will be shut down soon but the client will not be able to redirect the franchise website to the new website for legal reasons. What can I do to ensure that we start ranking immediately for the franchise keyphrase as soon as the franchise website is shutdown. We currently have the new website and access to the old website (which we can't redirect) Thanks, T
Intermediate & Advanced SEO | | Tarek_Lel0 -
Internal Links - Dofollow or Nofollow and why?
Hey there Mozzers, I am a question about internal links. If I am writing a article about something and want to link to another one of my articles inside my blog, do i have to make that link nofollow or dofollow? If possible tell me why also. Thanks in advance
Intermediate & Advanced SEO | | Angelos_Savvaidis0 -
Website URL Structure - keyword targeting on homepage vs internal pages
I have developed a few websites before where the homepage contains the content for the keywords I was targeting. This has been reasonably successful as I have found it easy enough to get links to the homepage. I am considering a new site in a totally different industry that I am thinking about structuring like this: mybrand.com (not necessarily targeting any keywords) mybrand.com/important-keyword-1/ (definitely want to target) mybrand.com/important-keyword-2 (equally important as 1st keyword) There will be several (30-ish) other pages targeting keywords but they are not as significant as the two mentioned above, more so they are about publishing informative information. The two important keywords are quite different but industry related. My questions are: should I be careful targeting keywords away from the homepage when the homepage gets the most links? Would I be better off building 2 different websites where the keyword content is captured in the homepage? Thanks,
Intermediate & Advanced SEO | | BGu0 -
Shell we provide dofollow outbound links from our website?
Hello, I am little confused about providing dofollow links from our website. We have a social shopping website where users can create catalog of their favorite products by bookmarking them from other websites, so our website might have thousands of outbound links. Now the confusion is whether we should have these links "nofollow" or "dofollow"? As per my understanding dofollow links will pass juice to other websites but on the other hand it might benefit us as well, sellers might come and bookmark their products for getting dofollow links. I read somewhere that if we have quality outbound links around a topic, google treats us as hub for that topic. But I am not clear if we will get this advantage only when these links are dofollow? Please help.
Intermediate & Advanced SEO | | saurabh19050 -
Same website, seperate subfolders or separete websites? 12 stores in two cities
I have a situation where there are 12 stores in separate suburbs across two cities. Currently the chain store has one eCommerce website. So I could keep the one website with all the attendant link building benefits of one domain. I would keep a separate webpage for each store with address details to assist with some Local SEO. But (1) each store has slightly different inventory and (2) I would like to garner the (Local) SEO benefits of being in a searchers suburb. So I'm wondering if I should go down the subfolder route with each store having its own eCommerce store and blog eg example.com/suburb? This is sort of what Apple does (albeit with countries) and is used as a best practice for international SEO (according to a moz seminar I watched awhile back). Or I could go down the separate eCommerce website domain track? However I feel that is too much effort for not much extra return. Any thoughts? Thanks, Bruce.
Intermediate & Advanced SEO | | BruceMcG0 -
How should I handle these links?
I recently purchased a site which is in the same niche as my personal blog. MANY of the keywords which I want both sites to rank for, they are already ranking well for (Eg I rank #1 with one site and #5 for the other). I haven't started linking the two sites to each other yet (waiting to announce the acquisition before I do). I have 2 questions for you all... How powerful do you think linking between these sites could be? How do you think I should handle the linking between these two sites?
Intermediate & Advanced SEO | | PedroAndJobu0 -
Site Wide Internal Navigation links
Hello all, All our category pages www.pitchcare.com/shop are linked to from every product page via the sidebar navigation. Which results in every category page having over 1700 links with the same anchor text. I have noticed that the category pages dont appear to be ranked when they most definately should be. For example http://www.pitchcare.com/shop/moss-control/index.html is not ranked for the term "moss control" instead another of our deeper pages is ranked on page 1. Reading a previous SEO MOZ article · Excessive Internal Anchor Text Linking / Manipulation Can Trip An Automated Penalty on Google
Intermediate & Advanced SEO | | toddyC
I recently had my second run-in with a penalty at Google that appears to punish sites for excessive internal linking with "optimized" (or "keyword stuffed anchor text") links. When the links were removed (in both cases, they were found in the footer of the website sitewide), the rankings were restored immediately following Google's next crawl, indicating a fully automated filter (rather than a manual penalty requiring a re-consideration request). Do you think we may have triggered a penalty? If so what would be the best way to tackle this? Could we add no follows on the product pages? Cheers Todd0