Skip to main content

Rendered Canonical Link Mismatch

All pages found with URL in canonical tag in the rendered DOM not matching the canonical tag URL in the raw HTML source.

Priority: Low

Impact: Negative

What issues it may cause

If the canonical URL found in the static HTML is different to the canonical URL in the rendered HTML the search engines may ignore them both.

If the search engines have problems rendering the pages correctly they may not be able to see the rendered HTML canonical URL.

How do you fix it

Serve a consistent canonical URL on the static HTML and rendered HTML, or only serve the canonical in the rendered HTML.

What is the positive impact

Search engines will be able to process the canonical signal correctly, potentially reducing indexing issues.

How to fetch the data for this report template

You will need to run a crawl for report template to generate report. When report has been generated and you have crawl id you can fetch data for the report using the following query:

query GetReportStatForCrawl(
$crawlId: ObjectID!
$reportTemplateCode: String!
$after: String
) {
getReportStat(
input: {crawlId: $crawlId, reportTemplateCode: $reportTemplateCode}
) {
crawlUrls(after: $after, reportType: Basic) {
nodes {
pageTitle
url
canonicalUrl
foundAtUrl
deeprank
level
renderedCanonicalLinkMatch
renderedWordCountDifference
renderedLinkCountDifference
foundInWebCrawl
foundInSitemap
foundInGoogleSearchConsole
foundInGoogleAnalytics
foundInBacklinks
foundInLogSummary
foundInList
}
totalCount
pageInfo {
endCursor
hasNextPage
}
}
}
}

Try in explorer