Indexability · Canonicals

Canonical contains superfluous attributes

The canonical link carries unnecessary attributes. Harmless in most cases but worth tidying.

How this page is built

The canonical link on this page points to itself but carries an unnecessary title attribute.

Why it matters

Extra attributes on a canonical link, such as a title, are not part of the signal and are ignored. They are harmless on their own.

They do suggest the canonical is being built by hand or by a template that copies attributes it should not. That makes it easier for a meaningful attribute, such as hreflang, to be added by mistake later.

How to check it

View the source and list every attribute on the canonical link. Attributes such as title, id or class add nothing. A crawl tool with custom extraction can pull out the full canonical element from every page, so you can see whether a shared template or plugin is adding them.

How to fix it

Remove every attribute apart from rel and href.

Generate the canonical from a single, simple partial in the layout so every page uses the same clean markup, and check it from time to time with a crawl.

Back to all tests