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. What does the "base href" meta tag do? For SEO and webdesign?

    What does the "base href" meta tag do? For SEO and webdesign?

    On-Page / Site Optimization
    2 2 5.0k
    • 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.
    • jmansd
      jmansd last edited by

      I have encounter the "base href" on one of my sites.  The tag is on every page and always points to the home URL.

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

        <base> allows you to set the default attributes for links on the page. For example if I set <base href="http://www.mydomain.com/"> then I can make a link to and it will point to http://www.mydomain.com/mypage.html

        I believe this magic happens on the web server before the page is sent to the browser, making it a safe practice for SEO.

        1 Reply Last reply Reply Quote 2
        • 1 / 1
        • First post
          Last post
        • Rel="canonical" link should they be to or from an "SEO friendly" url
          AlanBleiweiss
          AlanBleiweiss
          0
          3
          759

        • What are "stop" words in Title Tags?
          WhiteboardCreations
          WhiteboardCreations
          0
          3
          6.2k

        • Re="tag" Question
          evolvingSEO
          evolvingSEO
          0
          3
          114

        • What does this mean on first step up setting up a campaign? "Having two "twin" domains that both resolve forces them to battle for SERP positions, making your SEO efforts less effective. We suggest redirecting one, then entering the other here."
          ZephSnapp
          ZephSnapp
          0
          2
          284

        • Missing meta descriptions on indexed pages, portfolio, tags, author and archive pages. I am using SEO all in one, any advice?
          jeffreytrull1
          jeffreytrull1
          0
          2
          1.4k

        • "Canonical URL Tag Usage" recommendation in SEOmoz "On-Page Optimization" Tool
          Kotkov
          Kotkov
          0
          2
          503

        • "And" vs "&"
          NewGlobalVentures.comSEOTexas
          NewGlobalVentures.comSEOTexas
          0
          4
          2.8k

        • Will a "no follow" "no index" meta tag resolve duplicate content issue?
          Getz.pro
          Getz.pro
          0
          5
          1.1k

        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