Uncategorized HTTP Response Codes
All pages returning a text/html content type, and an HTTP response code which is not defined by W3C.
Priority: Critical
Impact: Negative
What issues it may causeโ
Search engines only interpret a specific set of recognised status codes. These URLs will not be indexed in search engines, and the body content will be ignored.
How do you fix itโ
The status codes should be reviewed to see if there is a more appropriate alternative.
What is the positive impactโ
If the page is working and can be changed to a 200 status then it can be indexed, and drive additional traffic and conversions.
If the page can be redirected to an appropriate alternative, then any link authority from backlinks can be passed on helping the redirect target pages to rank better in search results and drive more traffic and conversions.
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 GetReportForCrawl($crawlId: ObjectID!, $reportTemplateCode: String!) {
getCrawl(id: $crawlId) {
reportsByCode(
input: {
reportTypeCodes: Basic
reportTemplateCodes: [$reportTemplateCode]
}
) {
rows {
nodes {
... on CrawlUrls {
pageTitle
url
description
foundAtUrl
deeprank
level
httpStatusCode
foundInGoogleAnalytics
foundInGoogleSearchConsole
foundInBacklinks
foundInList
foundInLogSummary
foundInWebCrawl
foundInSitemap
}
}
}
}
}
}
{"crawlId":"TjAwNUNyYXdsNDAwMA","reportTemplateCode":"uncategorised_http_response_codes"}
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 GetReportForCrawl($crawlId: ObjectID!, $reportTemplateCode: String!) { getCrawl(id: $crawlId) { reportsByCode( input: { reportTypeCodes: Basic reportTemplateCodes: [$reportTemplateCode] } ) { rows { nodes { ... on CrawlUrls { pageTitle url description foundAtUrl deeprank level httpStatusCode foundInGoogleAnalytics foundInGoogleSearchConsole foundInBacklinks foundInList foundInLogSummary foundInWebCrawl foundInSitemap } } } } } }","variables":{"crawlId":"TjAwNUNyYXdsNDAwMA","reportTemplateCode":"uncategorised_http_response_codes"}}' https://api.lumar.io/graphql