Error Pages with Backlinks
Pages which have backlinks but which return an error status code.
Priority: Critical
Impact: Negative
What issues it may cause
These URLs have backlinks from external websites but don't return a 200 status code or a valid redirect which means that PageRank or link equity which may have been passed by those backlinks is lost.
How do you fix it
- Consider restoring the page so it returns a 200 response.
- Consider redirecting the URL to an equivalent working page which responds with a 200 status
What is the positive impact
The rankings of other pages may be improved as PageRank can be passed to other pages and distributed throughout the site.
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
- Variables
- cURL
query GetReportStatForCrawl(
$crawlId: ObjectID!
$reportTemplateCode: String!
$after: String
) {
getReportStat(
input: {crawlId: $crawlId, reportTemplateCode: $reportTemplateCode}
) {
crawlUrls(after: $after, reportType: Basic) {
nodes {
pageTitle
url
description
foundAtUrl
backlinkDomainCount
backlinkCount
deeprank
level
httpStatusCode
failedReason
backlinkCount
gaVisits
foundInGoogleAnalytics
foundInGoogleSearchConsole
foundInBacklinks
foundInList
foundInLogSummary
foundInWebCrawl
foundInSitemap
}
totalCount
pageInfo {
endCursor
hasNextPage
}
}
}
}
{"crawlId":"TjAwNUNyYXdsNDAwMA","reportTemplateCode":"backlink_pages_with_errors"}
curl -X POST -H "Content-Type: application/json" -H "apollographql-client-name: docs-example-client" -H "apollographql-client-version: 1.0.0" -H "x-auth-token: YOUR_API_SESSION_TOKEN" --data '{"query":"query GetReportStatForCrawl( $crawlId: ObjectID! $reportTemplateCode: String! $after: String ) { getReportStat( input: {crawlId: $crawlId, reportTemplateCode: $reportTemplateCode} ) { crawlUrls(after: $after, reportType: Basic) { nodes { pageTitle url description foundAtUrl backlinkDomainCount backlinkCount deeprank level httpStatusCode failedReason backlinkCount gaVisits foundInGoogleAnalytics foundInGoogleSearchConsole foundInBacklinks foundInList foundInLogSummary foundInWebCrawl foundInSitemap } totalCount pageInfo { endCursor hasNextPage } } } }","variables":{"crawlId":"TjAwNUNyYXdsNDAwMA","reportTemplateCode":"backlink_pages_with_errors"}}' https://api.lumar.io/graphql