The Moz Q&A Forum

    • Forum
    • Questions
    • My Q&A
    • Users
    • Ask the Community

    Welcome to the Q&A Forum

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

    1. SEO and Digital Marketing Q&A Forum
    2. Categories
    3. Technical SEO Issues
    4. Tool to search relative vs absolute internal links

    Tool to search relative vs absolute internal links

    Technical SEO Issues
    6 3 3.6k
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as question
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Lindsay_D
      Lindsay_D last edited by

      I'm preparing for a site migration from a .co.uk to a .com and I want to ensure all internal links are updated to point to the new primary domain.

      What tool can I use to check internal links as some are relative and others are absolute so I need to update them all to relative.

      1 Reply Last reply Reply Quote 0
      • MattAntonino
        MattAntonino last edited by

        I'll give you the best answer I can but at least consider the possibility that absolute URLs are actually better long term.  Other than moving a site around as you're doing now, absolute URLs win on every factor.

        That said, you're looking for FireLinkReport.

        http://www.searchenginejournal.com/firelinkreport-research-on-page-links-firefox/17714/

        It's a FFox add on that does internal vs. external, absolute vs. relative, etc. and this should create a report that helps you do what you need.

        Lindsay_D 1 Reply Last reply Reply Quote 0
        • Lindsay_D
          Lindsay_D @MattAntonino last edited by

          Thanks for the reply although I've checked that add-on and it's not available for download anymore. Any chance you can send me the local files? I've mailed the admin but haven't got a reply yet.

          Unless anyone knows of any other tools?

          1 Reply Last reply Reply Quote 0
          • Lindsay_D
            Lindsay_D last edited by

            Any chance anyone knows any other tools I can use to crawl a site and give me a report of absolute and relative internal links?

            1 Reply Last reply Reply Quote 0
            • ThompsonPaul
              ThompsonPaul last edited by

              That tool that Matt mentioned looked interesting, but it would have been painful to have to go through your site one page at a time.

              As usual for crawling tasks like this, the paid version of Screaming Frog will do what you want. You can tell it to crawl your site looking for **href="yoursite.com **to find all occurrences of absolute internal links. You'd have to do a bit of regex magic to get it to find the relative links, but since by their nature a relative link will work even with the domain change, not sure why you'd be looking for those.

              Or you could just do a find and replace of the URL string using something like phpMyAdmin directly in your database. That would be fastest as it would find & replace in one go, instead of having to manually edit each page.

              Is this a WordPress site, there's a plugin specifically for finding and automatically updating these links. (It basically automates and puts a UI on the phpMyAdmin process mentioned above.)

              Any of those ideas help?

              Paul

              1 Reply Last reply Reply Quote 2
              • Lindsay_D
                Lindsay_D last edited by

                Thanks for the replies, I ended up getting a techie to run a script through the site for me which gave me all the info I needed.  None of the tools mentioned did exactly what I was looking for.

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post
                • Webmaster tools not showing links but Moz OSE is showing links. Why can't I see them in the Google Search Console
                  Eric_Rohrback
                  Eric_Rohrback
                  0
                  4
                  4.0k

                • Why are these internal pages not showing any internal links?
                  MiguelSalcido
                  MiguelSalcido
                  0
                  6
                  157

                • Should I consider webmaster tools links and linked pages ratio to remove unnatural links?
                  Cyrus-Shepard
                  Cyrus-Shepard
                  0
                  3
                  188

                • Explain me the SEO impact when a website has more internal link compared to less internal links
                  BoniSatani
                  BoniSatani
                  0
                  3
                  183

                • Internal Link Analysis Tool
                  sq1SEO
                  sq1SEO
                  0
                  6
                  3.1k

                • Internal Linking
                  dmccarthy
                  dmccarthy
                  0
                  2
                  235

                • Absolute of Relative Internal Website Links
                  MattAaron
                  MattAaron
                  0
                  4
                  798

                • Internal Linking: Site-wide VS Content Links
                  Dan-Petrovic
                  Dan-Petrovic
                  0
                  6
                  943

                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
                • Digital Marketers
                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 - 2026 SEOMoz, Inc., a Ziff Davis company. All rights reserved. Moz is a registered trademark of SEOMoz, Inc.
                • Accessibility
                • Terms of Use
                • Privacy