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
-
Product Descriptions (SEO)
Hello, I sell products relating to wood. Although the products vary, I like to give description of the wood type for the customers who might not be familiar with it. Will it hurt my rankings to give the same descriptions for the same wood type as long as the majority of the description is different? Here is an example of the layout: 1. Different description for different products 2. The same short description for the same wood types (seen throughout multiple pages) Hopefully my question makes sense.
On-Page Optimization | | mattl992 -
Undoing Video SEO
Ok, so here's a good one for you. I was ranking well (2-3rd) position when I got it into my head that I should implement some video SEO to get the video to appear next to my ranking. Well I did that with the help of Wistia. Only problem is my 2-3 ranking become 4-5, and I also became convinced that the page seemed less desirable as video content when I saw it in the rankings. So... I want to undo what I did. I removed the video sitemap and the SEO video markup from wistia, but it's been weeks and Google has still got me listed as video content. Any thoughts on how to accelerate the undoing of this damage?
On-Page Optimization | | CPollock0 -
Creating the META title tag?
I am having a hard time figuring out what the best META title tag is for my site. I have a deal blog that focuses on Amazon deals but I also write articles, top ten lists, etc. It is baby and mom related. Is there a tutorial for this? Should I just experiment and watch my organic search results? TIA!
On-Page Optimization | | dealblogger0 -
Title Tag and Company Name
Hello everyone! The company I work for has an e-commerce site that needs to be optimized. I am starting from the title tags which are too long and need optimized for specific keywords. Thing is that each title tag contains the specific keywords for the page and the company name. My question is should I keep the company name within the title tags or should I just keep the keywords I target for those pages? How will it affect my rank? Cheers Oscar
On-Page Optimization | | PremioOscar0 -
Prices in title tag
At our ecommerce site adwords ads generally perform a lot better when the product price is included in the ad title. Does anyone here have any experience and data on CTR with including product prices in title tags of product / category pages?
On-Page Optimization | | ese0 -
Recommended Length for a Companies "Services" Page Content
I am in the process of revamping my company's website. I do WordPress Development, Design, and SEO consulting, and i'm running into a sort of writer's block when wring my services pages. For example, my page on WordPress Security has 388 words of "body" content, and I feel from a content perspective, it serves it's purpose, but from an SEO perspective it is considered a little light. I really don't know what the SOP is here, because, I've literally seen competitors sites have a page on "WordPress Security" rank on the first page of Google with absolutely no content, an empty page. I see a lot of the Moz posts are huge, thosands of words, and I know they perform very well (and they also have ton's of links / PR...etc) and I just want to do the right thing. I know sites like http://www.seerinteractive.com/our-services/search-engine-optimization have relatively short info pages as well. Thanks in advance for your feedback. Zachary Russell President, ProTech Internet Group
On-Page Optimization | | Zachary_Russell0 -
On-page SEO reviews
Hi everyone 🙂 I was hoping someone could point me in a direction on where I could get my website's on-page SEO a review with recommendations. Title tags, meta description, code, H1s, content and so on... I know you can find most of what I'm asking online, but I would like a professional with a new set of eyes to help out. Thanks in advance for your time in helping!
On-Page Optimization | | AutoGlassRescue0 -
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