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
-
Switching from Http to Https, but what about images and image link juice?
Hi Ya'll. I'm transitioning our http version website to https. Important question: Do images have to have 301 redirects? If so, how and where? Please send me a link or explain best practices. Best, Shawn
Intermediate & Advanced SEO | | Shawn1241 -
Migration Strategy
Hi guys, Just want to check on this site migration strategy. Basically we have an Australian based ecommerce site which is going to launch globally. The company has two site. One is (http://www.domainUS.com – for US market) and one is Australian based (http://www.domain.com.au). Basically the plan is to have one single global .com site (like ASOS.com) on a new domain which would be domain.com and put both the current http://www.domainUS.com (US VERSION) and http://www.domain.com.au (AUSTRALIAN VERSION) on the new domain: domain.com (global) To make it even more complicated the new global domain (domain.com) is in the process of being purchased (someone else has the domain) and won’t be available till January 2016. But the company wants to execute the new global setup in November 2015 temporary on the .com.au version The current migration plan is to create two different sub-folders one for US e.g. http:www.domain.com.au/us and one for AUD http://www.domain.com/au on the current domain Australian domain.com.au for the global launch in November 2015. Then once domain.com is ready in January 2016, then migrate to domain.com with the countries as sub-folder (as shown below in stage 3). I was wondering if you guys think this would be an ideal migration strategy given the circumstances. Link to screenshot of current migration strategy: http://c714091.r91.cf2.rackcdn.com/4c2aae21dcbd548f27d96840227b81bc6b8b00c592.png Any advice would be very much appreciated! Cheers, Chris
Intermediate & Advanced SEO | | jayoliverwright0 -
301 Externally Linked, But Non-Producing Pages, To Productive Pages Needing Links?
I'm working on a site that has some non-productive pages without much of an upside potential, but that are linked-to externally. The site also has some productive pages, light in external links, in a somewhat related topic. What do you think of 301ing the non-productive pages with links to the productive pages without links in order to give them more external link love? Would it make much of a difference? Thanks... Darcy
Intermediate & Advanced SEO | | 945010 -
Internal links to preferential pages
Hi all, I have question about internal linking and canonical tags. I'm working on an ecommerce website which has migrated platform (shopify to magento) and the website design has been updated to a whole new look. Due to the switch to magento, the developers have managed to change the internal linking structure to product pages. The old set up was that category pages (on urls domain.com/collections/brand-name) for each brand would link to products via the following url format: domain.com/products/product-name . This product url was the preferential version that duplicate product pages generated by shopify would have their canonical tags pointing to. This set up was working fine. Now what's happened is that the category pages have been changed to link to products via dynamically generated urls based on the user journey. So products are now linked to via the following urls: domain.com/collection/brand-name/product-name . These new product pages have canonical tags pointing back to the original preferential urls (domain.com/products/product-name). But this means that the preferential URLs for products are now NOT linked to anywhere on the website apart from within canonical tags and within the website's sitemap. I'm correct in thinking that this definitely isn't a good thing, right? I've actually noticed Google starting to index the non-preferential versions of the product pages in addition to the preferential versions, so it looks like Google perhaps is ignoring the canonical tags as there are so many internal links pointing to non-preferential pages, and no on-site links to the actual preferential pages? I've recommended to the developers that they change this back to how it was, where the preferential product pages (domain.com/products/product-name) were linked to from collection pages. I just would like clarification from the Moz community that this is the right call to make? Since the migration to the new website & platform we've seen a decrease in search traffic, despite all redirects being set up. So I feel that technical issues like this can't be doing the website any favours at all. If anyone could help out and let me know if what I suggested is correct then that would be excellent. Thank you!
Intermediate & Advanced SEO | | Guy_OTS0 -
If linking to contextual sites is beneficial for SE rankings, what impact does the re=“nofollow” attribute have when applied to these outbound contextual links?
Communities, opinion-formers, even Google representatives, seem to offer a consensus that linking to quality, relevant sites is good practice and therefore beneficial for SEO. Does this still apply when the outbound links are "nofollow"? Is there any good research on this out there?
Intermediate & Advanced SEO | | danielpressley0 -
Number of Links for Internal E-commerce Search Pages (and Anchor Text)
Hello! We have an internal search engine for different email, postal, and phone data products on our website (75,000 product pages... calling all direct marketers!), I've noindexed all our dynamic search pages, but I'm wondering how else I can improve these pages. Should I reduce the amount of links on each page?
Intermediate & Advanced SEO | | Travis-W
Currently there are 20 search results per page. " <variable>Mailing List" has been a pretty good source of traffic for our product pages.
Should I change the anchor text for all the product pages listed to include the added long-tail keyword, or would that be extremely spammy, having the word "Mailing List" 20+ times on my page? We have both static and dynamic search pages - here is one of static ones: http://www.consumerbase.com/direct-marketing-mailing-lists.html
My main problem with adding the long tail KWs to the anchor text is that we still want our static search pages indexed.</variable> Thanks!0 -
Internal linking using exact keywords Bad – Post Panda
Internal linking using exact keywords Bad – Post Panda Any tips for internal linking ,how can we target landing pages to rank well using internal linking. Use of Keywords in within site links, is it bad? Are footer links bad? Use of Siloing artichture bad or good? What a best linking model for Ecommerce Site.
Intermediate & Advanced SEO | | conversiontactics0 -
Regional websites
Hi, I run 4 websites London, New York, Singapore and Dubai. Same company but some of our products are different in each region. Each domain is registered in the relevant region and I have google webmaster tools set so they know the location of each website. The problem is that our Dubai and US websites are appearing higher that the UK website in google.co.uk organic. Does anyone have any ideas why? Thanks
Intermediate & Advanced SEO | | markc-1971830