Uploading files to the root directory of your website
(Google sitemaps etc.)
For various reasons you may wish to have a file published to the root directory of your website. Google sitemaps are an example.
You cannot simply upload a file to the root directory of your site, as the root directory is overwritten when you publish your website.
To force a file to be published to the root directory of your website:
Note: If you do not need (or want) the file to be easily accessible by regular visitors, the easiest option is to:
How to check that the file exists
Just publish your website then enter your web address followed by '/' and the filename into your browser's address bar. The file should then open. For example, "www.mydomain.com/sitemap.xml".