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. On-Page / Site Optimization
    4. Absolute vs Relative URLs

    Absolute vs Relative URLs

    On-Page / Site Optimization
    4 4 1.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.
    • Romancing
      Romancing last edited by

      What are the pros and cons of these two types of URLs and what type of weight does this hold. It doesn't seem to be a big issue in regards to ranking.

      Any qualified clarity would help.

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

        For SEO it doesn't matter at all. As long as your link points to a valid page or resource, the crawler bots will suss out the full URL.

        I personally use relative links wherever possible. They keep the file size smaller, and they're more versatile if you restructure or move domains.

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

          If your links are absolute and another site scrapes your content, those links are often embedded when they republish it. If you use relative links, those embedded links would not work and you wouldn't get credit for them.

          Here is a relevant quote from Rob Ousbey from an SEOMoz post:

          "I'd recommend absolute links in post/page/feed content in particular (so that any scraped content maintains the links back to you). For 'navigational' links, there's a variety of reasons why absolute links are still useful, such as making sure link juice flows to the canonical domain (eg: if you have a number of (sub/)domains that resolve to the same content)."

          1 Reply Last reply Reply Quote 1
          • marcelo-275398
            marcelo-275398 last edited by

            I use a mix of both relative and absoloute, for navigation I tend to use relative links in case i ever move things around. However for content in particular articles or news pieces on a site i use exact links. I have found before that some of these have been used on other sites so including the exact link ensures that there is a link back to the website.

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post
            • Is it better to shorten my existing url to use only keyword after domain with a 301 redirect from existing url
              mrkingsley
              mrkingsley
              2
              12
              96

            • Separate URL vs iFrame
              AliMac26
              AliMac26
              0
              3
              179

            • Rel=canonical vs noindex/follow - tabs with individual URLs
              CleverPhD
              CleverPhD
              0
              6
              1.1k

            • Indexed/Submitted URLS vs Total Indexed
              BlueprintMarketing
              BlueprintMarketing
              0
              2
              248

            • URL SEO: Better directory structure vs. exact keyword phrase
              WilliamKammer
              WilliamKammer
              0
              2
              1.5k

            • Short URL's vs Optimised URL's
              MozAddict
              MozAddict
              0
              3
              68

            • Our urls for adwords are slightly different from current urls presented on site (weused htaccess to help create shorter urls). How important is it that the adwords url match the sitemap url for keywords on those pages?
              LesleyPaone
              LesleyPaone
              0
              2
              134

            • Absolute vs relative urls
              Doc_Sheldon
              Doc_Sheldon
              0
              7
              3.2k

            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