Why Sitemaps Matter
Hado SEO uses your sitemap to discover and pre-warm the cache for all your pages. Without a proper sitemap:- Pages are only rendered on-demand when first visited
- The first visitor (often a search bot) gets a slower response
- Some pages may never be discovered or cached
- Pre-renders all pages before they’re visited
- Ensures fast responses for every bot visit
- Keeps your cache fresh with automatic recrawls
Check If You Have a Sitemap
Visithttps://yourdomain.com/sitemap.xml in your browser.
If you see XML with your page URLs → You’re set! Hado SEO will automatically discover and cache all listed pages.
If you get a 404 or error → You need to add a sitemap. Follow the instructions below for your platform.
Adding a Sitemap by Platform
Lovable
Lovable
Lovable apps don’t include a sitemap by default. Ask Lovable to create one:Example sitemap for a typical Lovable app:
Base44
Base44
Base44 apps require custom sitemap configuration in Hado SEO:
- Go to your Hado SEO Dashboard
- Select your domain → Domain Settings
- Scroll to Custom sitemap.xml
- Paste your sitemap XML
- Click Save
yourdomain.com/sitemap.xml.Bolt.new
Bolt.new
Ask Bolt to add a sitemap:
Vercel / Next.js
Vercel / Next.js
For Next.js App Router (recommended):Create For Pages Router:Use next-sitemap package.
app/sitemap.ts:Netlify
Netlify
Create a
public/sitemap.xml file in your project with your pages listed.For dynamic sites, generate the sitemap at build time using your framework’s tools.Replit
Replit
Create a route that serves XML at
/sitemap.xml:Sitemap Requirements
For Hado SEO to properly pre-warm your cache:| Requirement | Details |
|---|---|
| Accessible URL | Must be at /sitemap.xml or referenced in robots.txt |
| Valid XML | Must be properly formatted XML |
| Correct domain | URLs must use your custom domain, not your platform URL |
| Public pages only | Don’t include login-required or private pages |
What to Include
Include
- Homepage
- All public pages
- Blog posts
- Product pages
- Landing pages
Exclude
- Login/signup pages
- Dashboard/admin pages
- API endpoints
- Preview/draft pages
Sitemap Fields Explained
| Field | Required | Description |
|---|---|---|
loc | Yes | Full URL of the page |
lastmod | Recommended | Last modification date (YYYY-MM-DD). Helps Hado SEO know when to refresh. |
changefreq | Optional | How often content changes (daily, weekly, monthly) |
priority | Optional | Importance 0.0-1.0. Higher priority pages are refreshed more often. |
Verify Your Sitemap
After adding your sitemap:- Visit
https://yourdomain.com/sitemap.xmlto verify it loads - Check that all URLs use your custom domain
- Go to your Hado SEO dashboard
- Click Sync Sitemap to trigger discovery
- Watch the Pages tab populate with your URLs
Dynamic Sitemaps
If your app has dynamic content (blog posts, products, user profiles), you need a sitemap that updates automatically.Supabase + Lovable
Generate sitemaps from your database
Base44
Create dynamic sitemaps with Base44 functions
Troubleshooting
Pages not appearing in dashboard
Pages not appearing in dashboard
Check:
- Is
sitemap.xmlaccessible at your domain? - Are URLs using your custom domain (not
.lovable.app)? - Did you click Sync Sitemap in the dashboard?
- Is the XML valid? (Check for syntax errors)
Sitemap returning 404
Sitemap returning 404
Your app doesn’t have a sitemap configured.For Lovable/Bolt: Ask the AI to add one
For Base44: Configure in Domain Settings
For custom apps: Create the file or route
Wrong URLs in sitemap
Wrong URLs in sitemap
Make sure your sitemap uses your custom domain, not your platform URL.Wrong:Correct: