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. Intermediate & Advanced SEO
    4. What does "base" link mean here?

    What does "base" link mean here?

    Intermediate & Advanced SEO
    3 3 947
    • 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.
    • nicole.healthline
      nicole.healthline last edited by

      On http://www.google.com/support/webmasters/bin/answer.py?answer=139394, it says:

      rel="canonical" can be used with relative or absolute links, but we recommend using absolute links to minimize potential confusion or difficulties. If your document specifies a base link, any relative links will be relative to that base link.

      Where would a document specify a base link? And how?

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

        A web page can provide a line of code in the area of the page which defines a base URL. Example:

        <base href="http://www.mysite.com/">

        The remaining links on the page will prepend non-absolute links with the base URL. If you wish to refer to a URL: "http://www.mysite.com/cars/ford/mustang" then you could simply use "cars/ford/mustang". This method is referred to as relative URLs. The URLs are relative to their base.

        Offering the full URL is referred to as an absolute URL.

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

          I would always recommend when implementing canonical tags that you use an absolute links, which just means your entire url starting with http://

          When they are talking about relative canonical links they mean relative to the "base" link, which could also be called the root of your website.  So if your url was: http://www.rootdomain.com then your relative rel canonical tag would be

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          • Do image "lightbox" photo gallery links on a page count as links and dilute PageRank?
            BlueprintMarketing
            BlueprintMarketing
            0
            5
            500

          • What is the difference between link rel="canonical" and meta name="canonical"?
            Ideas-Money-Art
            Ideas-Money-Art
            0
            3
            1.3k

          • Do links to PDF's on my site pass "link juice"?
            gfiorelli1
            gfiorelli1
            0
            3
            2.1k

          • Is it better "nofollow" or "follow" links to external social pages?
            ITestenseAdv
            ITestenseAdv
            7
            5
            22.2k

          • How to avoid too many "On Page Links"?
            Hermski
            Hermski
            0
            3
            245

          • Can links indexed by google "link:" be bad? or this is like a good example by google
            RyanKent
            RyanKent
            0
            3
            222

          • Does "seomoz.org" lose LJ when someone use "seomoz.COM" as the link site?
            AlanMosley
            AlanMosley
            0
            12
            684

          • Can I reduce number of on page links by just adding "no follow" tags to duplicate links
            robertrRSwalters
            robertrRSwalters
            0
            9
            933

          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