Empty Pages
All indexable pages with less content than the Content Size setting specified in Advanced settings > Report settings.
Priority: Critical
Impact: Negative
What issues it may cause
The pages may be a bad user experience for users, increasing bounce/exit rates and therefore impacting rankings, traffic and conversion rates.
If the pages should not exist then they will waste crawl budget which could be used on other more important pages.
How do you fix it
If the page is broken and is intended to have content then it should be fixed so it shows some content.
If the page is not intended to exist, it should either be redirected to an equivalent page and internal links updated, or removed so it returns a 404 or 410 status code and the internal links to the pages should be removed.
What is the positive impact
Adding content should improve the engagement of the page, potentially resulting in an mprovement in ranking and traffic.
If the pages are unnecessary and removed, the URLs will be crawled less often, improving crawl efficiency and saving on server costs.
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
description
url
foundAtUrl
contentSize
deeprank
level
wordCount
foundInGoogleAnalytics
foundInGoogleSearchConsole
foundInBacklinks
foundInList
foundInLogSummary
foundInWebCrawl
foundInSitemap
}
totalCount
pageInfo {
endCursor
hasNextPage
}
}
}
}
{"crawlId":"TjAwNUNyYXdsNDAwMA","reportTemplateCode":"empty_pages"}
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 description url foundAtUrl contentSize deeprank level wordCount foundInGoogleAnalytics foundInGoogleSearchConsole foundInBacklinks foundInList foundInLogSummary foundInWebCrawl foundInSitemap } totalCount pageInfo { endCursor hasNextPage } } } }","variables":{"crawlId":"TjAwNUNyYXdsNDAwMA","reportTemplateCode":"empty_pages"}}' https://api.lumar.io/graphql