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
-
Unsolved Moz is showing a canonical error that dont belong.
Hi guys, and thanks for this excellent source of information. i have an issue with the moz system because is telling to me that i dont have canonical instructions but i have canonical instructions on all my pages, so... im confused because maybe im not understanding what the system want to show to me. if you can help me i will be very gratefull. here you can see a page that have the canonical instruction. https://drive.google.com/file/d/14U_-Sgu_NQaB7kMBH3AguHQMHyHX9L8X/view?usp=sharing and here you can see what is reporting to me the MOZ system. https://drive.google.com/file/d/1pqgSC-V9WOyBPvQEr06pbqpLf_w7-q8J/view?usp=sharing this is happening on 19 pages, and all the 19 pages have the canonical instruction.
On-Page Optimization | | b-lab
thanks in advance guys.0 -
Site is too slow? Seeing a new code.
Site is too slow. I am seeing this new code more than 1000 times in my home page- What should I do now? My site- http://a1stlucie.com/
On-Page Optimization | | Beachflower0 -
Rel Canonical help
Is it possible to confirm this to me please? My understanding of the rel canonical tag was to tell google of duplicate content? so for instance product 1
On-Page Optimization | | TeamacPaints
www.ourdomain.co.uk/products/category/subcategory/theproduct1 Product 1a
www.ourdomain.co.uk/products/category/subcategory/theproduct1a same content just a different colour would be rel canonical'd to Product 1 as thats the main product, is my understanding correct? Now here is what I have discovered. www.ourdomain.co.uk/products/category/subcategory/theproduct1 has a rel canonical tag that reverts back to www.ourdomain.co.uk/products/ which isn't optimized as such its just a generic catalog page. This is inccorect and google will dismiss the actial product and revert to the generic catalog page? any help would be great.0 -
301, Canonical, and Page Authority
I have been trying to find an answer to this question for awhile now but I am having trouble. I have a clients site that I need to redirect and Canonical the pages to correct duplicate content issues and title tags however, the issue with this client is that some of the www. pages have a higher PA than non-www and the reverse is true. I am wondering if there is an issue with chasing the PA to get the highest PA per page (even if this means the site is going to be a mix of www. and non-www. pages)? I am extremely new to SEO so I apologize ahead of time if I missed this in the forum.
On-Page Optimization | | Highline_Ideas0 -
Appropriate Use of Rel Canonical
I have encountered problems regarding rel canonical. When I ran On-Page Report Card it says **Error: ** Appropriate Use of Rel Canonical Canonical URL: "http://www.sourcedental.createmyid.net/teeth-whitening/" Explanation: 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. Recommendation 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." I just don't know how to fix this. I am using Wordpress SEO by Yoast but I haven't change any settings regarding rel canonical. Can anyone help me with this? Thanks
On-Page Optimization | | projectassistant0 -
Can rel="canonical" refer to another website page?
I want to republish the post from another website with their permission and want to abide by Google guidelines. Google guidelines is clear when you are using the same content at different parts of the same site however not when using it on another site in a legitimate way. Is there some way to use rel="canonical" refer to another website page of you are reproducing the content from same page?
On-Page Optimization | | h1seo0 -
Which pages should use rel="canonical" links?
I have many pages showing up as multiple content. Most of the them belong to product pages for my store, login pages that show up everywhere on the site, etc. I know that I need to use the rel=canonical link in the header but after searching the forum I'm still unsure of what pages need it. Is it the pages that I don't want searched/crawled by Google or the other way around? Thanks! Crystal
On-Page Optimization | | COfashionista0 -
Follow up on "Canonical Tag Placement - Every Page?"
But if it is like Pete said, I don't understand why e.g. SEO Moz has a Canonical Tag on this Page http://www.seomoz.org/blog/canonical-url-tag-the-most-important-advancement-in-seo-practices-since-sitemaps Which leads to the exact same page!? What is the benefit of doing so? Regards
On-Page Optimization | | Here4You0