Site files
Serve files at fixed addresses on your domain, such as robots.txt, ads.txt, verification files and files in .well-known.
Some files must sit at an exact address on your domain: /robots.txt for search engines, /ads.txt for advertising
networks, a verification file that Google or Bing asks you to upload, or a file under /.well-known/ for a mobile app.
Site files is where you keep them. They belong to your website, not to your theme, so installing, switching,
resetting or updating a theme never adds, changes or removes one.
Open it from the sidebar under Site → Site files at https://accounts.in1s.com.
What you can store
| Kind | Extensions |
|---|---|
| Text | .txt, .asc, .html, .md |
| Data | .xml, .json, .webmanifest |
| Images | .ico, .png |
Under .well-known/ |
any of the above, or a name without an extension (served as JSON) |
Nothing else is accepted: no scripts, stylesheets, PDFs, archives, video, SVG or WebP. Upload those to Media or keep them in your theme. If you upload a type that site files do not take, the error message links to Go to Media.
A few rules for names:
- Use only letters
A–Za–z, digits,.,_,-and/. A name needs an extension, except under.well-known/. - Write the extension in lower case (
BingSiteAuth.xmlis fine,ads.TXTis not). - A file can sit at most two folders deep, for example
2026/june/notes.txt. - Names starting with a dot are refused, except the folder
.well-known. - Addresses the platform uses itself are reserved, for example
/sitemap.xmland anything under/.well-known/acme-challenge/. Your sitemap is generated for you.
Text files must be valid UTF-8, and .json and .webmanifest files must be valid JSON. An .xml file that is not
well-formed is still saved, with a warning. An image must really be the type its extension says.
Create a file
-
Start a new file
Click New site file. Choose a Folder (or leave it at the top level) and type a File name, such as
ads.txt. The hint under the name shows the address the file will answer. -
Add the content
Type or paste the file's text under Content. Have the file on your computer? Click Upload a file instead.
-
Save
Click Create file. The file is live at that address straight away.
To make a folder first, click New folder, choose where it goes under Inside, type a Folder name and click Create folder. An empty folder is only kept while the page is open; it is saved once a file is created in it.
Upload files
Click Upload files above the list, or drag files from your computer onto the list. Drop them on a folder to put them in that folder, or anywhere else on the list for the top level. You can upload several at once; files that are refused, and files saved with a warning, are listed above the file list with the reason.
Edit, move and replace
Select a file in the list to open it. Edit the Content and click Save. To move or rename the file, change its Path: the folder part moves it. For an image, click Replace to upload a new version.
Each file in the list has a link that opens it on your website, so you can check what visitors and crawlers see.
If someone else saved the same file while you were editing it, you are shown both versions so you can merge them before saving.
History
Click History to see earlier versions of the file. Choose a version to see it beside the file as it is now, and restore it if you want it back.
Dynamic files with Liquid
Add .liquid to the end of a name to have the file rendered before it is served, without the .liquid part:
robots.txt.liquid answers /robots.txt. A Liquid site file can read site, request.host, request.origin,
request.path, sitemap_url and your Data Lists by handle, so you can, for example, publish a feed
from a list. Theme tags such as render, include, section and form are not available here. Images cannot use
.liquid.
If a Liquid file has an error, the address answers an error page instead of the file, so check it in your browser after saving.
Your robots.txt
Every new website starts with one file, robots.txt.liquid:
User-agent: *
Allow: /
Sitemap: {{ sitemap_url }}
Edit it like any other file. If you delete it, /robots.txt answers "not found", which search engines read as
"crawl everything". While your site is password protected, /robots.txt always asks search engines not to crawl it,
whatever your file says.
Files your theme provides
A theme can ship its own site files. They appear in your list and are served while you have no file of your own at that address. They are read-only: open one and click Customize to make your own copy, which is then served instead.
Trash
Click Move to trash to remove a file. While a file is in the trash, its address answers nothing. Once something is in the trash, a Trash switch appears above the list: there you can Restore a file, delete it permanently, or click Empty trash. Files in the trash are deleted permanently after 30 days.
Note
A site file and a redirect cannot use the same address. If a redirect already fires at a path, a file there is refused, and the other way round.
Limits
These are the same on every plan, and count only files that are not in the trash:
| Limit | Value |
|---|---|
| Files per website | 50 |
| Size of one text file | 256 KB |
| Size of one image | 100 KB |
| Total size of all files | 2 MB |
Who can use it
A team member needs the Site files permission: View to see files, Edit to create, change, upload and delete them. See Team and roles.