All published Website Builder sites include a default sitemap.xml and robots.txt file. Custom files, including other types, can also be uploaded to the root of your website for further customization.
Warning
As of December 2023, Google deprecated the ability for sitemaps to be automatically submitted. To ensure prompt indexing, it's advised to manually submit your sitemap using Google Search Console (for more information, please visit Improve your performance on Google Search). Alternatively, consider using our app designed to assist with this process, Google Search Console.
To access the sitemap.xml and robots.txt files:
-
Open your published URL and add the desired file (either
sitemap.xml
orrobots.txt
) at the end (e.g.,https://www.example.com/sitemap.xml
orhttps://www.example.com/robots.txt
). -
Enter the modified URL into your browser.
-
Save the file or link as needed.
Note
-
Only published sites have these files.
-
These files are note able to be edited, though a custom one can be uploaded, see the section, Replace Default Files, in this article for more information.
A sitemap lists all of the URLs for your site, including eCommerce category pages and product URLs (for both native and third-party stores), as well as blog posts and dynamic page records.
The sitemap cannot be edited, though a custom one can be uploaded, see the section, Replace Default Files, in this article for more information.
Warning
As of December 2023, Google deprecated the ability for sitemaps to be automatically submitted. To ensure prompt indexing, it's advised to manually submit your sitemap using Google Search Console (for more information, please visit Improve your performance on Google Search). Alternatively, consider using our app designed to assist with this process, Google Search Console.
Note
-
Only published sites have sitemaps.
-
Pages that are set to not index (located in the page's SEO settings) will not appear in the sitemap (see Prevent Search Engines from Indexing a Page for more information). If the entire site is set to not index in the site's settings, the sitemap will be empty (see Site Settings for more information).
-
If your sitemap contains non-secure URLs (HTTP instead of HTTPS), consider requiring visitors to use a secure connection (HTTPS).To enable the Force visitors to use secure connection (HTTPS) setting, in the side panel, click SEO & Settings, and then click the Site SSL tab. For more information on SSLs, see SSLs (HTTPS).
To override the default files (sitemaps and robots.txt files), ensure the Source URL matches the file names (sitemap.xml and robots.txt) exactly. Supported file types include .xml, .txt, and .json.
Warning
-
Keep in mind the Website Builder platform does not validate custom files, so even if a file is corrupt, it will still be served.
Note
Only site configuration file types are supported (for example .txt and .xml).
To upload from the SEO Settings:
-
In the side panel, click SEO & Settings and select SEO.
-
Locate the Custom sitemap, robots.txt, and other files section, then click Go to URL Redirect (you will be directed to the URL Redirect screen with the File option pre-selected).
-
In the Source URL field, enter the file path you would like the file to have. For example, if you enter in
ads.txt
, the path for it on the live site will be www.mydomain.com/ads.txt. -
Click + Upload file.
-
Ensure the Redirect type is set to 2xx OK (Redirect) and click Add.
-
Publish or republish your site to make the changes live.
To upload in URL redirects:
-
In the side panel, click SEO & Settings and select URL Redirect.
-
Click Add New Redirect.
-
In the Source URL field, enter the file path you would like the file to have. For example, if you enter in
ads.txt
, the path for it on the live site will be www.mydomain.com/ads.txt. -
Select the File option. If you don't see the File option on the URL Redirect screen, access it initially from the SEO settings and upload a file. Once done, you can continue uploading additional files directly from the URL Redirect screen.
-
Click + Upload file.
-
Ensure the Redirect type is set to 2xx OK (Redirect) and click Add.
-
Publish or republish your site to make the changes live.