Moz Q&A is closed.
After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.
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
-
H1 tag positioning impact
Hello, I am currently working with a dev team to develop a new site. We have designed the title tags to sit below a banner image on each page but the technical team are insisting the h1 title tags must come above the banner for maximum SEO impact. I am sceptical about this, can anybody please shed some light and/or share any up to date resource on this? I have attached a side by side wireframe to illustrate the pages with the h1 tags in both positions. Thank you! HnWcLTx
On-Page Optimization | | Popidev0 -
Phone number for SEO
We have had an interesting question from a client. They have asked if removing their phone number from their website would have an affect on their rankings. Our immediate answer was 'No' but it may affect the Brand, Usability and Customer experience by restricting the methods of contact. This then made us think that perhaps then it could have an effect in the long term. This situation is also complicated by the fact that they do not have a Google Local Plus account for operational, sensitivity reasons (they don't want to openly publicise their address) We believe that there shouldn't be any negative affect but thought we would open a discussion. Thanks in advance for any comments/ideas.
On-Page Optimization | | vital_hike0 -
How "Top" or "Best" are considered when in front of keyword
I would like to know if someone has proven info how google today counts words "Top" or "Best" when in front of main keywords you try to rank for. For example, if I have a keyword like "Restaurants in Madrid" and I optimize that page without using words "top" or "best" will it have good rankings for keywords "top restaurants in madrid" and "best restaurants in madrid" ? I suppose that google is smart enough to know that web page should be good ranked even without using those 2 words but would like to know percentage of my loss if I just exclude those words from title tag and other important onpage factors. I want to rank high for all the 3 combinations, with "top", with "best" and without it in front so searching for best solution. I plan just to add one of those words, for example "top" and hope that google will know that "top" = "best" 🙂
On-Page Optimization | | m2webs0 -
"translation" of code in htaccess file
Hi everyone! I am a newbie to the whole SEO and html thing and I am trying to get a better understanding of the "behind the scenes" part of my website. I hope I can find someone here who can translate a piece of code for me that I have in my htaccess file: Options -Multiviews
On-Page Optimization | | momof4
Options +FollowSymLinks
rewritecond $1 !^(index.php|public|tmp|robots.txt|template.html|favicon.ico|images|css|uploads)
rewritecond %{REQUEST_FILENAME} !-f
rewritecond %{REQUEST_FILENAME} !-d
rewriterule ^(.*)$ index.php?link=$1 [NC,L,QSA] I know that something is getting redirected to the index file, but what (or when) exactly? Does the word "robots"mean that search engine crawlers are getting redirected here? And is this good or bad (in terms of SEO)? Or is this redirecting people who try to get to my robots/ template or image files?? Thanks in advance for any answers!0 -
Multiple Cities in Title Tag
My question is how to avoid having a spammy title. Currently I'm working on a project where a business serves four cities, but two of them are out of its home state. I'm trying to create a title tag that is appealing to the eyes, and meets what I need it to do at the same time. I was wondering what everyone though of this sample Brand X Dealer Serving Newark, DE; New Castle, DE; Glens Mills, PA; and Springfield, PA I know that too much repetition can be a bad thing, but this might not be a big deal since they are separate instances. Let me know what you all think. Thanks!
On-Page Optimization | | OOMDODigital0 -
SEO for Japan
Google and Yahoo are the two major search engines in Japan. You can search using Western characters, and you often see English language results with Japanese (Chinese) characters next to them. As I don't speak Japanese, how do I approach SEO for my Japanese-language site? would appreciate any experiences and educational sources on the topic.
On-Page Optimization | | KnutDSvendsen0 -
Can I use the first sentence of my page content as a meta description tag as well?
I just want to copy my content on the page and use the first or as well the second sentence of the content self for my meta description tag. Is that OK? Or should the Meta description tag be different?
On-Page Optimization | | paulinap19830 -
"And" vs "&"
I blog for hotels and I am wondering whether it is best to have on a wordpress tagline the name of the hotel such as Holiday Inn and Suites vs Holiday Inn & Suites. In Google AdWords, the "and" keyword always beats out the "&" word in exact search. The "&" just always looks cleaner. Also, when I refer to the hotel within a blog post, should I use the "and" or "&" in the name? Please help me understand which is best for seo. Thank you!
On-Page Optimization | | lwilkins0