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
-
H Tags Query
Hi, A client I'm dealing with has the following H tags on their homepage: H1: Online POP & POS Printing for Businesses & Events H2: Design & Advertising Agencies? Use Your Own Custom Artwork!
On-Page Optimization | | PeaSoupDigital
H2: Small Businesses & Events? Create Marketing Products Online!
H2: Quicker, Easier & up to 80% Cheaper than Traditional Printing
H2: Customise one of our free themes
H2: Upload your own custom artwork
H2: Commission a bespoke design
H2: Featured Products
H2: Display Printing
H2: Dump Bins
H2: Flyer Display
H2: FSDUs
H2: Hanging Signs
H2: Posters
H2: Shelf Edge
H2: Show Cards
H2: Tent Cards
H2: Window Clings H3: Look How Easy It Is
H3: Look How Easy It Is
H3: Big brand printing for every budget
H3: Newsletter Sign Up
H3: Available payment methods H4: Thank You, You have been added to our mailing list
H4: Follow Us As you can see, there are a lot. I feel the H3 and H4 tags do not really add any value or explain what the site is about, so I'll probably remove these. In relation to the H2s, do you think I should demote some of these to H3 or even H4 tags? Also, terms like 'Posters' is very vague, would this be better as 'Poster Printing'? Thanks, Lewis0 -
Bad to have "As Seen on" links sitewide
I've seen a lot of people saying that sidewide external links are a no-go. Does this also apply to links of a vanity variety? What I mean by this is "as seen on" links or links to awards given to the business? This intellectually seems okay to me, but I want to make sure I'm not shooting myself in the foot. Any evidence, case studies, anecdotal stories would be appreciated!
On-Page Optimization | | Oren.0 -
A good SEO praxis?
Hi all, having a worpress site with 10 DIFFERENT pages (each with its own different content) and consequently 10 DIFFERENT keywords to optimize......Can somehow Google penalize me for having such a number of different keyowrds? I guess sometimes there no way to avoid it. It depends on the content of each page. You'll need a keyword to optimize them (if you consider they are relevant enough). Thanks.
On-Page Optimization | | juanmiguelcr0 -
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 are your "Service Area" pages handling Penguin/Panda?
We just got a new client because of recent Penguin/Panda changes. A national "SEO" firm decided it was a good idea to set up a page for each service town or county they serve with nothing but duplicate content. Needless to say, on the week of the 23rd, their rankings tanked from 1st page (it's not a competitive niche) to 4th. I'm not bringing this up to brag, but rather because it got me thinking... How are your geographically targeted "service area" pages doing? Have the recent changes caused you to rethink your geographic targeting in any way?
On-Page Optimization | | BedeFahey0 -
Change 10yrs old home title tag seo safe?
Howdy everyone! Wish you the best for 2012! We have a client who is ranked #1 for keyword "blue widgets". Their site's homepage title has the keyword "blue widgets" in it and has been the same for 10yrs+. Recently they have added other types of widgets to their offering. Is it safe to change their title by adding more keywords to it? For example: "blue widgets | green widgets | brand x widgets". May our client lose their ranking if we change their title? Thanks in advance for your help!
On-Page Optimization | | gerardoH0 -
Title Tag, Are the Keywords Plucked out of it?
We are working on redoing our site and I read the article from rand about how to properly format title tags, here http://www.seomoz.org/blog/tactical-seo-how-many-termsphrases-should-i-target-on-a-single-page He showed how he could take 6 keywords and use them all in the title tag: The title Tag:
On-Page Optimization | | donford
Ted Baker London - Men's Clothing Collections 2005-2008 | Sartorialmoz.org The keywords:
Ted Baker
Ted Baker London
Ted Baker Clothing
Ted Baker Mens
Ted Baker Mens Clothing
Ted Baker Mens Collection So what I am wondering is the keyword Ted Baker Mens Collection actually getting found. In this case we are dealing with a contraction (men's) and a plural form of a keyword (collections). Is it plucked out from the title tag above?
Like this? Ted Baker London - Men's Clothing Collections 2005-2008 | Sartorialmoz.org In his article he goes on to say the biggest mistake he sees is, unfortunately exactly the way our site was built 6 years ago. That is people doing this: Ted Baker, Ted Baker London, Ted Baker Clothing, Ted Baker Men's Clothing, Ted Baker Clothing Collection - Buy Online Now at Manamialameseo.com Our site does just that, while we are PR 4 and get decent traffic for the business we are in, we are doing a huge update with new pages, information, and most importantly trying to get all the SEO the best as possible. I want to make sure before we make these what could be huge impact changes that search engines do in fact Pluck the keywords from the title tag, and they are not required to be together. Thank you for any thoughts, answers and most importantly your time. Example following this formula: Our Top 3 Keywords:
Molded Rubber
Rubber Molding
Custom Molded Rubber Our Old way:
Title: Custom Molded Rubber, Rubber Molding, Molded Rubber
The new way:
Title: Custom Molded Rubber - Molding Services | OurSite.com0