Disappearing Rel=Canonical Code
-
Hi,
I've been getting a lot of rel=canonical warnings from seomoz. I went into the original pages and pasted in plain text the following code:
link rel="canonical" href="http://www.example.com/blog/my-awesome-blog-post"<
(the > are reversed).
After a few crawls I couldn't see any effect from posting the code. When I went and checked again, it didn't stay in the wysiwyg editor. It disappeared!
We are using Drupal 6. Could someone tell me what code I should be pasting?
Thanks!
-
Hi Keri,
Thanks for the message! We are getting double content warnings so I thought that the absence of a rel=canonical script was causing the double content warning. Appreciate the confirmation - that saved a TON of time.
Cheers!
-
Hi! Those are actually rel=canonical notices, not warnings. It's a note to let you know that they are there and to make sure everything looks OK, not that there's something wrong.
-
I am glad :}
cheers
-
Hi Ayaz,
How odd! I was able to control F and find the rel=canonical link in the page source. I wonder why it doesn't show up in wysiwyg??
Thanks for that - very, very helpful!
-
You can do that by loading the page in your browser, right click somewhere and view source. or you can provide the link here and i can take a quick look for you.
-
Hi Ayaz,
That was a great idea to clear the cache. Unfortunately it didn't work.
I'm actually not sure how to verify on the page source code...
Thanks!
-
Hi, have you verified in the page's source code if the canonical code is showing up, or if you are using any sort of cache system, its wise to clear the cache and check agian.
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
-
Canonical Homepage Multi-language Website
Hello, Our development department is building a multi-language webshop.
On-Page Optimization | | X-com_Maasbree
Due to the multi-language module that they've used, we have example.com and example.com/nl having exactly the same content. In order to avoid duplicate content, those pages have the following canonicals:
1. example.com -> Canonical to example.com/nl
2. example.com/nl -> Canonical to example.com/nl Do I loose SEO-value by not canonicalising directly to the root-domain homepage (example.com)?0 -
ASP Canonical and Internal Linking
Hello - I'm working with a large ASP website and trying to troubleshoot issues I believe might be related to how the canonical element is used. On page - all internal links, including navigation links, use the following format (uppercase) - website.com**/F**older/Folder/Product . So, any page navigated to will always display the uppercase version of the URL. And, all of these pages have the canonical tag pointing to the lowercase version of the URL. The pages included in Google's index are all lowercase versions of the URL like this - website.com**/f**older/folder/product . My concern is that a lot of internal authority flow is being impacted/negated because all internal links point to the uppercase versions of URLs and all those pages reference the lowercase version URL in the canonical reference. Is this a valid concern?
On-Page Optimization | | LA_Steve0 -
Does blogging with a wysiwyg negatively affect SEO (vs. hand coding)?
Many bloggers use a wysiwyg editor to write posts. Are there any drawbacks to wysiwyg vs plain text? When I write blogs I prefer to hand code my text to be sure everything is optimized. My feeling is that wysiwyg leads to code bloat and generally fewer optimization opportunities. I have no real evidence. Is there any reason not to use the wysiwyg editor?
On-Page Optimization | | Jason-Rogers0 -
Code Quality checker tool?
Hi All, I have seen one tool - http://nibbler.silktide.com/ which give code quality score and if we go for pro version it's name is sitebeam - http://nibbler.silktide.com/en_US/pro Can anyone share experience of this tool? Also any other tool you can suggest to check code quality of ecommerce site? Pls don't suggest manual checking. Thanks!
On-Page Optimization | | pragnesh96390 -
Canonical rel
I am having a few issues understanding the whole report card and canonical issue. I have a wordpress blog www.theseolab.com.au. When i created the blog i had setup http://theseolab.com.au and i thought that was my mistake. When i ran the on page report for www.theseolab.com.au . It said that my canonical was http://theseolab.com. So i changed it and my canonical points to http://www.theseolab.com.au. 5 days later i run the on page again and it still says that there are issues and it still shows that my website canonical is not pointing to the right link. Does it take time to update or am i missing something?
On-Page Optimization | | theseolab0 -
Experiences with pagination rel=next and prev
I have read about people saying that using the rel next and prev tags did not take any positive effect on their sites... In my case I do not have a typical pagination 1,2,3 but a site about tours in the amazon where each tour-description is divided into a page with an overview, itinerary, Dates & Prices so instead of Site 1,2,3 Buttons I have the Btns: Tour Overview, Itinerary, Prices So as all the of pages belong together I thought the rel=next & prev tags will be useful.
On-Page Optimization | | inlinear
Also I want to avoid duplicate content when the page title of the three is pretty similar. Right now the Title is like this:
Amazon Tour XXX YYYY
Amazon Tour XXX - itinerary
Amazon Tour XXX - prices The description text is more different... Is this the best practice in my case? Thanks for all your opinions! 🙂 best regards,
Holger0 -
Canonical Tag for Ecommerce Site
I implemented a canonical tag on each product page for my clients ecommerce site and my rankings tanked. Has this happened to anyone else? If so, when can I expect rank to return?
On-Page Optimization | | DynoSaur0 -
"Canonical URL Tag Usage" recommendation in SEOmoz "On-Page Optimization" Tool
Here comes another one related to SEOmoz "On-Page Optimization" Tool. The tool says the following about one of our pages: Canonical URL Tag Usage Explanation: Although the canonical URL tag is generally thought of as a way to solve duplicate content problems, it can be extremely wise to
On-Page Optimization | | gerardoH
use it on every (unique) page of a site to help prevent any query strings, session IDs, scraped versions, licensing deals or future
developments to potentially create a secondary version and pull link juice or other metrics away from the original. We believe
the canonical URL tag is a best practice to help prevent future problems, even if nothing is specifically duplicate/problematic
today. Recommendation: Add a canonical URL tag referencing this URL to the header of the page. Let's say our page is http://www.example.com/brands/abc-brand and on its header we'll place the following tag: Is this correct? I thought the canonical tag was meant for duplicates of the original page, for example: http://www.example.com/brands/print/abc-brand href="http://www.example.com/brands/abc-brand**?SESSID=123** Thanks in advance.0