Imlementation of Rel connical
-
http://www.seomoz.org/blog/complete-guide-to-rel-canonical-how-to-and-why-not
This is an excellent post. But I couldn't find out one thing: all examples show the whle URL and I wonder if it's a problem to show a relative path instead is a problem?
An example:
you are on www.domain.com/articles/articles1.htm
and you would like to Recl Connical to
you are on www.domain.com/articles/articles2.htm
Now, would both of these get it done right?
Thanks, Andre
-
Hi Keri, thanks for your specifc answer, this really helps!
-
The specific section that addresses relative links says this:
Can I use a relative path to specify the canonical, such as ?
Yes, relative paths are recognized as expected with the tag. Also, if you include a <base> link in your document, relative paths will resolve according to the base URL. -
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
-
Rel= Canonical
Almost every one of my product has this message: Rel Canonical (Using rel=canonical suggests to search engines which URL should be seen as canonical. ) What is the best way to correct this?
Technical SEO | | tiffany11030 -
REL CANONİCAL
Hi, The Original Page: http://www.enakliyat.com.tr/evden-eve-nakliyat-firmalari/ Page 2: http://www.enakliyat.com.tr/evden-eve-nakliyat-firmalari/?sayfa=2 Page 3: http://www.enakliyat.com.tr/evden-eve-nakliyat-firmalari/?sayfa=3 Page 4:http://www.enakliyat.com.tr/evden-eve-nakliyat-firmalari/?sayfa=4 we added this rel="canonical" href="http://www.enakliyat.com.tr/evden-eve-nakliyat-firmalari/" /> tag all these pages Is it right?
Technical SEO | | iskq0 -
Is a Rel="cacnonical" page bad for a google xml sitemap
Back in March 2011 this conversation happened. Rand: You don't want rel=canonicals. Duane: Only end state URL. That's the only thing I want in a sitemap.xml. We have a very tight threshold on how clean your sitemap needs to be. When people are learning about how to build sitemaps, it's really critical that they understand that this isn't something that you do once and forget about. This is an ongoing maintenance item, and it has a big impact on how Bing views your website. What we want is end state URLs and we want hyper-clean. We want only a couple of percentage points of error. Is this the same with Google?
Technical SEO | | DoRM0 -
Using Rel Nofollow on Duplicate Pages
Hi there, I have a rather large site that has duplicate content on many pages due to how it's being spidered by google. I was hoping I could set the internal link to this page as "nofollow." My question is that I have hundreds of other sites with backlinks to these duplicate content pages.. will this affect me negatively if I tell google not to index the duplicated pages?
Technical SEO | | trialminecraftserverfinder0 -
Incorrect rel canonical , impacts ?
Incorrect use of canonical code.. and why have they used the strange code surrounding it. Hi there seo guys, I need some help.. a site I am working on has used the rel canonical tag incorrectly. they have used the code on the cannon page not on the duplicate pages.. there is also some other strange code with it. I will show and hide the url.. However I wanted to know if this would stop google bots crawling this page correctly as they dont seem to rank very well either.. here is the code:
Technical SEO | | ibusmedia0 -
Rel=author
Hi everyone, i'm trying to understand the rel=author thing for cotent, i need some clarification please. Firstly do you only use it for content on your site or can you have it for a guest post you have done on another domain which is not your own - linking to your author profile on your domain? Secondly implementing it, i understand it's 3 links: 1., Link on your content where the blog post is with a rel=author going to your domain authort page. 2., a link from your domain author page going to your google + profile. This is rel=me 3 a link on your google+ profile to your blog? if so how do i do this? i only have an option to edit about page and add recommended links? there is no 'contributor' section. I am UK profile also. Any help really appreciated, thanks guys.
Technical SEO | | pauledwards0 -
On-Page Report Card, rel canonical
My site has the rel canonical tags set up for it. The developers say that it is set up correctly. Looking at the source code myself, it looks (to my untutored eyes) to be set up correctly. However, on the On Page Report Card for every page I have checked, it says that it doesn't point to the right page. I'd really like to change all my 'B's to 'A's, but I simply can't see what the issue is.
Technical SEO | | Breakout0 -
Appropriate Use of Rel Canonical
When using the On page report card I get a critical error on Rel Canonical Im not sure if I have understood this right but I think that my problem is that I own a Norwegian Domain name which is www.danske-båten.no This domain works great in norwegian, but I get problems with english (foreign) browsers. My english domain name is http://www.danske-båten.no. When you buy a domain name with the letter Å you get a non norwegian domain name as well. (dont quite get the tecnical aspect of it) Så when I publish a page (using wordpress if that means anything) I get this message: Appropriate Use of Rel Canonical Moderate fix <dl> <dt>Canonical URL</dt> <dd>"http://www.danske-båten.no/ferge-oslo-københavn/"</dd> <dt>Explanation</dt> <dd>If the canonical tag is pointing to a different URL, engines will not count this page as the reference resource and thus, it won't have an opportunity to rank. Make sure you're targeting the right page (if this isn't it, you can reset the target above) and then change the canonical tag to reference that URL.</dd> <dt>Recommendation</dt> <dd>We check to make sure that IF you use canonical URL tags, it points to the right page. If the canonical tag points to a different URL, engines will not count this page as the reference resource and thus, it won't have an opportunity to rank. If you've not made this page the rel=canonical target, change the reference to this URL. NOTE: For pages not employing canonical URL tags, this factor does not apply.</dd> <dd>So What to do to fix this?
Technical SEO | | stlastla
</dd> </dl>0