Noindexed Mobile Alternates
Mobile or AMP alternates which correctly reciprocate to a desktop URL, but which have a noindex meta tag, or HTTP header.
Priority: Medium
Impact: Negative
What issues it may cause
If the desktop page does not have a noindex then search engines may apply the noindex from the mobile alternate, or the mobile page may not be served as a mobile alternate.
How do you fix it
The noindex state of the mobile alternate page should match the desktop page.
What is the positive impact
The separate mobile and AMP pages will be seen as mobile alternates of the desktop pages and served in search engine results pages for searches on mobile devices.
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
noindex
separateMobile
mobileReciprocate
amphtml
amphtmlReciprocate
desktopUrl
canonicalUrl
foundInGoogleAnalytics
foundInGoogleSearchConsole
foundInBacklinks
foundInList
foundInLogSummary
foundInWebCrawl
foundInSitemap
}
}
}
}
}
}
{"crawlId":"TjAwNUNyYXdsNDAwMA","reportTemplateCode":"mobile_alternates_noindex"}
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 noindex separateMobile mobileReciprocate amphtml amphtmlReciprocate desktopUrl canonicalUrl foundInGoogleAnalytics foundInGoogleSearchConsole foundInBacklinks foundInList foundInLogSummary foundInWebCrawl foundInSitemap } } } } } }","variables":{"crawlId":"TjAwNUNyYXdsNDAwMA","reportTemplateCode":"mobile_alternates_noindex"}}' https://api.lumar.io/graphql