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
-
Social Links through Link Shortners. Does it count?
We use link shortner services like Bitly, Goo.gl, etc. Does the post used while making use of such link shortner services counts as a social signal. Or should we post the complete website url pointing to each page while posting on social sites. Secondly, should we write a new description while posting on Social sites or just copy paste a few lines of original posts?
Intermediate & Advanced SEO | | welcomecure0 -
Linking to External Websites?
Is it good to link external websites from every page. Since, the on-page grader shows there should be one link pointing to an external source. I have a website that can point to an external website from every page using the brand name of the specific site like deal sites do have. Is it worth having external link on every page, of-course with a no-follow tag?
Intermediate & Advanced SEO | | welcomecure0 -
Link Type Analysis
Howdy Moz Fans, Just wondering if anyone knows any tools to which can identify link types. E.g. is the link - navigational, in the footer or in the body text. Specifically for internal links. Any suggestions? Cheers, RM
Intermediate & Advanced SEO | | MBASydney0 -
Can links be hidden?
I was wondering if anyone can help me with some advice on agency work. We have just employed a new SEO agency to conduct work on one of our websites. I took a look on OSE and GWT to see if we had any new links since the agency started working (1 month ago) but there's was nothing new. When l asked for an update as to what link building efforts had been completed last month, l was told they don't give out a list of links as it could compromise the agencies techniques. They told me that they use software to hide links form link aggregators so that our competitors don't know what we are doing. Can anybody confirm that such software exists or is this agency just taking us for a ride? If there is such a software, could this not hinder what links the search engines could see? Any comments would be greatly appreciated.
Intermediate & Advanced SEO | | RobSchofield0 -
Ecommerce Link Juice and Canonical URLs
Hello all. I am optimising an E-Commerce site and I have a questions about Products in several categories & Canonical URL's. Using Magento Platform. site.com/category1/product1/ ( link from category is site.com/product1/ )
Intermediate & Advanced SEO | | s_EOgi_Bear
site.com/category2/product1/ ( link from category is site.com/product1/ )
site.com/category2/subcategory1/product1 ( link from category is the same , as is the canonical URL )
site.com/product1/ ( this is where other categories link to ) Canonical links for all the above is site.com/category2/subcategory1/product1 which takes care of duplicate content correctly. I just wonder if we would get more link juice if ALL the links from all categories went to site.com/category2/subcategory1/product1 ( instead of some going to site.com/product1/ ) Thanks in advance 🙂0 -
Internal Links not being Identified on OSE
Greetings Mozzers, When ever I check my home page on OSE it says I have a total of 5 internal links. Obviously this is WAY off. I've used all relative links, if I were to removed all relative and make them absolute, would there be a better chance of OSE identifying them instead of losing that juice? I think this is huge to resolve as when I compare my site to competitors, almost all factors are in our favor except this huge gap of only 5 internal links. I'm using Drupal CMS. For example, Drupal normally outputs internal links as "/about" and "/about/team" in the menus. If we changed it to "https://monsterweb.net/about", and "https://monsterweb.net/about/team", would that make a difference? Thanks for all the advice and clarification on this matter.
Intermediate & Advanced SEO | | MonsterWeb280 -
On-site links
Hi everybody, There's a lot of information about getting sitewide backlinks, but so few about on-site optimization. Is there a maximum of links to put on a page ? Is there a maximum of link that a page should receive ? etc ... ? So, what is the optimal strategy ? And I'm only concerned about on-page and on-site link, not backlinks commming from other sites. Thanks
Intermediate & Advanced SEO | | DavidPilon0 -
What are your thoughts on using Dripable, VitaRank, or similar service to build URL links too dilute link profile???
One of my sites has a very spamy link profile, top 20 anchors are money keywords. What are your thoughts on using Dripable, VitaRank, or similar service to help dilute the link profile by building links with URLs, Click Here, more Info, etc. I have been building URL links already, but due to the site age(over 12 years) the amount of exact match anchor text links is just very large and would take forever to get diluted.
Intermediate & Advanced SEO | | 858-SEO0