Skip to content
Passieon

Mobile-first indexing: what must match on the phone version

Google uses the mobile version of a page, crawled with the smartphone agent, to index and rank it. This is called mobile-first indexing. A mobile version is not required for a page to appear in Search, but Google strongly recommends one. Common gaps between the two versions include structured data that exists only on desktop, or an image with a different address on phones. This guide covers how to choose a mobile setup, then walks through the checks that catch those gaps. Work through the checks in the order given, because the setup questions come first and decide which of the later checks apply to you.

Short answer: Google indexes and ranks the mobile version of your pages, so the phone version should carry the same primary content and metadata as the desktop version, and must carry the same structured data. Responsive design on one URL makes that easiest. If you serve separate mobile URLs, each desktop page with different content needs an equivalent mobile page with a matching error status and the right canonical and alternate links.

Written by Hamza Rivera. Last reviewed

Hamza works in SEO and GEO/AEO. He writes the Passieon guides and checklists and does the SEO work for the businesses Passieon serves.

Choose one of the three mobile setups

Google describes three ways to serve a mobile site. Responsive design serves the same HTML on the same URL, and the page displays differently by screen size. Google recommends it as the easiest option to implement and maintain. Dynamic serving uses the same URL but sends different HTML to each device, based on the user agent, and adds a Vary: user-agent header. Separate URLs send each device to its own address, with redirects and the same Vary header. With responsive design, the content and metadata are identical on both versions, so most of the checks below apply only to dynamic serving and separate URLs. If your content management system will not let you change the mobile theme, you may need a theme that is mobile friendly before you can meet these checks.

Let Google crawl and render the phone version

Use the same robots meta tags on the mobile and desktop versions. A noindex or nofollow tag that differs between the two can stop crawling or indexing on one of them. Do not lazy-load primary content behind a swipe, a click or typing, because Google does not trigger those actions. Also leave resources open to crawling. Mobile URLs for some resources differ from the desktop ones, so a robots.txt disallow rule written for desktop can block a file the phone version needs. The robots.txt guide on this site explains how to test those rules.

Keep the primary content the same

The mobile version should contain the same primary content as the desktop version. Accordions and tabs are acceptable when they hold the same content, so a specification table can sit behind a tab on phones. Google warns that if the mobile version intentionally carries less content, traffic may fall. Use the same clear, meaningful headings on both versions. Compare the two versions section by section.

Put the structured data on both versions

Structured data must be present on both versions. If you are prioritizing, start with Breadcrumb, Product and VideoObject markup. URLs inside mobile structured data should point to mobile URLs. If you use the Data Highlighter tool, train it on the mobile site and check its dashboard for extraction errors. The structured data guide on this site covers the markup itself, and the same rules apply to each version.

Match titles and descriptions

Title elements and meta descriptions should be equivalent across the two versions, so a mobile page with no title, or a different one, is a gap to close. Use the same wording wherever you can. The titles and snippets guide on this site covers how to write these fields.

Check where the ads sit

Follow the Better Ads Standard on mobile. Google notes that ads at the top of the page can take too much room and create a poor experience, so check the first screen of each mobile template before you publish.

Check the images on the phone version

Provide high-quality images and avoid small or low-resolution ones on mobile. Use supported formats and tags. SVG is supported, but a JPEG placed inside an inline SVG image tag cannot be indexed. Do not use image URLs that change on each page load. Keep the same descriptive alt text, titles, captions, filenames and surrounding text as the desktop version. If the mobile image URLs differ from desktop, you may see a temporary drop in image traffic during the transition. Using the same image URLs avoids that. The image SEO guide on this site covers these basics in more detail.

Check the videos

Do not use video URLs that change on each page load. Use a supported format, and use supported tags such as video, embed or object. Use the same video structured data on both versions. Place the video where it is easy to find on a phone without excessive scrolling. The video SEO guide on this site covers the watch page, the thumbnail and the file details.

Match status codes and canonical links on separate URLs

If you run separate mobile URLs, the error status must match on both versions. A desktop page that serves content while its mobile version returns an error will be dropped from the index. Mobile URLs should not use fragments, the part after a # sign, because those are generally not indexable. Each desktop page with different content needs an equivalent mobile version. Several URLs that redirect to one mobile page, such as the mobile home page, will all drop from the index. The desktop URL is the canonical, and the mobile URL is its alternate. The desktop page carries a self-referencing canonical and an alternate link to the mobile URL, and the mobile page carries a canonical link back to the desktop URL.

Handle hreflang and capacity on separate URLs

Link mobile and desktop URLs separately in hreflang. Mobile hreflang points to mobile URLs, and desktop hreflang points to desktop URLs. The international sites guide on this site explains the hreflang tags. Make sure the mobile servers can handle a possible increase in crawl rate. Check that robots.txt rules work as intended for both versions, and keep them the same unless you have a reason not to.

Use Search Console for each version

Verify both versions in Search Console, so you can see the data for each one. A shift in the data may occur when a site moves to mobile-first indexing, so compare the reports across the switch rather than reading a single day as a trend.

Work through the common problems

The common problems fall into a few groups. Missing structured data means the mobile version lacks markup the desktop version has, and the fix is to match it and check the mobile URLs. A noindex tag on a mobile page is fixed by matching the robots meta tags. A missing image, a blocked image or a low-quality image needs the matching image on mobile, a robots.txt rule that allows it, and a higher-resolution file. Missing alt text, a missing title and a missing meta description all come down to matching the desktop values. A mobile URL that returns an error page needs the same status as desktop, and a mobile URL with a fragment needs the fragment removed. A robots.txt block on the mobile page is fixed by matching the rules across both versions. Page quality issues include ads, missing content, unclear headings and image descriptors. Video issues cover unsupported formats, hard-to-find placement and lazy loading. For hostload issues, scale mobile capacity.

Check the phone version yourself

Open the key pages on a phone and compare them with the desktop versions. Confirm that the primary text, headings and images match, and that the tabs or accordions open to the same content. In the page source, check the robots meta tag and the structured data block on both versions. Repeat these checks after each template change, and check both versions after any template edit.

Keep a record of each change

Note the date of each change to the mobile templates, the robots tags and the structured data. Include the URL pattern, the template name and the person who made the change. If the Search Console data shifts, a dated list gives you something to compare against. Keep the list next to your Search Console notes, so the next person can find it.

A worked example with a made-up furniture store

Imagine a furniture store with 2,000 product pages on a separate mobile site. The mobile product pages put the specification table behind a tap, so the content loads only after a user taps. The Product structured data exists on desktop but not on phones, and a noindex tag left over from a test still sits on the mobile template. The team moves the specification content into an accordion that shows the same text, adds the same Product markup to the mobile template, removes the test tag and matches the titles and descriptions. Then the team checks the Page Indexing report for both versions. The example is invented, and it shows the method only.

Related help

Sources for technical rules

Google's documentation is the authority for its own search systems. This guide explains the work in our words.

Book a call with us

A 30-minute call in your working hours. Tell us what you sell and where, and we will tell you what we would do first and what it involves. Prefer email? Send your website through the form and the Passieon Team will reply by email.

Book a call

Message us

Message us

Ask anything about your site or where your inquiries are going. It goes straight to a person, not a bot. Leave an email and you get a reply.