# Pages with Hreflang and Page Language Conflict **Priority**: High **Impact**: Negative ## What issues it may cause The hreflang information can be used by search engines to display the most relevant version of a page to users in search results, ensuring the content is presented in the appropriate language or for the correct region. ## How do you fix it The page should be reviewed to determine the appropriate dominant language, and the hreflang attributes of the incoming links should be updated accordingly to ensure consistency with the page's content ## What is the positive impact When the primary language of a page does not match the hreflang language used in links pointing to it, search engines may ignore the hreflang attributes, or the page may be incorrectly presented to users in search results for the wrong language or region ## 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 { pageTitle url foundAtSitemap deeprank languagesSummary dominantLanguages hreflangLanguagesIn inconsistentHreflangsInCount foundInGoogleAnalytics foundInGoogleSearchConsole foundInBacklinks foundInList foundInLogSummary foundInWebCrawl foundInSitemap } totalCount pageInfo { endCursor hasNextPage } } } } ``` **Variables:** ```json {"crawlId":"TjAwNUNyYXdsNDAwMA","reportTemplateCode":"pages_with_hreflang_and_page_language_conflict"} ```