How to Add a Sitemap in Wix, Squarespace, Drupal, Blogger & Yoast
Five platforms, five different sitemap paths, and one submission screen in Google Search Console. Here is where each sitemap lives, how to switch it on, and how to read the report once it is submitted.
Four of the five platforms in this guide build a sitemap for you and keep it current without any configuration. Wix, Squarespace and Blogger publish one at /sitemap.xml. Yoast SEO publishes one at /sitemap_index.xml once you flip a single toggle. Drupal is the exception: core ships no sitemap at all, so you install the Simple XML Sitemap module first. The work that actually moves indexing happens after that, in the Search Console Sitemaps report, where you find out how many URLs Google read and how many it kept.
What a sitemap does, and what it does not do
A sitemap is a machine-readable list of the URLs you want a search engine to know about. That is the whole job. It helps with discovery, and discovery is only the first step in a chain that ends with a page appearing in results.
Google is direct about this in its own documentation: a sitemap tells search engines which pages and files you consider important, and it can carry useful signals such as when a page last changed. It does not promise that any of those URLs get crawled, and it does not promise indexing. Teams running organic search programs get this wrong constantly. They submit a sitemap, watch nothing happen for three weeks, and conclude the sitemap is broken when the real problem sits downstream in quality or duplication.
Crawlers still find most pages by following links, so a sitemap never replaces clean internal linking or the external links pointing at your site. Where sitemaps earn their keep is on large sites, new sites with few inbound links, sites with deep archives that internal navigation does not reach, and sites where content changes often enough that you want Google to recheck it.
Sitemaps now serve a second audience. The crawlers behind AI assistants and answer engines use the same discovery infrastructure, so a stale or incomplete sitemap limits AI search visibility the same way it limits classic organic results.
Before you change any settings
Three checks save most of the troubleshooting later.
Confirm the site is crawlable at all. Open yourdomain.com/robots.txt in a browser. If you see Disallow: / under User-agent: *, nothing else in this guide matters until that is fixed. Staging flags and "discourage search engines" switches are the usual culprits, and they survive launches more often than anyone expects during site builds and migrations.
Pick one canonical hostname. Decide whether the site lives on www or the bare domain, with HTTPS, and make every other version redirect to it. A sitemap that lists http://example.com/page while the site actually serves https://www.example.com/page produces errors in Search Console that look like sitemap problems and are really redirect problems.
Know which sitemap you are about to submit. WordPress sites often carry three: the core sitemap, a plugin sitemap, and a static file left behind by an old plugin. Submitting more than one tells Google two different stories about the same site. Pick the one your technical SEO setup maintains and remove the rest.
How to add a sitemap in Wix
Wix generates a sitemap for every site and updates it whenever you change the site. The file sits at yourdomain.com/sitemap.xml, and it works as an index that points to child sitemaps by content type. A site running Wix Stores, Wix Blog, Wix Bookings or Wix Events gets a separate child sitemap for each, which is useful when you want to see whether an entire product catalog made it in.
Find your Wix sitemap
- Open
yourdomain.com/sitemap.xmlin a browser. - Confirm you see a list of child sitemap URLs rather than an error page.
- Open one or two child sitemaps and check that the URLs use your connected domain, not the
wixsite.compreview address.
Let Wix submit it for you
The fastest route is the Wix SEO Setup Checklist. When you connect the site to Google Search Console through that checklist, Wix submits the sitemap to Google for you and there is no need to submit it again. The connection requires a Premium plan with a connected domain.
- In the Wix dashboard, open Marketing & SEO, then SEO, then the SEO Setup Checklist.
- Find the step for connecting to Google and follow the verification flow.
- Wix handles the sitemap submission once verification completes.
Submit it manually instead
You still need the manual route for Bing, for Yandex, or when you want the sitemap tied to a Search Console property you already own. Verify domain ownership first, then submit sitemap.xml in the Sitemaps report. The Search Console steps further down apply unchanged.
Wix specifics worth knowing
- Applying a canonical tag to a page removes that page from the Wix sitemap. Remove the canonical tag to put it back.
- Wix includes image information in sitemaps for main pages and for several app types, including Stores, Blog, Events and Portfolio.
- Pages you hide from search in the SEO panel drop out of the sitemap, which is the mechanism to watch if a batch of location pages goes missing.
How to add a sitemap in Squarespace
/sitemap.xml, and not editable. The only real decision is whether to submit it manually.Squarespace generates an XML sitemap for every site and references it in the site's robots.txt, so search engines can find it without any action from you. You can view it by adding /sitemap.xml to your domain. Submitting it anyway is still the better move, because the Sitemaps report is where Google reports errors back to you.
Find and submit the Squarespace sitemap
- Visit
yourdomain.com/sitemap.xml. On an unlaunched site, useyoursite.squarespace.com/sitemap.xml. - Verify the site in Google Search Console. Squarespace also offers a connection under Settings, Connected accounts, where you can link a Search Console account directly.
- In Search Console, open the Sitemaps report, type
sitemap.xmlin the field, and submit. The domain portion is prefilled.
What Squarespace leaves out
Password-protected pages and unlisted pages do not appear in the sitemap and will not be indexed, which is the expected behaviour for members areas and gated content. Changes to your site take hours to days to show up in the sitemap file, so a page you published this morning may legitimately be missing this afternoon. If the sitemap stays stale for days or throws a missing XML tag error, Squarespace support can regenerate it, since there is no customer-facing control for the file.
One practical consequence: on a Squarespace site with an aggressive publishing schedule, do not use the sitemap as your record of what is live. Keep that record yourself, then compare it against the sitemap weekly.
How to add a sitemap in Drupal
Simple XML Sitemap is the standard choice for Drupal 9, 10 and 11. It produces multilingual sitemaps with hreflang annotations, indexes most Drupal entity types out of the box, and ships submodules for Views integration and for notifying search engines. The older XML Sitemap module still exists and still works, but Simple XML Sitemap is the one most Drupal build teams standardise on now.
Install and enable the module
If you work through the UI instead, go to Extend, search for Simple XML Sitemap, tick the module and install it. The module bundles three components: the core module, a Views integration submodule, and a search engines submodule.
Configure what gets indexed
- Go to Configuration, then Search and metadata, then Simple XML Sitemap.
- Set the default base URL so generated links use your canonical hostname rather than the server's internal address. This single setting causes most of the broken Drupal sitemaps we see.
- Enable regeneration on cron so the sitemap refreshes as editors publish.
- Open the Inclusion settings and switch on the entity bundles you want indexed, such as specific content types, taxonomy vocabularies and menu links.
- Set per-bundle priority and change frequency if you use them. Google ignores the
priorityelement, so treat it as housekeeping rather than a ranking lever. - Tick Regenerate sitemaps after clicking save if you want the change to apply immediately.
Individual nodes carry their own override. Open any node for editing, scroll to the Simple XML Sitemap panel below the editing form, and choose whether that specific item appears in a given sitemap.
Where the Drupal sitemap lives
The default sitemap is served at /sitemap.xml. If you create additional sitemap variants, each one is served at /[variant-name]/sitemap.xml, and the module can present an index listing all of them. Variants are the mechanism to use when a single site serves distinct audiences, such as a news section that needs its own sitemap type.
To index Views pages, enable the Simple XML Sitemap (Views) submodule, then configure indexing on the view's edit page. Views with contextual arguments can be indexed too, which matters on sites where large sections of content only exist as filtered listings.
Sitemap submitted, pages still not indexed?
That gap is almost never a sitemap problem. We audit the crawl path, canonical signals and page quality to find where URLs are actually being dropped.
How to add a sitemap for Blogger
/sitemap.xml for you. The part people miss is pointing robots.txt at it and confirming the blog is visible to search engines.Blogger creates the sitemap automatically, so there is no file to generate or upload. On a blogspot address it sits at yourblog.blogspot.com/sitemap.xml. On a custom domain it sits at the same path on that domain. Before you submit anything, confirm the blog's privacy setting allows search engines to see it, because a hidden blog produces a sitemap that Google refuses to act on.
Add the sitemap line to custom robots.txt
Blogger's default robots.txt blocks /search and references the Atom feed. Replacing it with a custom file lets you point crawlers at the real sitemap.
- In the Blogger dashboard, open Settings and scroll to Crawlers and indexing.
- Turn on Enable custom robots.txt, then click Custom robots.txt.
- Paste the block below, replacing the hostname with your canonical domain.
- Save, then load
yourdomain.com/robots.txtto confirm the file is live.
Keep the Disallow: /search rule unless you have a specific reason to drop it. It stops crawlers from grinding through label and search result pages that add nothing to your content library. Use the robots header tags screen in the same section if you want to control indexing at the page level, since robots.txt controls crawling and does not reliably remove a URL Google already knows about.
Handling blogs with large archives
Blogger's sitemap paginates for blogs with long archives. If Search Console reports fewer URLs than you expect, submit the paginated feed paths alongside sitemap.xml. The pattern looks like this:
Google accepts sitemaps in XML, RSS and Atom formats, so feed-based submission is a legitimate fallback rather than a workaround.
How to add a sitemap with Yoast SEO
sitemap_index.xml. Do not submit the child sitemaps individually.Yoast SEO builds a sitemap index and a set of child sitemaps, and it updates them automatically as you publish or delete content. Enabling the Yoast feature also switches off the WordPress core sitemap, so you end up with one source instead of two. Turning the Yoast feature back off does not reinstate the core sitemap, which catches people out during plugin changes.
Turn on XML sitemaps in Yoast
- In the WordPress dashboard, open Yoast SEO, then Settings.
- Open Site features. Use the search field for "sitemap" if the card is not immediately visible.
- Under Technical SEO, slide the XML sitemaps toggle to On. The setting saves itself.
- Click View the XML sitemap. It opens
yourdomain.com/sitemap_index.xmlin a new tab.
The index lists child files such as post-sitemap.xml, page-sitemap.xml and category-sitemap.xml. Submit the index URL only. Submitting children individually gives Google duplicate coverage of the same URLs and makes the Sitemaps report harder to read.
Control what Yoast includes
Yoast populates the sitemap from your visibility settings rather than from a separate sitemap screen. Any post type or taxonomy you mark as noindex drops out of the sitemap automatically. That is the behaviour you want, and it means auditing your sitemap is really auditing your indexation settings.
- Content types: Settings, then Content types. Turn a post type off in search results and its sitemap disappears with it.
- Categories and tags: Settings, then Categories & tags. Most sites should keep categories in and leave tags out.
- Date and author archives: Settings, then Advanced. Disabling author archives redirects those URLs to the homepage and removes the author sitemap.
If the Yoast sitemap returns a 404
Two fixes resolve nearly all of these. First, confirm the XML sitemaps toggle is actually on. Second, open Settings, then Permalinks in WordPress and click Save Changes without editing anything. That rewrites WordPress's URL rules and restores the sitemap route. If a file still appears at /sitemap.xml after that, it is not Yoast's. Disable other sitemap plugins and delete any leftover static sitemap files on the server.
One detail that worries people needlessly: Yoast adds an x-robots-tag: noindex, follow header to sitemap responses. Sitemaps do not need to be indexed in order to be read, so this is correct.
Sitemap URLs by platform
| Platform | Default sitemap URL | Setup required |
|---|---|---|
| Wix | /sitemap.xml | None. Optional auto-submission through the SEO Setup Checklist. |
| Squarespace | /sitemap.xml | None. The file is not editable. |
| Drupal | /sitemap.xml | Install and configure Simple XML Sitemap. |
| Blogger | /sitemap.xml | None, but add the Sitemap line to custom robots.txt. |
| WordPress + Yoast | /sitemap_index.xml | Toggle XML sitemaps on in Site features. |
| WordPress core | /wp-sitemap.xml | Active by default until an SEO plugin replaces it. |
How to submit your sitemap in Google Search Console
Every platform above converges here. The submission itself takes under a minute.
- Sign in to Google Search Console and select the property for your site. Verify ownership first if you have not already, using the DNS record for a Domain property or the HTML tag for a URL-prefix property.
- Open Sitemaps in the left menu, under Indexing.
- In the Add a new sitemap field, type the path only. The domain is prefilled. Enter
sitemap.xmlfor Wix, Squarespace, Drupal and Blogger. Entersitemap_index.xmlfor Yoast. - Click Submit, then refresh after a few minutes to see the status move from "Couldn't fetch" to "Success".
Do not use the old sitemap ping URL. Google deprecated the unauthenticated ping endpoint in June 2023, and requests to it now return a 404. Submission happens through Search Console or through the Sitemap: line in robots.txt. Plugins that still ping cause no harm, but the ping accomplishes nothing.
Read the two numbers the report gives you. Discovered URLs tells you how many URLs Google found in the file. Compare that against the count you expect. Then open the Pages report and compare indexed pages against that discovered figure. The gap between the two is the real work, and it is where AI search visibility gets won or lost as well, since answer engines draw on the same index.
Bing Webmaster Tools accepts the same sitemap URL and can import your Search Console property directly, which skips re-verification. Bing supports IndexNow for immediate URL submission, and Bing's index now feeds several AI assistants, so the five minutes it takes is worth spending.
Common sitemap errors and how to fix them
"Couldn't fetch"
Google could not retrieve the file. Load the sitemap URL yourself in a private browser window. If it loads for you but not for Google, check for a firewall or bot-protection rule blocking Googlebot, a robots.txt rule blocking the sitemap path, or a typo in the submitted path. On Blogger, this error often means the blog is still set to hide from search engines. Wait a few hours after a fix before resubmitting, since the status can lag the reality.
"Sitemap is HTML"
You submitted a page rather than an XML file. On Squarespace and Wix this usually means someone submitted an HTML sitemap page they built for visitors. Submit the .xml path instead.
URLs in the sitemap are blocked by robots.txt
The sitemap says "crawl this" and robots.txt says "do not". Google reports the conflict and skips the URLs. Decide which instruction you meant, then remove the other. If you want pages out of the index, use a noindex tag and leave them crawlable, because a blocked URL cannot be read and therefore cannot have its noindex seen.
Discovered URLs far lower than expected
On Yoast, check whether the missing post type is set to noindex. On Drupal, check whether the entity bundle is enabled in the inclusion settings and whether the sitemap has regenerated since you changed it. On Blogger, check pagination. On Wix, check for canonical tags on the missing pages, since a canonical removes a page from the Wix sitemap.
Sitemap shows old URLs after a migration
Regenerate rather than wait. Run drush simple-sitemap:generate on Drupal, re-save permalinks on WordPress, or ask Squarespace support to rebuild the file. Then confirm that the old URLs return a 301 rather than a 200, because a sitemap listing redirecting URLs is a symptom of an incomplete migration.
Your pages are indexed. Are they cited?
Classic indexing and AI answer engines run on different signals. We measure where your brand shows up across both, then close the gap.
What to do after the sitemap is live
Submission is the start of a monitoring loop, not the end of a task. Four habits keep it useful.
- Check the Sitemaps report monthly. You are watching for the read date to stay recent and the discovered count to track your actual page count. A frozen read date means something broke.
- Keep
lastmodhonest. Google uses the value when it is consistently accurate and ignores it when it is not. Systems that stamp every URL with today's date teach Google to discount the field across your whole site. - List canonical URLs only. Parameter variants, redirecting URLs and paginated duplicates spend crawl budget and return nothing. On large sites this is the single highest-leverage sitemap cleanup available.
- Compare discovered against indexed. A widening gap tells you Google is finding your pages and choosing not to keep them, which is a content and technical quality question rather than a sitemap question.
If you run a large site, split the sitemap by content type and submit the index. Separate files for products, articles and location pages let you see at a glance which section is losing coverage, instead of staring at one aggregate number that tells you nothing about where the problem sits.
Frequently Asked Questions
yourdomain.com/sitemap.xml. Wix generates it automatically and updates it when you change your site, so there is no file to create or upload. If you connected the site to Google Search Console through the Wix SEO Setup Checklist, Wix already submitted that sitemap for you. The checklist connection requires a Premium plan with a connected domain./sitemap.xml, and any additional sitemap variants are served at /[variant]/sitemap.xml.sitemap.xml automatically at yourblog.blogspot.com/sitemap.xml or at the same path on your custom domain. To point crawlers at it, go to Settings, Crawlers and indexing, enable custom robots.txt, and add a Sitemap line that uses your canonical hostname. Then submit sitemap.xml in the Search Console Sitemaps report. Confirm the blog is visible to search engines before you submit./sitemap_index.xml and splits content into child sitemaps such as post-sitemap.xml and page-sitemap.xml. A file at /sitemap.xml on a WordPress site comes from somewhere else, usually WordPress core, another plugin, or a leftover static file. Submit only the sitemap_index.xml URL, and remove the competing sitemap so Google reads one source.References & Sources
- 1.Build and submit a sitemap – Google Search Central
- 2.Sitemaps ping endpoint is going away – Google Search Central Blog
- 3.Submitting your sitemap and URLs directly to search engines – Wix Help Center
- 4.Submitting your sitemap directly to Google – Wix Help Center
- 5.Squarespace sitemaps: find, submit and troubleshoot – Collaborada
- 6.How to submit a Squarespace sitemap to Google Search Console – Spark Plugin
- 7.Simple XML Sitemap: configuration, usage and debugging – Drupal.org
- 8.A beginner's guide to installing the Simple XML Sitemap module in Drupal – Acquia Docs
- 9.Manage your blog's settings: crawlers and indexing – Blogger Help
- 10.XML sitemaps in the Yoast SEO plugin – Yoast
- 11.How to enable XML sitemaps in Yoast SEO – Yoast
- 12.How to add an XML sitemap to your Blogger blog – Digital Inspiration
Get SEO & AI Visibility Insights
Join marketing leaders who get actionable SEO strategies, AI search updates, and growth tactics delivered to their inbox.
Your sitemap is fine. Your indexing probably is not.
We have run 291 campaigns since 2014. When pages sit in a sitemap and never reach the index, the cause is almost always upstream of the file. We will show you where.
Get Your Free Strategy Proposal