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
-
Generating a meta-description
What are some things I should know before implementing a process whereby (public) user account data is used to generate a meta-description? I can't find much information in the existing forums. Are rich snippets a better option in 2015?
On-Page Optimization | | CallumClothierfairs0 -
H1 tag mandatory?
Hi there! Is a mandatory to fullfill the H1 tag in order to improve SEO? I mean I'm in the case where the keyword selected is appropiate to optimize the page but not appropiate to be in H1 tag 'cause it probably "doesn't sound good" to the user. Is it enought to be present in the url, title and description?Any suggestion? Thanks in advanced.
On-Page Optimization | | juanmiguelcr0 -
Are tags important for SEO?
I just installed a plugin called SEO content control and it is telling me I need to write descriptions for my tags. I haven't been using tags although I did create a list of them. I don't have an endless amount of time on my hands so is this a worthwhile task?
On-Page Optimization | | dealblogger0 -
Re="tag" Question
Hello, I own the site I putted rel="tag" in categories and product links , its correct? There are a lot of categories and products , I wont get penalized right? Just making sure to know if Im doing it right , thank you for help me 🙂
On-Page Optimization | | matiw0 -
Blocked By Meta Robots
Hi I logged in the other day to find that over night I received 8347 notices saying certain pages are being kept out of the search engine indexes by meta-robots. I have not changed my robots.txt in years and I certainly didn't block Google from visiting those pages. Is this a fault on Roger Mozbot behalf? Or is there a bot preventing 8000+ pages being indexed? Is there a way to find out what meta-robot is doing this and where? And how I can get rid of it? I usually rank between #3 and #5 for the term 'sex toys' on google.com.au, but I now rank #7 to #9 so it would seem some of my pages/content is being blocked. My website is www.theloveshop.com THIS IS AN ADULT TOYS SITE. There is no porn videos or anything like that on it, but just in case you don't wish to look at sex toys or are around kids I thought I would mention it. Blake
On-Page Optimization | | wayne10 -
Main navigation with pictures & Alt Tags vs Text/ Link based Navigation
Hi, do I loose an opportunity to rank better if I use a navigation with Alt-tagged Pictures in comparison to a Text/ Link based main navigation? Thanks, Sebastian
On-Page Optimization | | Naturalmente0 -
Does page "depth" matter
Would it have a negative effect on SEO to have a link from the home page to this page... http://www.website/com/page1deep/page2deep rather than to this page http://www.website/com/page1deep I'm hoping that made some sense. If not I'll try to clarify. Thanks, Mark
On-Page Optimization | | DenverKelly0 -
Will a "no follow" "no index" meta tag resolve duplicate content issue?
I have a duplicate content issue. If the page has already been indexed will a no follow no index tag resolve the issue or do I also need a rel canonical statement?
On-Page Optimization | | McKeeMarketing0