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
-
Are Meta Keywords Still A Thing?
Hey all! First post on here, forgive me for being an SEO newb. Are meta keywords still a thing? Here's why I ask, I read this article from back in 2009 that said they are absolutely not a ranking factor anymore: https://webmasters.googleblog.com/2009/09/google-does-not-use-keywords-meta-tag.html However, in doing some research on our competition, I found that the top result for "Financial Advisor in Colorado Springs" was this company: http://www.strasbaughfinancial.com/ Honestly, the site seems to be doing everything opposite of what I read to do. It isn't even mobile responsive! With the Moz Bar, I found that no links pointing toward it. Not one video on the site (there is a link to a welcome video but the link is broken!!), no blog or regular content updates, no keywords in the H1 or H2 tags, page titles, etc. The website looks old and, frankly, terrible. Really I’m stumped how this can be ranking so high for so many competitive keywords. Then I realized that they stuffed tons of keywords in the meta description and meta keywords. From what I can tell, this is the ONLY intentional SEO strategy they used. Am I missing something? Are meta keywords still a ranking factor and THAT important?
On-Page Optimization | | otherside130 -
Wordpress Tags and Catagories
I am looking for data in regards to Wordpress and blog tags and categories. Wordpress has these identifies in there tool, but I see them being used less and less. Wordpress also creates annoying pages and duplicate content errors when using tags. Should I remove these tags and categories to improve SEO? I am also wondering if anyone has noticed a difference in user experience and traffic when changing these.
On-Page Optimization | | JoeyGedgaud1 -
The word "in" between 2 keywords influence on SEO
Does anybody know when you have the word "in" between two keywords has this a negative influence in Google? For example: "Holiday Home Germany" is the search term in Google
On-Page Optimization | | Bram76
"Holiday Home in Germany" as h1 on our website or do we have to use "Holiday Home Germany" on our website?0 -
Duplicate Mega tags
we have a e-commerce site, we have products that are the exact same but different sizes each has a page, we use the same mega tag would it be better to use no mega tag
On-Page Optimization | | DFC0 -
Rel canonical tag question
Im trying to to fix my duplicate content problem with my catagory pages in my shopping cart. I have read about adding a rel canonical tag to the page so it links back to the main catagory page. So if I add a rel canonical tag to the main catagory page it will show up on every other page for that catagory like page 1 page 2 and so on and it will have the tag linking back to the main cat. That should fix it it right? Now that being said I cant seem to add the tag invetween the head tags. I can add it to the body where I can add content. Will the rel canonical tag work outside the head tags? Any other ideas on this fix? I contacted my people that host the cart to see if they have any features to help this will see what they say.
On-Page Optimization | | Dataken0 -
Breadcrumb position SEO impact
Hi all, Our UX designers are working on a new page design, and the breadcrumb position looks somewhat strange - it's almost in the middle of the page. The new page looks like this (the breadcrumb is below the head banner), but it's a showcase page that contains about 150 items. Each of them has a small thumbnail, title, category and short description. They've decided to use the head banner's place and have there all items, grouped in categories that visitors can browse. The breadcrumb menu is at 900 pixels from the top of the page In other words, you have the major part of this page content in front of the breadcrumb menu. Are there any SEO implications in such case? Should we use breadcrumbs on this page if they're not at the top? Thanks,
On-Page Optimization | | lgrozeva
Maggie0 -
What Drupal 7 module for SEO, or if not what other SEO software for article writing does anyone recommend?
what Drupal 7 module for SEO article writing optimization, analyzation does anyone recommend? Thanks in advance. We are updating our sites and need this information. If hter is not a Drupal module what else would you recommend?
On-Page Optimization | | alternativelaw0