Base href + relative link href for canonical link
-
I have a site that in the head section we specify a base href being the domain with a trailing slash and a canonical link href being the relative link to the domain.
<base <="" span="">href="http://www.domain.com/" />
href="link-to-page.html" rel="canonical" />
I know that Google recommends using an absolute path as a canonical link but is specifying a base href with a relative canonical link the same thing or is it still seen as duplicate content?
-
Hi there.
I would say it's not the best way to do it like that. I'm not entirely sure how google would react to this. There are couple way to check it. Basically, google bots are very similar to any other bot, so, you can use, let's say, a facebook debugger, or check your MOZ tools, see what they say. If those tools are saying there are errors, then google most likely will say the same.
Hope this helps.
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
-
Question about related topics
I know that in order to rank on any keyword I need to talk about different "concepts / topics " everyone has a different word for it but let say I need to talk about multiple subject to make it simple. My question is how to find those subjects ... in some industry it is pretty straight forward you go to related search or some keyword tool such as Moz and you find what you need. Example : If "Title tag" is my main topic the subtopic that I find and that I need to cover on the same page are "title tag length , title tag checker, mobile title tag, title tag example etc..." On my keywords such as " Alsace bike tours" all I find in related searches and using all the tools out there such as Moz keyword research explorer is "Alsace cycling vacations " ""Cycling Colmar" "Alsace bike trip " etc... not really anything exiting , it means the same thing and it is just variations of the keyword. I have used other tools such as Marketmuse and they give me related topic such as "Strasbourg" "Colmar" "half timbered houses" "Alsace wine" and I am not sure it is any better... because to cover those I have no other solution that doing definitions... or describe those in details which is probably not what someone typing "Alsace bike tour" is looking for. I have the feeling that all those tools are great for keywords like "content marketing" or "title tag" with a lot of requests but they fail for everything else. Can someone give me an insight on how they do to write on multiple topic where they are in my situation and based on the example I gave which topic they would cover and based on my example.. Thank you,
Intermediate & Advanced SEO | | seoanalytics1 -
Website homepage must be first link from every page of sub folders which are related in content?
Hi, I have seen number of websites where they keep their website homepage as first link from every page of sub folders and even from sub domain pages some times. For example, giving website homepage as top navigational menu from every page in their blog. Will this helps in boosting the ranking of homepage if we link from sub folder or sub domain pages where they employ related content like blogs or help guides. Thanks
Intermediate & Advanced SEO | | vtmoz0 -
Swiss based, USA links only
Hello, My company is based is Switzerland with a Swiss address and US number but my client are only in the USA. I only have links from US websites and no Swiss website. Can I be penalised by google for that ? Thank you,
Intermediate & Advanced SEO | | seoanalytics0 -
Link Audit - Sponsor/Partners Images Links
Hi everyone, 1. I'm conducting a link audit and read that if you are a sponsor or partner of a company, links should be nofollowed. I always no follow them if they are money keywords, but branded I leave alone. is that a good strategy? Or do i nofollow my brand name as well? 2. What if I'm a sponsor and have my company logo on their website that links to my website? How would i know if that link should be nofollowed? a. Does it depend on the "alt" of the image? b. Does it depend on the landing page of the link of the image? c. Do i just no follow image links from sponsor pages and partner pages as a whole? Please keep in mind that I'm sponsoring websites that are relevant to my niche. PLEASE HELP!
Intermediate & Advanced SEO | | Shawn1240 -
What is value in a back-link from article with multiple links pointing to various other sites?
In a standard article with 400-500 words my site got a back-link. However, within the article there are 4 other links pointing to other external content as well (so total 5 links within articles all pointing to external sites, and 1 of the links is to my site). All links are to relevant external content that is. Question: wouldn't it be much more valuable for my site if only my site got a back-link from the article, as less link juice is now passed to my site, since there are 4 other links pointing to various sites from this same article? Or, is the case that given the other links are pointing to quality material it actually makes the link to my site look more credible and at the end of the day have more value. Conclusion: is it that on one hand less links in same article is better from a link juice perspective, however, from a credibility perspective it looks more convincing there are other links pointing to quality content?
Intermediate & Advanced SEO | | knielsen0 -
Advice on forum links
Hi guys, Looking for some good advice on forum links and there potential negative impact. I am analysing the links of a URL and around 60% of the links are coming from a forum (on a different domain). The forum is very relevant - about the same product he is selling and also has a decent user base. This 60% of links account for roughly 6,500 links. All with different varying keyword anchor text's, and some with excessive usage of a particular keyword anchor text. They are also all do-follow. They are in a mixture of signature links and in post links. The site they link to has been hit by penguin which also has an EMD. MY question is even though these links are relevant and on a good site with good traffic, do you think they have likely been picked up in the penguin algorithm? My initial thought was yes only because they are all do follow and mostly keyword based. But id love to hear thoughts on this as well as possible recovery options, i.e should he remove the forum links, reduce drastically or make them all no follow so traffic can still pass through? Thanks!
Intermediate & Advanced SEO | | ROIcomau0 -
Where to link to HTML Sitemap?
After searching this morning and finding unclear answers I decided to ask my SEOmoz friends a few questions. Should you have an HTML sitemap? If so, where should you link to the HTML sitemap from? Should you use a noindex, follow tag? Thank you
Intermediate & Advanced SEO | | cprodigy290