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
-
Tag Clouds in Google Despite Canonical Links for Single Tags/Articles
I am frustrated to see a lot tag clouds in Google even though I programmed my tagged pages to display a canonical link to the linking article if the is only one result for the tag cloud. The goal to to make sure that the article, which is of better quality than the tag page, ends up in Google without a bunch of thin tag pages getting in there. For instance this article should be in Google and this tag should not be because that tag has a canonical URL for that article. I do not have a lot of experience with tag cloud SEO because I prefer to limit such pages to categories, but I have found tag clouds to be important for aggregating information for specific issues, people, or places that are not already a site category. Some tags I have used to power social media pages that update automatically from RSS feeds for their related tag archives. That is quite useful for pages like that. Should I start using Meta noindex for those instead of rel canonical? I have already done that for author profiles because author profiles get a lot of on site links compared to individual articles because my gridviews use javascript for paging. The same is true for the tags, so if a tag is tagged in 30 articles it will have links from 30 articles but if those articles are not in the latest 20 for that tag only the latest 20 will have links back from the tag archive. I also suspect having a lot of tag pages with little content to negatively impact my indexing rate. I will see a number of recent tag pages added before new articles.
On-Page Optimization | | CopBlaster.com0 -
Can Google read this code?
I'm working on some basic on-page SEO content for a website within my company and I need some guidance as far as 1. whether Google can read the small amount of existing text (not optimized) and if it isn't spiderable, then 2. what code should be there instead. Here is the site: https://www.le-velgear.com/store/catalog The text I'm referring to is toward the bottom of the page (isn't it always?) and says this: Designed for a Thriving Lifestyle The Le-Vel Gear store is an extension of the LV Life, the Thrive product line, and the world's largest health and wellness Movement, which you helped create. Living a life you deserve includes looking good while showing the world your pride in being a Thriver...Check out all the new and incredible gear and tools and take your Thriving lifestyle to the next level!!! When I "View Source," I cannot see the text, however, the text is highlight-able with my cursor and I can see it when I "Inspect Element" in a container that says Thanks in advance for any help!
On-Page Optimization | | lizzyr0 -
Canonical home page references - logo link
should a website's logo be linked to the "abc.com/index.html" page or to the "abc.com" domain root? Is one better for the search engine robots?
On-Page Optimization | | mtishman1 -
# code not detected
Hi guys, my H1 code is like but Yoast SEO and Google Page Speed keeps saying that i do not have a H1 tag in my website, Is my code wrong? Keyword | Keyword2
On-Page Optimization | | kevinbp0 -
What are all those meta name= and link rel= on the cnn home page source?
I usually use Description, title and keywords tag. I keep seeing these meta name = "classification" or "distribution" and also link rel =stylesheet" and "pingback" etc. Please tell me how important this is for SEO. It would be great to be pointed to the right page. Also, is there a wordpress pluggin to just fill in and have these be populated on the front end? Thank You
On-Page Optimization | | waspmobile0 -
Is it a good idea to rel=canonical dozens of old outdated pages?
we have dozens old outdated manual pages that still need to be up, but have terrible code issues (they're exported from word) and no image tagging, etc. there are new pages in place, so should i rel=canonical to the new pages? will this transfer any link juice to the newer, more seo-friendly ones?
On-Page Optimization | | DerekM880 -
See screenshot: Is this an example of Canonical issue or am I making an error in judgement?
Hi Mozzers. Please see the constructed screen grab from Open site explorer. Do I have canonical Errors with this client? Thanks! jX7X6.jpg
On-Page Optimization | | Giggy0 -
Confirmation regarding canonical and syndication google tags
Hi, We are in the process of improving our CMS upstream to resolve our duplicate content issues. We were hit pretty hard by the Panda update. One of the steps we have taken is implementation of the canonical link tag across all domains in our site. You see, we are a news release service with muliple channels and websites to represent each. The problem is that a client will submit a release and in many cases the news item is relevant to multiple channels I.E. multiple websites under the same IP range. Site Examples:
On-Page Optimization | | jarrett.mackay
www.hotelnewsresource.com www.restaurantnewsresource.com
www.travelindustrywire.com From a user perspective, it makes sense that they should be able to access the article from the site they are browsing without being redirected to the site we feel carries the most relevance. We hope the canconical tag will resolve this issue for us. I have also read about the syndication tag and was looking for feedback or recommendations if we should implement that also, but it may be overkill as the two tags objectives seem to be similar. I guess my first question is if the syndication tag is only used by Google News. Secondly, and a little off topic is that we also offer an API and like many other sites, I have read, our content partners are now doing better in primary and long tail rankings even thought we are the original source. My assumption is that we should modify the API to force using both caconical and syndication tags as well. Lastly, I´m curious if anyone has tested the original source tag and if we should implement that as well. Thanks everyone. Jarrett0