Broken canonical link errors
-
Hello,
Several tools I'm using are returning errors due to "broken canonical links". However, I'm not too sure why is that.
Eg.
Page URL: domain.com/page.html?xxxx
Canonical link URL: domain.com/page.html
Returns an error.Any idea why? Am I doing it wrong?
Thanks,
G -
Great, thanks for your note Paul, I will filter through as you suggest!
-
I would us a different
rel="canonical" only url for the canonical & kee the microdata link as just a link.
I agree it is probably Just the tool but from what I can see mixing microdata & the canonical is not the best way to go.
<link rel="canonical" href="http: example.com="" "=""></link rel="canonical" href="http:>
you want a free way to test up to 500 pages https://screamingfrog.co.uk/seo-spider/ like Paul said any tool can be wrong but it looks like you should not mix the canonical something the end Users can click on
tom
-
Your understanding of canonical tags is correct, GhillC.
If Tools are showing errors for those canonical tags you've listed, then the tools are wrong.
As long as the protocol and subdomain prefix (or not) exactly match and the only difference is the exclusion of the parameters (the "?" and the stuff after it) then the canonicals are correct.
Any tool's reports have to be filtered through your own understanding and knowledge. They often get things wrong. That's on eof the key differences between experienced SEOs and less-experienced. They kow when to question what an automated tool is telling them. So good on ya for questioning the results!
Paul
-
Thanks both.
Though I do believe that I get a good enough understanding of the canonical tag structure.
What I don't understand is why some SEO tools are returning an error with few of these tags.Here is the page URL:
https://www.domain.com/ae/products/shopby/product-type-accessories.html?___store=en_aeAnd here is the canonical tag that returns the error:
As per your comment, I want the URL without the query string to rank and the traffic associated to the URL above to benefit "accessories.html".
At first I thought it was due to "itemprop" which technically should not be combined with a rel attribute (source: https://stackoverflow.com/questions/31621308/itemprop-and-rel-attributes-on-same-element)
But since all the pages of the website I'm working on contains canonical tags with both elements and only a handful of them returns a canonical tag error, I guess it comes from something else. -
If you need anyone to back up what Roman said he's exactly right.
You need to add the canonical to your site so it is self-referencing I would not add it to any URLs that have parameters/query strings or any URL that you want to be in Google's index.
In your example you show the same page twice I added https:// just to make it a full URL for the example and please do that when you add the canonical's
With the rel canonical, you're telling Google that your parameter is not something you want to rank for
You want https://domain.com/page.html to rank
** not**
**Page URL: https://domain.com/page.html?xxxx **
So as Roman said you would add a rel canonical like this below. Please keep in mind when you add these you must add HTTP or HTTPS depending on what your site is up for as well as www. or non-www. & always use absolute URLs
For example, search crawlers might be able to reach your homepage in all of the following ways:
Cite: https://moz.com/learn/seo/canonicalization
More references
- https://support.google.com/webmasters/answer/139066?hl=en
- https://moz.com/blog/rel-canonical
- https://varvy.com/rel/canonical.html
I hope that helps,
Tom
-
A canonical tag (aka "rel canonical") is a way of telling search engines that a specific URL represents the master copy of a page. Using the canonical tag prevents problems caused by identical or "duplicate" content appearing on multiple URLs. Practically speaking, the canonical tag tells search engines which version of a URL you want to appear in search results.
So if you have a page such as
www.mywesbite.com you should have a canonical tag on that page like this one
on your headerSo you should check your source code to check if the URL is ok or it's missing
These are some links you should read
Hope this information will answer your question
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
-
How are these links being displayed?
How does one markup their site to get the small sitelinks to appear in SERP listings as seen in the example image below? jJiQYy3
Technical SEO | | SelectHub0 -
Confused on footer links (Which are best practices for footer links on other websites?)
Hello folks, We are eCommerce web design and Development Company and we give do follow links of our website to every projects which we have done with specific keywords. So now the concern is we are seeing huge amount of back-links are being generated from single root domain for particular keyword in webmaster tools. So what should be the best way to practice this? Should we give no follow attribute to it or can use our company logo with link? LtMjHER.png
Technical SEO | | CommercePundit0 -
Duplication, pagination and the canonical
Hi all, and thank you in advance for your assistance. We have an issue of paginated pages being seen as duplicates by pro.moz crawlers. The paginated pages do have duplicated by content, but are not duplicates of each other. Rather they pull through a summary of the product descriptions from other landing pages on the site. I was planing to use rel=canonical to deal with them, however I am concerned as the paginated pages are not identical to each other, but do feature their own set of duplicate content! We have a similar issue with pages that are not paginated but feature tabs that alter the URL parameters like so: ?st=BlueWidgets ?st=RedSocks ?st=Offers These are being seen as duplicates of the main URL, and again all feature duplicate content pulled from elsewhere in the site, but are not duplicates of each other. Would a canonical tag be suitable here? Many Thanks
Technical SEO | | .egg0 -
404's in WMT are old pages and referrer links no longer linking to them.
Within the last 6 days, Google Webmaster Tools has shown a jump in 404's - around 7000. The 404 pages are from our old browse from an old platform, we no longer use them or link to them. I don't know how Google is finding these pages, when I check the referrer links, they are either 404's themselves or the page exists but the link to the 404 in question is not on the page or in the source code. The sitemap is also often referenced as a referrer but these links are definitely not in our sitemap and haven't been for some time. So it looks to me like the referrer data is outdated. Is that possible? But somehow these pages are still being found, any ideas on how I can diagnose the problem and find out how google is finding them?
Technical SEO | | rock220 -
Should I use canonical?
I'm working on a site that sells audio tracks, the site is a Wordpress build. I've got Yoast and XML Sitemaps running for SEO. The site has been developed (not by myself) to use a flash based audio player. Now this player offers the ability to share, sell products etc... The player has been placed on the homepage and the main music catalog page. The main catalog page has had a custom page type created for itself. This page has been created in such a way that if you visit the actual page from dashboard > Pages and add content then no content will appear on the page. Even the page header is pulled from the PHP. So really as far as I am aware no real content is being seen on the page by a search engine. Except the content on the side bars (it has 2 sidebars on either side of the page.) The homepage has an introductory paragraph and header which are editable via the normal method in Wordpress. A custom post type has been created specifically for music items. When a music item is uploaded it is added to the music item feed on the homepage and music catalog pages. It also creates a separate post for the item itself. These items at the moment also have 'no content' as they are only sidebars with a flash music player. I've started to add short paragraphs and headers to them so there is content on the music item posts. I cannot however, in the time frame/budget start entering deeply descriptive content about each item. (I considered adding the intro paragraph from the homepage and using a canonical tag to the homepage on every music item). So here is my question. What do I do with these music items? Do I use canonical and point them toward the music catalog or the homepage? If so which one? I want the homepage or music catalog page to rank well and I am concerned that search engines aren't going to see these most vital parts of the site. I don't think individual items ranking is helpful, so what do i do?!?! The home and catalog pages are the two main pages of the site. I am going to advise a new player, page type etc... be utilised but at the moment I need a solution quickly. Any help will be much appreciated.
Technical SEO | | benyamin0 -
Do I need to add canonical link tags to pages that I promote & track w/ UTM tags?
New to SEOmoz, loving it so far. I promote content on my site a lot and am diligent about using UTM tags to track conversions & attribute data properly. I was reading earlier about the use of link rel=canonical in the case of duplicate page content and can't find a conclusive answer whether or not I need to add the canonical tag to these pages. Do I need the canonical tag in this case? If so, can the canonical tag live in the HEAD section of the original / base page itself as well as any other URLs that call that content (that have UTM tags, etc)? Thank you.
Technical SEO | | askotzko1 -
Nofollow link passing link juice
Can a link which is nofollwed pass link juice ? Please see the discussion at - http://www.seomoz.org/q/if-multiple-links-on-a-page-point-to-the-same-url-and-one-of-them-is-no-followed-does-that-impact-the-one-that-isn-t
Technical SEO | | seoug_20050 -
Link API returns Error 500
http://lsapi.seomoz.com/linkscape/links/nz.yahoo.com?SourceCols=4&Limit=100&Sort=domain_authority&Scope=domain_to_domain&Filter=external+follow&LinkCols=4 Hi folks any idea why the above returns Err 500 ? Seems to pertain to the domain - it works on other sites just not nz.yahoo.com Thanks!
Technical SEO | | jimbo_kemp0