Canonicals & duplicates
Canonical tag Google ignores because of an extra attribute
One of the 156 checks Lala SEO runs on every page of a site in a free audit.
- How serious
- Worth fixing. Weakens how Google reads or shows the page. Fix after the serious ones.
- Based on
- Google's own documentation
What is wrong
Your canonical tags include extra attributes that Google ignores. A canonical tag tells Google which version of a page is the official one when you have duplicates—for example, the same content at both www.example.com and example.com. The tag only works when it contains the URL and nothing else. Any additional attributes (like `title`, `rel`, or custom data) cause Google to skip the entire tag and treat all versions as separate pages.
Why it costs you
When Google ignores your canonical tag, it may index multiple versions of the same page instead of the one you chose. This splits your authority across those versions, so each ranks lower than a single consolidated page would. Visitors may also land on the wrong version of a page, or see duplicate content warnings in Search Console.
How to fix it
Find every canonical tag in your pages' HTML head section—they look like `<link rel="canonical" href="https://example.com/page" />`. Remove any attributes beyond `rel`, `href`, and `type`. The simplest fix is to edit your site template or CMS setting that generates canonical tags, so all pages follow the correct format automatically. If you use a plugin or SEO tool to add canonicals, check its settings to ensure it outputs the tag with nothing extra.
What the audit tests
- No canonical tag carries an hreflang, lang, media or type attribute, which make Google ignore it
Check your site
Run a free audit of up to 300 pages. No card needed.
Start a free auditOr check a single address with the free tool.
Other canonicals & duplicates checks
- Canonical loop
- Canonical points at a page that canonicalises somewhere else
- Canonical points to a redirecting URL
- Canonical points to another domain
- Canonical target never returned 200 in this crawl
- Different URLs serving identical content
- More than one rel=canonical on a page
- No canonical tag
- Relative rel=canonical
- The site answers on more than one address
- rel=canonical contains a URL fragment
- rel=canonical outside <head>