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
-
Meta tags
What is the best way to create unique meta tags for pages like http://www.gobol.in/brands/a http://www.gobol.in/brands/b http://www.gobol.in/brands/c http://www.gobol.in/brands/d
On-Page Optimization | | Obbserv0 -
Using Canonical & INDEX, FOLLOW meta tag
I am sort of new to this, and working with an overseas development team on an eCommerce site. I am curious if the Canonical tag will supersede the tag, or if it is best to remove this tag entirely for duplicate product pages?
On-Page Optimization | | BretDarby1 -
Meta keywords and meta news keywords
I've got a question regarding this. So normally Meta keywords it is not relevant and we shouldn't use them, however there are opinions that we can use them as these are signals for other Search Engines. Meta news keywords - are ok to be used in the news sites. what is your opinion on using both of them on a news site? Can this help, or harm? thanks, Irina
On-Page Optimization | | InformMedia0 -
Are lots of wordpress tags hurting my SEO?
When I started my blog 4 years ago and didn't know what I was doing, I set it up to be organized using tags (no categories). I have around 20 tags and around 250 articles. Each blog article typically has 2-4 tags associated with it. There is a lot of topic overlap and putting each post in only one category wouldn't work. I have been no indexing, do follow my tag pages because they are just a list of post titles, but I'm wondering if the whole situation is hurting my SEO. On my homepage I have a sidebar menu/list of all the tags so I have link juice going to no indexed (but dofollow) pages. Reducing the number of tags would be bad for user experience because people who were looking for info on a specific topic wouldn't be as easily able to find what they want. Ideas?
On-Page Optimization | | KateV0 -
Different Title and Meta Title Tag
Do the search engines rank based on the meta title tag or the title tag? What if you have a different meta title tag from the title tag? Edited: I have edited to clarify my issue. Having a different meta title tag from the title tag. Thank you for those who have answered the question so far.
On-Page Optimization | | rching0 -
How should I fix my short meta descriptions?
I recently added meta descriptions to several community-supplied pages for our open source website http://spree.tw/N53HuO Google Webmaster Tools is complaining/warning that the meta descriptions are too short. The descriptions are being supplied by our users and they typically do not lend themselves to anything much longer than what is being entered already. I was thinking of adding some text to the end of the meta description. Something like "This is one of many third party extensions for Spree supplied free of charge by our community" or something else like that. Is it acceptable practice to reuse a snippet in your meta description like this? Do you suggest other alternatives? Since meta description doesn't affect page rank can I use terms that I'm trying to rank for on my home page without cannibalizing my link juice? TIA, Sean
On-Page Optimization | | schof0 -
How many meta tags are appropriate?
How many meta tags are appropriate? There is a page that ranks above me that has many more than I do. It has (I have removed the content of each to give a description of the type of content): I only use meta tags for keywords and description, robots. Should I have more? Thanks.
On-Page Optimization | | scanlin0