SEO and AI: sitemap, llms.txt, structured data and 404 pages¶
Ekit handles the technical SEO of your site for you. There is nothing to configure: each site gets a sitemap, an llms.txt for AI assistants, a robots.txt, real 404 pages, and its preview addresses are never indexed. You can also describe the entries of a table with structured data (schema.org), in one click.
Pages are rendered on the server: search engines and AI crawlers (GPTBot, PerplexityBot, ClaudeBot…), which often do not run JavaScript, receive the full content of every page.
Sitemap: /sitemap.xml¶
Each site serves an up-to-date sitemap at the root of its address, for example https://www.mysite.com/sitemap.xml. Submit this URL in Google Search Console.
It lists:
- every page of the site (each file in
views/), in every language of the project:/en/,/en/about/,/fr/about/… - detail pages: one URL per entry and per language,
/en/blog/my-article/, for the entries that have a slug in that language; - for each URL, its versions in the other languages (
hreflang, plusx-defaultfor the default language) and the date of the last change.
The sitemap is regenerated automatically after a change to the site or to the project data.
Pages left out¶
| Page | Why |
|---|---|
views/404.hbs |
The "page not found" page |
Views whose name starts with _ (views/_draft.hbs) |
Reserved for pages you do not want listed (they stay reachable by their URL) |
A page with sitemap: false in its front matter |
Excluded on request |
A page with metas.robots: noindex… |
Not meant to be indexed |
In the site editor, you do not need to write it yourself: right-click a page in views/ and tick or untick Visible to search engines, or use the eye button that appears when hovering the page. Ekit adds or removes sitemap: false in the file. A crossed-out eye marks the hidden pages.
The editor also flags, with an orange icon, the pages that no link leads to on your site (menu, other pages, translations) while they are still listed for search engines: often old or test pages. It is only a hint (a link built from your data is not detected), nothing is hidden automatically.
Detail pages¶
A page that loads one entry from the URL slug is detected automatically, whether the datasource is in the view or in a partial it includes:
Every entry of the blog table with a slug then gets its URL: /<lang>/<page>/<slug>/.
If your page loads the entry another way, name the table yourself:
For AI assistants: /llms.txt¶
Each site also serves an llms.txt file at the root of its address, for example https://www.mysite.com/llms.txt. It is a short Markdown summary of the site that AI assistants can read in one request:
- the site name and description (title and description of the home page);
- every page of the sitemap, with its title, in every language;
- the detail pages, grouped by table (
## Blog posts), with the title of each entry.
# Northwind · The workspace your team will enjoy
> Projects, files and conversations in one place. Start free.
## Pages (en)
- [Northwind · The workspace your team will enjoy](https://www.mysite.com/en/): Projects, files…
- [Blog · Northwind](https://www.mysite.com/en/blog/): News, tips and product updates…
## Blog posts (en)
- [We are live!](https://www.mysite.com/en/blog/we-are-live/)
It follows the same rules as the sitemap (pages left out, detail pages) and is updated with it. Titles come from metas.title and metas.description of each page, and from the title column of each table. The file lists up to 2,000 links; the sitemap stays the complete list.
Note
llms.txt is a young convention: AI assistants do not all read it yet. The pages themselves remain the main source.
Structured data (schema.org)¶
Structured data tells search engines and AI assistants what a page describes: an article, an event, a dish, a place… It can earn rich results in Google (date, price, image) and makes your content easier to cite.
Set it per table: open the table settings (gear icon on the table tab), go to the Search engines tab and choose a type (project administrators). When nothing is set yet, Ekit suggests a type from the table name (Dishes → Dish, Events → Event, Blog posts → Article, Jobs → Job offer…): click Use it, then Save. Nothing is enabled until you save. Each detail page of an entry of this table then gets a <script type="application/ld+json"> block, filled from the fields. Nothing changes visually.
| Type | Properties you can fill |
|---|---|
| Article | title, summary, image, publication date, author, keywords |
| Event | title, summary, image, start, end, location, organizer, price |
| Product | title, summary, image, price, brand, reference (SKU) |
| Dish (menu) | title, summary, image, price |
| Recipe | title, summary, image, author, publication date, total time, servings, ingredients, steps, category, cuisine |
| Place | title, summary, image, address and position, website |
| Person | name, summary, photo, job title, email, website or profile |
| Organization | name, summary, logo, address, phone, email, website |
| Local business, Restaurant | name, summary, image, address and position, phone, email, opening hours, price range, website; for a restaurant, cuisine served and menu link |
| Software, app | name, summary, image, category, platforms, version, price, download link |
| Job offer | title, description, image, posting date, closing date, contract type, company, workplace, salary |
| Course, training | name, summary, image, provider, price |
| Book | title, summary, cover, author, ISBN, publication date, number of pages, publisher, price |
| Video | title, summary, thumbnail, upload date, duration, video file or link, player link (YouTube, Vimeo…) |
| Service | name, summary, image, service type, area served, provider, price |
Prices and salaries use the currency chosen next to the type. Each property name links to its definition on schema.org.
Which field fills each property¶
Under the type, the Field used for each property list shows every property with a field selector:
- Automatic (default): Ekit picks a field from its type and its name, and shows which one it picked, for example Automatic · Excerpt;
- a field of your table: only the fields of a suitable type are offered (a date field for a date, a file field for an image, a number field for a price, a relation for an author…);
- None: the property is left out, with no fallback.
How Automatic picks:
- name: the title column of the table;
- summary: the first long-text field, preferably named like
excerpt,summaryordescription(HTML removed, 500 characters at most); a field named like another property (ingredients,steps…) is not used as the summary; - image: the first image of a file field, preferably named like
cover,imageorphoto; - other properties: a field of the right type named like the property (
price,start,end,isbn,salary,opening hours,cuisine…). Dates, the location and the address also take the first field of their type when no name matches; - url: the canonical address of the page, on your public address.
When a field is missing, Ekit falls back on what it knows (except for a property set to None):
- image: the share image of the page (
og:image); - publication date (article, book, job offer, video): the creation date of the entry;
- author of an article, company of a job offer, provider of a course or service: your site (
og:site_name) as the organization.
If you rename or delete a field chosen for a property, that property goes back to Automatic.
Preview¶
Open JSON-LD preview to see the block of an entry of the table, computed like on the site, with your unsaved changes. Pick another entry in the list to compare. On the site, the page address is added, and the share image and site name when a field is missing.
The block is added only on detail pages (pages that load one entry from the URL slug, see Detail pages), only when the entry exists, and never twice: if your page already contains a JSON-LD block that you wrote yourself, Ekit adds nothing. Choose None to remove it.
Check a page with Google's Rich Results Test or the Schema Markup Validator.
robots.txt¶
On the site address, /robots.txt allows crawling and points to the sitemap:
404 pages¶
An address that does not exist returns a real 404 status (search engines drop it instead of indexing an empty page):
- an unknown page:
/en/does-not-exist/; - a detail page whose slug matches no entry:
/en/blog/unknown-article/. Your page is still rendered (you can show a message when the entry is missing), with the 404 status; - a detail page called without a slug:
/en/blog/whenviews/blog.hbsloads an entry withslug: "{{params.slug}}"; - an extra segment on a page that does not use the slug:
/en/contact/anything.php; - a first segment that looks like a language but is not one of the project's (
/wp,/xx/): see Languages, URLs and parameters.
Other forms of an existing page (/blog, /en/blog without the final slash…) are redirected to its official address: see Canonical addresses.
By default, Ekit shows a neutral "Page not found" page with a link back to the home page. To use your own design, create views/404.hbs: it is rendered with your layout, partials and translations, in the language of the address ({{lang}}).
<section class="py-24 text-center">
<h1>{{ektrans 'notfound.title'}}</h1>
<a href="/{{lang}}/">{{ektrans 'notfound.home'}}</a>
</section>
404 pages are never cached and never indexed.
Which address is indexed¶
| Address | Indexed |
|---|---|
Your custom domain (www.mysite.com) |
Yes |
The site's Ekit address (your-name.preview.ekit.app) when the site has no custom domain |
Yes: it is the site's public address (the technical address template-….preview.ekit.app redirects to it) |
| The site's Ekit address when the site has a custom domain | No (noindex, Disallow: /, no sitemap or llms.txt): it would be a duplicate of your domain |
| The preview in the Studio | Never |
Indexing is controlled with the X-Robots-Tag HTTP header, so it also applies to pages that have no metas.robots.
Canonical URL
If your site is reachable from several addresses, set metas.canonical in your pages so that search engines keep the right one.