SEO Lab
SEO Lab: baseline check
Check the metadata, canonical links, hreflang links, sitemap and robots routes produced by EventMap.
Back to Demo LabcheckDevTools: title, description, canonical, hreflang
Open the page source first, then compare the same tags in browser DevTools.
- Find the title generated by Metadata API.
- Find meta description in the server HTML.
- Find rel=canonical for the current URL.
- Find hreflang links for en and ru.
checkView Source vs hydrated DOM
View Source shows HTML returned by the server. Elements shows DOM after the browser and hydration have run.
- Use View Source for the first SEO baseline check.
- Use Elements to confirm the browser did not hide or replace important content.
- Compare page h1 with metadata title.
checkSearch landing page
Search pages should have URL-specific metadata and a clean canonical URL.
- /en/search/music: title, description, canonical, hreflang en/ru.
- /en/search?category=music&city=london: canonical should point to /en/search/music/london.
- /en/search?q=jazz: q should stay in canonical.
- Check h1, event list and pagination when pagination appears.
checkEvent detail page
Event detail metadata should come from event data, not from generic page copy.
- /en/events/london-music-night: title from event data.
- Description from event data.
- Open Graph image and Twitter card.
- Canonical and hreflang en/ru.
checkSitemap and robots
Sitemap and robots are site-level SEO routes generated by MetadataRoute.
- /sitemap.xml contains /en, /ru and product search pages.
- /sitemap.xml contains /en/search/music, /en/search/sports, /en/search/arts and /en/search/film.
- /sitemap.xml contains /en/events/london-music-night.
- /sitemap.xml does not contain /en/demo.
- /robots.txt in dev mode contains Disallow: / and Sitemap: http://localhost:3000/sitemap.xml.
- SITE_ENV=production switches robots to Allow: /.
checkFinal checklist
The module 5 baseline is complete when page-level metadata and site-level routes agree.
- Home, search and detail pages render server HTML.
- Title template adds EventMap where page metadata provides a title.
- Canonical points to the clean URL.
- hreflang links connect /en and /ru.
- Sitemap contains product URLs only.
- Robots policy matches the current environment.