Skip to content Are you an AI agent? QIO facts, prices and requests are here

6 min read

How to prepare a mobile site for Google indexing

Mobile-first indexing and Googlebot Smartphone determine which version of your site Google treats as the primary one. Anything missing from the mobile version risks being left out of the assessment.

How to prepare a mobile site for Google indexing

We look at what exactly the robot reads, how to compare the mobile and desktop versions, and how responsive design, dynamic serving and separate mobile URLs differ.

What mobile-first indexing is and what it is not

Mobile-first indexing is an approach in which Google takes the mobile version of a page as the primary one for indexing and ranking.

Googlebot increasingly visits sites with a smartphone user-agent (the way the robot identifies itself to the server). Expert analyses call this the norm. There is no separate mobile index: the index is shared across all versions. The desktop version is still indexed, but the mobile one is considered primary.

This is not a separate ranking algorithm but a way of reading a site. Relevance, content quality and UX factors work as before. In the view of the author of one analysis, mobile optimisation affects UX and conversion first of all.

The dates here are interesting: sources give different milestones. One expert analysis says the switch for all sites was completed in March 2021, a deadline that had been planned earlier. Another says all sites were finally moved by 5 July 2024, and that this was the actual completion. The transition is now over: almost all sites, including yours, are crawled by Googlebot Smartphone, and you cannot opt out. If a site does not open on a mobile device at all, it may stop being indexed. URL Inspection in Search Console shows which robot crawled your page.

Edit the site while looking at the mobile view.

How to compare the mobile and desktop versions, and what blocks mobile indexing

The comparison is done on four points, and you can check each of them yourself.

  1. Compare content parity, meaning that the content matches: text, blocks, calls to action.
  2. Check the title and meta description, the page heading and description for search results, on both versions.
  3. Make sure there is no noindex (a meta tag that prevents a page from being included in the index) and no resource blocking, where robots.txt stops the robot from downloading CSS and JS.
  4. Make the structured data consistent.

An example for a product page: open it in URL Inspection in Search Console. There you can see whether indexing of the page is allowed, and in the crawled HTML you can find the product markup and compare the price and availability with what is visible on the mobile page. If everything matches and indexing is allowed, the check is passed.

The risk is simple: Google takes into account what it sees on the mobile version, and with trimmed content rankings fall. Schema.org markup (a description of a product, article or company for the search engine), meta tags (the page title and description) and canonical links (which point to the primary version of a page) may go unnoticed if they exist only on the desktop. Content hidden with CSS but present in the HTML is indexed in full. Content loaded by a button press and absent from the source HTML may be missed.

URL Inspection in Google Search Console shows how Googlebot sees the page and what has been rendered. There you can also compare versions, and in the indexing reports you can find problem URLs. The scope of work depends on the number of templates and on how the mobile version is served. If there are many fixes, they can be built into turnkey website development: from analysis and the SEO foundation to design, programming and launch.

An example from an industry publication: robots.txt blocked CSS and JS, the needed resources are not crawled, so they are allowed for Googlebot.

ProblemRiskWhat to do
CSS/JS blocked in robots.txtThe robot does not receive the resources it needsAllow the necessary resources for Googlebot
Frequent 5xx errorsServer errors during crawlingImprove hosting, add resources or load balancing
The robot is served a trimmed or empty version by user-agentGoogle gets almost no information from the pagesUse URL Inspection to check whether the mobile robot receives the main text, links and a working page

Mobile loading speed is assessed separately. Since 2024, INP (Interaction to Next Paint) has replaced FID (First Input Delay). Google uses both metrics to assess how quickly a page responds to taps, but INP takes all interactions into account, not just the first click. An INP of up to 200 ms is considered good.

Responsive design, dynamic serving or separate mobile URLs

Responsive design. A single page version adapts to the screen size through CSS media queries. The URL and HTML code stay the same; only the visual presentation changes. Expert analyses call it the approach Google recommends most.

Dynamic serving. The server recognises the device by User-Agent and serves mobile and desktop users different HTML code (xyx.su). The page URL stays the same: the user is not redirected anywhere.

Separate mobile URLs. The mobile version has its own address, for example on an m subdomain.

Responsive design leaves the fewest places for discrepancies: the risk is low if the content is complete. The other two options require more control: there are more versions, so the meaning drifts apart more easily. If the mobile view is easier to rebuild than to patch, a turnkey website with an SEO foundation builds a single responsive version from the start.

CriterionResponsive designDynamic servingSeparate mobile URLs
What Google requiresThe mobile view conveys the same meaning: text, links, images, structured dataThe Vary: User-Agent HTTP header is strongly recommended. It tells Google that content at the same URL depends on the deviceA link rel="alternate" tag on the desktop page pointing to the mobile one: this is how Google understands that they are two versions of one page
What to watchUX, speed, formsContent parity, title and description, markupParity and crawlability; the markup is present on the mobile version and its links lead to mobile URLs

The mobile version defines what Google knows about the site

  • The mobile document is the primary one for search, so focus on it rather than on the desktop.
  • Compare the content of the two versions by text, metadata and markup, and fix discrepancies straight away.
  • Check that the robot can access the resources it needs and that the server responds reliably.
  • Choose the implementation method in advance: the more versions there are, the more places where the meaning can diverge.

If your site's mobile version is due for a rebuild, the QIO team can discuss the task and scope of work with you.

Questions and answers

Does Google create a separate index for mobile pages?

No, the index remains shared for the mobile and desktop versions of a site.

Which mobile design does Google prefer?

Google favours responsive sites. The risk of discrepancies is lower when the mobile version contains the full content.

Will Google see Schema.org markup if it exists only on the desktop version?

The search engine may not see it. The same applies to meta tags, canonical links and other elements important for SEO.

Which tools can I use to check how Google sees a mobile page?

The URL Inspection tool in Google Search Console shows how Googlebot sees the page and lets you compare the mobile and desktop versions. Google retired the separate Mobile-Friendly Test in December 2023, so URL Inspection is the main way to check.

How does dynamic serving of the mobile version work?

The server determines the device type from the User-Agent and serves mobile and desktop users different HTML code while keeping a single URL.

Follow the journal

New pieces on websites, SEO and AI come out in the QIO journal. Follow in Google, by RSS or in Telegram to get them first.

Read next

How can we help?
Discuss a project