What does the "base href" meta tag do? For SEO and webdesign?
-
I have encounter the "base href" on one of my sites. The tag is on every page and always points to the home URL.
-
<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
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
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.
Related Questions
-
Base Href - Usage along with advantages and dis advantages
Hi Friends, I like to add base href in all my web inner pages. My doubts is which method is better to use. The details are given below, <base href="root domain"> or <base href="root domain/inner pages"> Research URLs:
On-Page Optimization | | zco_seo
http://www.w3schools.com/tags/tag_base.asp
http://stackoverflow.com/questions/1889076/is-it-recommended-to-use-the-base-html-tag Please share advantages and dis advantages by using this method. Thanks0 -
[HTML Gurus] Is the only nofollow = rel="nofollow"?
From my knowledge only way an HTML link is nofollow is using rel="nofollow". I was wondering if you have a link , is there anything you can put OTHER than rel="nofollow" within the <a></a>tags that make a link nofollow?
On-Page Optimization | | William.Lau0 -
On page "F" and I changed my tags long ago to match everything and still F?
My on-page analysis shows that my title tags are not supporting my keyword..........but they are! My title tag has my EXACT keyword phrase. What gives? Keyword is "San Diego Party Bus" Title is "San Diego Party Bus | xoxoxox | xoxoxoxo" F grade! ????????
On-Page Optimization | | DrewSpinoso0 -
Is there a tool out there I could use to help me compose unique meta tags in bulk?
We have a website that has hundreds of crawl errors due to duplicate meta tags. I could do with a tool to help compose unique ones in bulk so we don't exceed the recommended character limit and follow any other best practices.
On-Page Optimization | | WebDesignBirmingham0 -
"And" vs "&"
I blog for hotels and I am wondering whether it is best to have on a wordpress tagline the name of the hotel such as Holiday Inn and Suites vs Holiday Inn & Suites. In Google AdWords, the "and" keyword always beats out the "&" word in exact search. The "&" just always looks cleaner. Also, when I refer to the hotel within a blog post, should I use the "and" or "&" in the name? Please help me understand which is best for seo. Thank you!
On-Page Optimization | | lwilkins0 -
German SEO
Just a quickie, Does anybody know of any strong German SEO agencies? Many Thanks Sean
On-Page Optimization | | Yozzer0