# Redirecting Pages in Sitemaps These pages are redirecting, but are included in your sitemaps. You should investigate these pages to check that they have been included intentionally otherwise they should be removed from sitemaps. **Priority**: Medium **Impact**: Negative ## 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: ```graphql query GetReportStatForCrawl( $crawlId: ObjectID! $reportTemplateCode: String! $after: String ) { getReportStat( input: {crawlId: $crawlId, reportTemplateCode: $reportTemplateCode} ) { crawlUrls(after: $after, reportType: Basic) { nodes { url redirectChain redirectedToUrl foundAtUrl foundAtSitemap deeprank level httpStatusCode redirectedToStatusCode redirectCount metaRedirect isRedirectLoop sitemapsInCount foundInGoogleAnalytics foundInGoogleSearchConsole foundInBacklinks foundInList foundInLogSummary foundInWebCrawl foundInSitemap } totalCount pageInfo { endCursor hasNextPage } } } } ``` **Variables:** ```json {"crawlId":"TjAwNUNyYXdsNDAwMA","reportTemplateCode":"redirecting_pages_in_sitemaps"} ```