Rel canonical confusion
-
I have 172 pages on my site coming up as having a rel canoncial tag
This is not something I've added myself so I think it must either be part of wordpress or part of a plug in I'm using . ALL in One SEO?
They have come up as blue warning so not sure if it's a big deal, or what i need to do to fix it.
Thanks
Kate
-
Having rel=canonical is recommended for all pages of your website, even if it's the original version. It's because for example if your url is:
and you have that set as canonical on the page, and someone references to your page as
http://domain.com/url?ref=feed
The canonical URL will still be http://domain.com/url and hence won't count as duplicate pages.
-
Hi Neil
Thank you so much for taking the time to reply. And for checking that everything is working fine re rel canonical thingies on my site.
I really appreciate it - award yourself 20 good deed points for today.
Best wishes,
Kate -
Hi Kate - this is nothing to worry about.
Rel Canonicals are generally shown on the SEOmoz PRO dashboard as an alert/heads up, rather than a direct warning. There is, of course, potential for real damage if they're configured incorrectly, but in your case it appears the Wordpress SEO plugin you're using is doing fine.
Your canonical URLs are showing as what you most likely would expect and want them to be, the post permalinks or the category URLs.
I experimented and changed some of the letters in the URLs to uppercase, to check for problems. Whilst the URLs still resolved with uppercase characters and didn't 301 redirect to lowercase (which would generally considered best practice), the Rel canonical URLs set remained the lowercase version even with mixed case in the browser bar - this is, again, exactly how you would want it to behave.
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
-
Understanding Redirects and Canonical Tags in SEO: A Complex Case
Hi everyone, nothing serious here, i'm just playing around doing my experiments 🙂
Technical SEO | | chueneke
but if any1 of you guys understand this chaos and what was the issue here, i'd appreciate if you try to explain it to me. I had a page "Linkaufbau" on my website at https://chriseo.de/linkaufbau. My .htaccess file contains only basic SEO stuff: # removed ".html" using htaccess RewriteCond %{THE_REQUEST} ^GET\ (.*)\.html\ HTTP RewriteRule (.*)\.html$ $1 [R=301,L] # internally added .html if necessary RewriteCond %{REQUEST_FILENAME}.html -f RewriteCond %{REQUEST_URI} !/$ RewriteRule (.*) $1\.html [L] # removed "index" from directory index pages RewriteRule (.*)/index$ $1/ [R=301,L] # removed trailing "/" if not a directory RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} /$ RewriteRule (.*)/ $1 [R=301,L] # Here’s the first redirect: RedirectPermanent /index / My first three questions: Why do I need this rule? Why must this rule be at the top? Why isn't this handled by mod_rewrite? Now to the interesting part: I moved the Linkaufbau page to the SEO folder: https://chriseo.de/seo/linkaufbau and set up the redirect accordingly: RedirectPermanent /linkaufbau /seo/linkaufbau.html I deleted the old /linkaufbau page. I requested indexing for /seo/linkaufbau in the Google Search Console. Once the page was indexed, I set a canonical to the old URL: <link rel="canonical" href="https://chriseo.de/linkaufbau"> Then I resubmitted the sitemap and requested indexing for /seo/linkaufbau again, even though it was already indexed. Due to the canonical tag, the page quickly disappeared. I then requested indexing for /linkaufbau and /linkaufbau.html in GSC (the old, deleted page). After two days, both URLs were back in the serps:: https://chriseo.de/linkaufbau https://chriseo.de/linkaufbau.html this is the new page /seo/linkaufbau
b14ee095-5c03-40d5-b7fc-57d47cf66e3b-grafik.png This is the old page /linkaufbau
242d5bfd-af7c-4bed-9887-c12a29837d77-grafik.png Both URLs are now in the search results and all rankings are significantly better than before for keywords like: organic linkbuilding linkaufbau kosten linkaufbau service natürlicher linkaufbau hochwertiger linkaufbau organische backlinks linkaufbau strategie linkaufbau agentur Interestingly, both URLs (with and without .html) redirect to the new URL https://chriseo.de/seo/linkaufbau, which in turn has a canonical pointing to https://chriseo.de/linkaufbau (without .html). In the SERPs, when https://chriseo.de/linkaufbau is shown, my new, updated snippet is displayed. When /linkaufbau.html is shown, it displays the old, deleted page that had already disappeared from the index. I have now removed the canonical tag. I don't fully understand the process of what happened and why. If anyone has any ideas, I would be very grateful. Best regards,
Chris0 -
Rel Sponsored on Internal Links
Hi all. Should you use rel sponsored on internal links? Here is the scenario: a company accepts money from one of their partners to place a prominent link on their home page. That link goes to an internal page on the company's website that contains information about that partner's service. If this was an external link that the partner was paying for, then you would obviously use rel="sponsored" but since this is a link that goes from awebsite.com to awebsite.com/some-page/, it seems odd to qualify that link in this way. Does this change if the link contains a "sponsored" label in the text (not in the rel qualifier)? Does this change if this link looks more like an ad (i.e. a banner image) vs. regular text (i.e. a link in a paragraph)? Thanks for any and all guidance or examples you can share!
Technical SEO | | Matthew_Edgar0 -
Canonical question for cross-listed product listings
We have products that are listed across multiple categories. This results in muliple urls for the PDP, for example: mystore.com/shirts/shirt-101.html mystore.com/shirts/pink-shirts/shirt-101.html They make use of the canonical tag and point back to only one product listing url, however Google has indexed both urls in some cases. Has anyone else run up against this and does anyone have advice on how this should be handled?
Technical SEO | | LivDetrick0 -
Why Canonical error?
I just got my SEOMOZ run and it says I have a CANONICAL ERROR: Scorpio Earrings - 7mm Stud - Sterling Silver http://www.astrojewelry.com/jewelry/scorpio-the-scorpion-earrings-30502.htm I'm not sure why--I only changed the <title>tag--not the URL.</span></p> <p><span class="truncated sub-url" title="http://www.astrojewelry.com/jewelry/scorpio-the-scorpion-earrings-30502.htm">Why would this generate a canonical error?</span></p> <p><span class="truncated sub-url" title="http://www.astrojewelry.com/jewelry/scorpio-the-scorpion-earrings-30502.htm">Kathleen</span></p> <p><span class="truncated sub-url" title="http://www.astrojewelry.com/jewelry/scorpio-the-scorpion-earrings-30502.htm">astrojewelry.com</span></p> <p> </p> <p> </p></title>
Technical SEO | | spkcp1110 -
Should rel canonical tags include the root domain
It does sound like a silly question but bear with me a little... I recently installed on my Joomla website a module that automatically creates rel canonical tags for pages that contain lists that can be sorted by different criteria: (price, alphabetic order, etc...) I know that a proper canonical tag should look like this: However, the module I'm using creates the following structure Will this work? I mean, will it be "understood" by the bots? To see what the module actually does, you can visit the following link http://www.quipeutlefaire.fr/fr/index.php?sort=price&sort_direction=desc&limit=10&limitstart=0&option=com_auctions&category=240 In the source code you will see that the canonical tag is Which is the original "unsorted" page. Thanks in advance for your help
Technical SEO | | QPLF0 -
If you only want your home page to rank, can you use rel="canonical" on all your other pages?
If you have a lot of pages with 1 or 2 inbound links, what would be the effect of using rel="canonical" to point all those pages to the home page? Would it boost the rankings of the home page? As I understand it, your long-tail keyword traffic would start landing on the home page instead of finding what they were looking for. That would be bad, but might be worth it.
Technical SEO | | watchcases0 -
How I implement the cross domain rel canonical?
I just watched the WBF on cross domain rel canonicals. I understand the concept, but not sure how I go about actually doing the rel canonical? If I have www.mysite.com and someone we just partnered with, www.othersite.com wants to create new pages and use my content, what will the rel canonical tag look like on www.othersite.com? Do I need to also put this tag on www.mysite.com? I want to make sure each of my pages that the other site is copying is getting the "SEO credit."
Technical SEO | | NueMD0 -
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
Technical SEO | | viventuraSEO0