Step 1: Open Sitemap Generator
Visit HeronTool's Sitemap Generator (站点地图). No registration required. Paste your homepage URL (e.g., https://example.com) into the input field.
Step 2: Configure and Generate
Click the "Crawl" button; the tool automatically gathers valid links. Set crawl depth (recommend 2-3) and exclusion rules (e.g., ignore /admin). Then click "Generate sitemap.xml" – the file downloads instantly.
Step 3: Verify and Upload
Open the downloaded .xml file in a browser to check URLs. Upload it to your site's root directory (e.g., public_html/sitemap.xml). Submit the file URL in Google Search Console and wait for indexing.
FAQ
Q: What if the file includes dynamic pages?
A: Set "exclude parameters" in Sitemap Generator to clean dynamic URLs.
Q: Crawling is too slow?
A: Reduce crawl depth or enable "same domain only" to skip external links.
Q: Need to regenerate after site updates?
A: Yes, regenerate after major changes and replace the old file.