undefined
Skip to content
Moz logo Menu open Menu close
  • Products
    • Moz Pro
    • Moz Pro Home
    • Moz Local
    • Moz Local Home
    • STAT
    • Moz API
    • Moz API Home
    • Compare SEO Products
    • Moz Data
  • Free SEO Tools
    • Domain Analysis
    • Keyword Explorer
    • Link Explorer
    • Competitive Research
    • MozBar
    • More Free SEO Tools
  • Learn SEO
    • Beginner's Guide to SEO
    • SEO Learning Center
    • Moz Academy
    • SEO Q&A
    • Webinars, Whitepapers, & Guides
  • Blog
  • Why Moz
    • Agency Solutions
    • Enterprise Solutions
    • Small Business Solutions
    • Case Studies
    • The Moz Story
    • New Releases
  • Log in
  • Log out
  • Products
    • Moz Pro

      Your all-in-one suite of SEO essentials.

    • Moz Local

      Raise your local SEO visibility with complete local SEO management.

    • STAT

      SERP tracking and analytics for enterprise SEO experts.

    • Moz API

      Power your SEO with our index of over 44 trillion links.

    • Compare SEO Products

      See which Moz SEO solution best meets your business needs.

    • Moz Data

      Power your SEO strategy & AI models with custom data solutions.

    NEW Keyword Suggestions by Topic
    Moz Pro

    NEW Keyword Suggestions by Topic

    Learn more
  • Free SEO Tools
    • Domain Analysis

      Get top competitive SEO metrics like DA, top pages and more.

    • Keyword Explorer

      Find traffic-driving keywords with our 1.25 billion+ keyword index.

    • Link Explorer

      Explore over 40 trillion links for powerful backlink data.

    • Competitive Research

      Uncover valuable insights on your organic search competitors.

    • MozBar

      See top SEO metrics for free as you browse the web.

    • More Free SEO Tools

      Explore all the free SEO tools Moz has to offer.

    NEW Keyword Suggestions by Topic
    Moz Pro

    NEW Keyword Suggestions by Topic

    Learn more
  • Learn SEO
    • Beginner's Guide to SEO

      The #1 most popular introduction to SEO, trusted by millions.

    • SEO Learning Center

      Broaden your knowledge with SEO resources for all skill levels.

    • On-Demand Webinars

      Learn modern SEO best practices from industry experts.

    • How-To Guides

      Step-by-step guides to search success from the authority on SEO.

    • Moz Academy

      Upskill and get certified with on-demand courses & certifications.

    • MozCon

      Save on Early Bird tickets and join us in London or New York City

    Unlock flexible pricing & new endpoints
    Moz API

    Unlock flexible pricing & new endpoints

    Find your plan
  • Blog
  • Why Moz
    • Small Business Solutions

      Uncover insights to make smarter marketing decisions in less time.

    • Agency Solutions

      Earn & keep valuable clients with unparalleled data & insights.

    • Enterprise Solutions

      Gain a competitive edge in the ever-changing world of search.

    • The Moz Story

      Moz was the first & remains the most trusted SEO company.

    • Case Studies

      Explore how Moz drives ROI with a proven track record of success.

    • New Releases

      Get the scoop on the latest and greatest from Moz.

    Surface actionable competitive intel
    New Feature

    Surface actionable competitive intel

    Learn More
  • Log in
    • Moz Pro
    • Moz Local
    • Moz Local Dashboard
    • Moz API
    • Moz API Dashboard
    • Moz Academy
  • Avatar
    • Moz Home
    • Notifications
    • Account & Billing
    • Manage Users
    • Community Profile
    • My Q&A
    • My Videos
    • Log Out

The Moz Q&A Forum

  • Forum
  • Questions
  • Users
  • Ask the Community

Welcome to the Q&A Forum

Browse the forum for helpful insights and fresh discussions about all things SEO.

  1. Home
  2. SEO Tactics
  3. On-Page Optimization
  4. After HTTPS upgrade, should I change all internal links, or a general 301 redirect is better?

Moz Q&A is closed.

After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst weโ€™re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.

After HTTPS upgrade, should I change all internal links, or a general 301 redirect is better?

On-Page Optimization
3
7
5.2k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as question
Log in to reply
This topic has been deleted. Only users with question management privileges can see it.
  • micvitale
    micvitale last edited by Dec 4, 2015, 1:37 PM

    I recently upgraded to https.

    Of course most internal links of my old posts are still http.

    So I set up a 301 redirect in order to make the old link works.

    In terms od SEO this is good or it is better to update all the internal links to https, manually?

    In that case can I do it in batch with a search/replace command in the phmyadmin database?

    any other suggested method?

    thank you

    1 Reply Last reply Reply Quote 0
    • DmitriiK
      DmitriiK @micvitale last edited by Dec 7, 2015, 12:11 PM Dec 7, 2015, 12:11 PM

      Hi again. I've seen it. Quite honestly I disagree with absolutes being a priority. The arguments, presented in that WBF don't really work for me against the pain in development (I believe she mentioned even more drawbacks). Also, from my experience I have not seen any (at all) benefits in any way (SEO or loading speed) from having absolutes, rather than relatives.

      1 Reply Last reply Reply Quote 1
      • ChrisAshton
        ChrisAshton @micvitale last edited by Dec 7, 2015, 12:05 AM Dec 7, 2015, 12:05 AM

        Interesting Giorgio, I hadn't seen that WBF before.

        Absolutely no disrespect to Ruth but that's the first WBF I've disagreed with. The scraper risk is something I'm willing to take a gamble on for the benefits of relative links and the other points are moot if your website is setup correctly (htaccess deals with the potential for different versions of your domain and IMO canonicalization should always be used).

        Going by that WBF, if your site is set up correctly with redirects and canonicalization, the only benefit here is if a scraper copies your site and there's a very slim chance of this actually happening.

        1 Reply Last reply Reply Quote 1
        • micvitale
          micvitale @DmitriiK last edited by Dec 6, 2015, 9:02 AM Dec 6, 2015, 9:02 AM

          but...

          wait a minute. this Moz posts suggests keeping you links absolute is "a priority" , from a seo perspective.

          under point 2):

          https://moz.com/blog/relative-vs-absolute-urls-whiteboard-friday

          ChrisAshton DmitriiK 2 Replies Last reply Dec 7, 2015, 12:11 PM Reply Quote 0
          • ChrisAshton
            ChrisAshton @micvitale last edited by Dec 5, 2015, 8:02 AM Dec 5, 2015, 8:02 AM

            Exactly how to implement it will depend on your CMS but basically, all you need to do is update the hyperlinks from showing the entire link path to a simple, relative one like the examples below.

            Absolute Anchor Text

            Relative Anchor Text

            With hyperlinks, if you don't specify the full address path including http://www then the current website path will be added to the beginning. In this example, since there is no full and complete path before /contact, it's correctly assumed that the link is to point to http://www.example.com/contact.

            This is important because it means no matter what changes you make to your domain (www to non-wwww, moving to https, moving the site to a new domain etc) the links will always work perfectly. If you use an absolute path, the minute your change anything about your domain, all the links break because they're manually pointed to the old one.

            Here's a bit more info on the topic if the above is a little confusing. It's not a link to my site, just the first I found in a Google search ๐Ÿ™‚

            1 Reply Last reply Reply Quote 0
            • micvitale
              micvitale @DmitriiK last edited by Dec 5, 2015, 6:19 AM Dec 5, 2015, 6:19 AM

              Thank you very much /Dmitrii.

              Can I change them to relative?

              How should I do?

              ChrisAshton 1 Reply Last reply Dec 5, 2015, 8:02 AM Reply Quote 0
              • DmitriiK
                DmitriiK last edited by Dec 5, 2015, 6:17 AM Dec 4, 2015, 2:13 PM

                Hi there.

                So, you have all your links absolute? not relative? Gotta be painful to manage..

                Well, anyway, to answer your question - the only bad part about not changing links to https would be that extra redirect. If your servers are good, fast and very reliable, nobody would probably even notice it. I would check loading speeds though, especially for mobiles.

                Personally, I would change all links to relative and never worry about stuff like this. If you want to keep them absolute, then yes, I recommend changing them all. Just for clean conscious sake ๐Ÿ™‚

                About find-replace. That would depend on how your website is built. I assume you're talking about wordpress? Then yes, you should be able to. As long as you know where to search.

                Cheers.

                micvitale 2 Replies Last reply Dec 6, 2015, 9:02 AM Reply Quote 2
                • 1 / 1
                1 out of 7
                • First post
                  1/7
                  Last post

                Got a burning SEO question?

                Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.


                Start my free trial


                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.

                • See all categories

                Related Questions

                • KathleenDC

                  301 vs 410

                  Hello everyone! I'm going through a large list of old 404 links that search console has given me and a lot of these links need to be 301'd. My question is, should I 410 some of these links if I can't find a good place to 301 to? Or is there another thing I should do that is better practice. Thanks!

                  On-Page Optimization | Sep 2, 2016, 10:47 AM | KathleenDC
                  0
                • CKerr

                  URL Path. What is better for SEO

                  Hello Moz people, Is it better for SEO to have a URL path like this: flowersite.com/anniversary_flowers/dozen_roses OR flowersite.com/dozen_roses Is it better to have the full trail of pages in the URL?

                  On-Page Optimization | Oct 30, 2014, 7:46 AM | CKerr
                  0
                • HochKaren

                  Best practice for Portfolio Links

                  I have a client with a really large project portfolio (over 500 project images), which causes their portfolio page to have well over the 100 links that are recommended.  How can I reduce this without reducing the number of photos they can upload?

                  On-Page Optimization | Aug 15, 2013, 12:52 AM | HochKaren
                  0
                • novellseo

                  Too many links on page -- how to fix

                  We are getting reports that there are too many links on most of the pages in one of the sites we manage. Not just a few too many...  275 (versus <100 that is the target). The entire site is built with a very heavy global navigation, which contains a lot of links -- so while the users don't see all of that, Google does. Short of re-architecting the site, can you suggest ways to provide site navigation that don't violate this rule?

                  On-Page Optimization | Aug 17, 2012, 5:17 PM | novellseo
                  2
                • BistosAmerica

                  Wordpress category links not working

                  Hi All of sudden, my category links are not working. Any tips on figuring out what's causing this? Looks like permalink problem with newer wordpress version. I turned off all the plugins see if this cause any problems.  Still not being able to find any option. Here's my site http://www.hibebefetaldoppler.com/fetal-doppler-questions-and-answers/ Thanks in advance

                  On-Page Optimization | Aug 6, 2012, 11:18 AM | BistosAmerica
                  0
                • BeautyStop

                  Changing Link Title Tags & Backlinks

                  On 4/19/12 I began changing the link title tags in an effort to further optimize my website. I thought they were excessively long and it would be beneficial to make them more concise. On 4/26/12 my website traffic began to fall drastically and I'm not sure if it is from google's penguin update or from changing the link title tags. I started looking into the sudden drop of traffic and realized that when I run the site explorer tool on all of the pages I changed, the URL is redirecting. It appears that the backlinks are not passing through to the new URL. Before I Changed the Link Title Tag: http://www.opensiteexplorer.org/links?site=www.beautystoponline.com%2FAndis-Professional-Hair-Clippers-s%2F102150.htm **After I Changed the Link Title Tag: ** http://www.opensiteexplorer.org/links?site=www.beautystoponline.com%2FAndis-Clippers-s%2F102150.htm So my questions are: The above example shows that the old title tag (www.beautystoponline.com/Andis-Professional-Hair-Clippers-s/102150.htm) has 43 backlinks and the new one (www.beautystoponline.com/Andis-Professiona-Hair-Clippers-s/102150.htm) has 0. Will the links eventually be attributed to the new URL. I understand that the user will still be directed to my website they click the any of the backlinks, but will the link juice pointing the old URL pass through the new one? Would it be better, in the long run, to continue optimizing the link title tags.

                  On-Page Optimization | May 30, 2012, 1:00 PM | BeautyStop
                  0
                • MarieA

                  301 redirects from several sub-pages to one sub-page

                  Hi! I have 14 sub-pages i deleted earlier today. But ofcourse Google can still find them, and gives everyone that gives them a go a 404 error. I have come to the understading that this wil hurt the rest of my site, at least as long as Google have them indexed. These sub-pages lies in 3 different folders, and i want to redirect them to a sub-page in a folder number 4. I have already an htaccess file, but i just simply cant get it to work! It is the same file as i use for redirecting trafic from mydomain.no to www.mydomain.no, and i have tried every kind of variation i can think of with the sub-pages. Has anyone perhaps had the same problem before, or for any other reason has the solution, and can help me with how to compose the htaccess file? ๐Ÿ™‚ You have to excuse me if i'm using the wrong terms, missing something i should have seen under water while wearing a blindfold, or i am misspelling anything. I am neither very experienced with anything surrounding seo or anything else that has with internet to do, nor am i from an englishspeaking country. Hope someone here can light up my path ๐Ÿ™‚ Thats at least something you can say in norwegian...

                  On-Page Optimization | Feb 23, 2012, 5:57 PM | MarieA
                  1
                • Bandicoot

                  Footer link to home page?

                  Quick question - is it a best practice to add a footer link on each page of a website that points back to your home page, with the anchor text being your official brand name?

                  On-Page Optimization | Nov 9, 2011, 5:48 AM | Bandicoot
                  0

                Get started with Moz Pro!

                Unlock the power of advanced SEO tools and data-driven insights.

                Start my free trial
                Products
                • Moz Pro
                • Moz Local
                • Moz API
                • Moz Data
                • STAT
                • Product Updates
                Moz Solutions
                • SMB Solutions
                • Agency Solutions
                • Enterprise Solutions
                Free SEO Tools
                • Domain Authority Checker
                • Link Explorer
                • Keyword Explorer
                • Competitive Research
                • Brand Authority Checker
                • Local Citation Checker
                • MozBar Extension
                • MozCast
                Resources
                • Blog
                • SEO Learning Center
                • Help Hub
                • Beginner's Guide to SEO
                • How-to Guides
                • Moz Academy
                • API Docs
                About Moz
                • About
                • Team
                • Careers
                • Contact
                Why Moz
                • Case Studies
                • Testimonials
                Get Involved
                • Become an Affiliate
                • MozCon
                • Webinars
                • Practical Marketer Series
                • MozPod
                Connect with us

                Contact the Help team

                Join our newsletter
                Moz logo
                ยฉ 2021 - 2025 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
                • Accessibility
                • Terms of Use
                • Privacy

                Looks like your connection to Moz was lost, please wait while we try to reconnect.