Non-301 Redirects
All 302, 303, 307, 308 and meta refresh redirects chains found in the crawl.
Priority: Critical
Impact: Negative
What issues it may cause
The URLs will temporarily remain in search engine results pages although the temporary redirect will eventually be seen as permanent by search engines.
The PageRank from the redirecting URL will not be consolidated to the redirect target.
How do you fix it
If the redirect is intended to be permanent then the redirect type should be changed to a 301.
What is the positive impact
The redirect target pages will be indexed faster and PageRank will be passed to the redirect target, potentially improving rankings, 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 {
url
redirectChain
redirectedToUrl
foundAtUrl
foundAtSitemap
deeprank
level
httpStatusCode
metaRedirect
redirectedToStatusCode
redirectCount
foundInGoogleAnalytics
foundInGoogleSearchConsole
foundInBacklinks
foundInList
foundInLogSummary
foundInWebCrawl
foundInSitemap
}
}
}
}
}
}
{"crawlId":"TjAwNUNyYXdsNDAwMA","reportTemplateCode":"non_301_redirects"}
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 { url redirectChain redirectedToUrl foundAtUrl foundAtSitemap deeprank level httpStatusCode metaRedirect redirectedToStatusCode redirectCount foundInGoogleAnalytics foundInGoogleSearchConsole foundInBacklinks foundInList foundInLogSummary foundInWebCrawl foundInSitemap } } } } } }","variables":{"crawlId":"TjAwNUNyYXdsNDAwMA","reportTemplateCode":"non_301_redirects"}}' https://api.lumar.io/graphql