SquareByteDigital Services

Knowledge base · Site identity

The small files every website should have

Besides the pages people see, a well-built website has a few small text files at standard addresses. They tell search engines, AI tools and security researchers how to treat your site. They take minutes to create, and many business websites have none of them.

sitemap.xml

A list of the pages you want search engines to know about, with optional dates they were last changed. It lives at /sitemap.xml. Search engines still find pages by following links, but a sitemap makes sure nothing is missed, especially new pages. Submit it in Google Search Console and Bing Webmaster Tools.

robots.txt

A plain-text file at /robots.txt with instructions for crawlers: which parts of the site to skip, and where your sitemap is. For example:

User-agent: *
Allow: /
Sitemap: https://example.ca/sitemap.xml

Two important points. It’s a request, not a lock: well-behaved crawlers follow it, bad ones ignore it, so never use it to hide private information. And blocking a page from crawling doesn’t guarantee it stays out of search results; use a noindex tag for that. You can also use robots.txt to allow or block specific AI crawlers.

security.txt

A standard (RFC 9116) file at /.well-known/security.txt that tells security researchers how to report a problem they find on your site. Without it, people who spot an issue often don’t know who to tell. It needs at least a Contact line and an Expires date:

Contact: mailto:security@example.ca
Expires: 2027-12-31T00:00:00.000Z
Preferred-Languages: en

Set a reminder to renew the expiry date each year.

llms.txt

A newer, proposed convention: a Markdown file at /llms.txt that gives AI tools a short summary of your site and links to your most useful pages. It isn’t an official standard and not every AI tool reads it yet, but it’s easy to write, costs nothing, and doubles as a neat one-page summary of your business.

# Example Business
> One-sentence description of what you do and where.

## Key pages
- [Services](https://example.ca/services): what we offer
- [Contact](https://example.ca/contact): hours and location
See them live: this site has all four. Try /sitemap.xml, /robots.txt, /.well-known/security.txt and /llms.txt.