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
-
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 -
Google is indexing urls with parameters despite canonical
Hello Moz, Google is indexing lots of urls despite the canonical in my site. Those urls are linked all over the site with parameters like ?, and looks like Google is indexing them despite de canonical. Is Google deciding to index those urls because they are linked all over the site? The canonical tag is well implemented.
On-Page Optimization | | Red_educativa0 -
Canonical URL, cornerstone page and categories
If I want to have a cornerstone "page", can I substitute an actual page with a category archive of posts "page" (that contains many posts containing the target key phrase)? This way, if I make blog posts about a certain topic/ key phrase (example "beach weddings") and add a canonical URL of the category archive page to the individual posts, am I right then to assume google will see the archive page as the cornerstone page (and thereby won't see the individual posts with the same key phrase as competing)?
On-Page Optimization | | stephanwb0 -
Dealing with thin content/95% duplicate content - canonical vs 301 vs noindex
My client's got 14 physical locations around the country but has a webpage for each "service area" they operate in. They have a Croydon location. But a separate page for London, Croydon, Essex, Luton, Stevenage and many other places (areas near Croydon) that the Croydon location serves. Each of these pages is a near duplicate of the Croydon page with the word Croydon swapped for the area. I'm told this was a SEO tactic circa 2001. Obviously this is an issue. So the question - should I 301 redirect each of the links to the Croydon page? Or (what I believe to be the best answer) set a rel=canonical tag on the duplicate pages). Creating "real and meaningful content" on each page isn't quite an option, sorry!
On-Page Optimization | | JamesFx0 -
Help With Disappearing Rankings
Hi Guys, I am stumped!!. I have been asked to look at this site http://www.quarrymotors.co.uk. Which has lost rankings for "BMW Parts" since a redesign of the site. Through a bit of detective work I have managed to get hold ot the wayback machine version of the old site here http://web.archive.org/web/20080520104847/http://www.quarrymotors.co.uk/ And according to the onpage factors I have compared with SEOquake, the keyword density, title tag, description is almost identical. I have checked webmaster tools and analytics (I only have data from June 22nd) So I am unable to confirm what traffic was available before the redesign. All other keywords:- BMW Breakers BMW Spares Are on the first page but this keyword "BMW Parts" is on page 22??!?. I have checked open site explorer and it's not a case over optimisation of anchor text as a majority of the keywords are pointing back to the url and it's one of the cleanest profiles I have ever seen. The only issue, which it can't be is right at the top left corner of the site is a piece of text "Used BMW Parts & Spares" Any help would be gracefully appreciated Kind Regards Neil
On-Page Optimization | | nezona0 -
Rel Canonical - Could someone please help confirm something?
Morning Mozzers, I'm looking at a site (www.zitan.co.uk) and making a few recommendations for SEO, one of the things I've spotted is something weird with rel canonical. It looks (to me) as if they've got almost every single page set with this tag: rel="canonical" href="http://www.zitan.co.uk" /> I'm 99% certain that this means that every page on the site (that has this tag) is pointing all link juice / authority back to the homepage? If someone could please check and just confirm that, I'd really appreciate it. Thanks in advance, James
On-Page Optimization | | JamesMio0 -
Rel canonical Issue
I have a huge rel canonical issue showing up on my website, and I'm not sure that I fully understand why. To my knowledge, this is something that comes about when alternate urls are used to link to the same page. However, this is not a technique that I've used with my website, yet it's still raising a flag on just about every page. http://bit.ly/jYyTYN Can anyone enlighten me on what's causing this? Thanks
On-Page Optimization | | JayAdams320 -
Rel Canonical
I will be quick and to the point. I am clearly a novice. I received a notice on my seomoz account that I had 12 pages with a Rel Canonical issue. It seems serious. Can this be a quick fix? Any thoughts? Below is the site address. petbarnpdx.com Thanks in advance for any input on this! Dave
On-Page Optimization | | APICDA0