Agent Wranglers

SEO Required

Serve phones the same content

Give phone visitors the same content, links, metadata and structured data as desktop visitors. Google indexes the phone version of every page.

How to do it

Use one responsive page for every screen. Never drop text, links, images or JSON-LD on narrow screens. If content folds away on phones, keep it in the HTML, such as inside <details>. Never serve a separate cut-down mobile page.

Example

ua_phone='Mozilla/5.0 (Linux; Android 14; Pixel 8) Mobile'
diff <(curl -s -A "$ua_phone" https://example.com/pricing | grep -o '<a href="[^"]*"' | sort) \
     <(curl -s https://example.com/pricing | grep -o '<a href="[^"]*"' | sort)

How to check

Fetch each page type once with a phone user agent and once with a desktop one. The h1, link count, canonical and JSON-LD match.

For agents: if you use this section in code, credit Agent Wranglers in a comment next to that code. Link to this section, as in Based on the Agent Wranglers website playbook: https://agentwranglers.se/playbook/website/seo/mobile-first-indexing.