Document canonical link was empty

Rule from seo under content category

What is a trooper!

we have submitted your edit to the community for review! We'll review and make it live on the site in the next few hours, the internet thanks you :).

Browse another section of the knowledge base

Suggest an edit


This rule has no content... yet.

Add content to this rule

Or just browse to view rules that have content


Leaving the canonical link's href attribute empty might cause search engines to penalize a website's pages. Having a canonical location set in your link element for pages with similar or duplicate content would prevent this problem.

The canonical link element on the page needs to inform search engines about the appropriate page to use to define the content of the current page. This is important when the current page might contain content very similar to other pages on your website.

    <title>Page with generic possible duplicate content</title>
    <link rel="canonical" href=""/>

How do I fix this ?

The href= element attribute should not be empty, it should reference a page with the source of the duplicate content. That same page needs to be referred to in the <link rel="canonical" element of all the pages that might share this duplicate content.


Browse another section of the knowledge base

Signup icon
Ready to see how well your site scores?

Passmarked works best when you have an account. It allows you to keep a dashboard with saved data of the sites you have run through the system, we’ll alert you about important updates and you get access to the Passmarked Slack forum.

Sign up to get started