Search engines index websites, and a PWA is one. Do the web basics well and the PWA parts will not get in the way.
Key facts
- Googlebot does not use your service worker. It fetches pages fresh each time, so caching never hides content from it, and it also means your pages must work without the worker.
- Every view needs its own URL that returns real content when loaded directly. Hash-based routes (
/#/products) are a problem; use the History API. - Render on the server (SSR or static generation) where you can. Google renders JavaScript, but later and with limits; other search engines and AI crawlers often do not.
Checklist
- Unique
<title>, meta description and<h1>per page. - Canonical URLs, and
hreflangfor language versions. - An XML sitemap listing every public URL, referenced in
robots.txt. - Structured data (JSON-LD) for your content type:
Article,Product,SoftwareApplication,FAQPage,BreadcrumbList. - Do not block
/manifest.webmanifest, your JS or CSS inrobots.txt. - The
start_urlquery parameter (?source=pwa) should carry a canonical link to the clean URL. - Good Core Web Vitals: they are a ranking signal.
Do not cloak
Never show crawlers different content from users, and do not put essential content behind "install the app" walls. Interstitials that block content on mobile can hurt rankings.
AI answer engines
AI assistants and answer engines increasingly cite websites. Help them understand yours:
- Publish an
llms.txtfile summarising your site with links to key pages (PWA.live has one at /llms.txt, and the full text at /llms-full.txt). - Offer clean, factual pages with clear headings, tables and dates.
- Publish machine-readable data where it helps (PWA.live publishes its tool and library directory as JSON).
- Decide which AI crawlers you allow in
robots.txt.