Skip to content
All technical docs Bricks technical documentation

Search engines, URLs and structured data

How Bricks addresses, indexes and describes published apps and the platform's own pages: URL shape, language versions, sitemaps, what is kept out of search engines, and the structured data each page carries.

Search engines, URLs and structured data

Bricks Technical Documentation

How Bricks addresses, indexes and describes published apps and the platform's own pages: URL shape, language versions, sitemaps, what is kept out of search engines, and the structured data each page carries.


A published Bricks app is a static site: every public page is prerendered into HTML at publish time, so a crawler or an AI assistant reads the full content without running JavaScript. This page says how those pages are addressed, how search engines are told which ones to index, and what each page says about itself. How the web app picks a language for a signed-in person is covered in Frontend translation.

URLs use hyphens, never spaces

Every address the platform derives from a name is lowercase, has its accents removed, and turns every other character into a hyphen:

What Derived from Example
An app's address the app's name at its first publish "Café des Arts" → cafe-des-arts.apps.bricks-softwares.com
A catalog the catalog's name "Matériaux de construction" → materiaux-de-construction
A technical documentation page the topic /technical/data-flows
A file uploaded by Studio the file's name "Plan d'accès.pdf" → plan-d-acces.<hash>.pdf
  • An app keeps its address. It is derived once, at the first publish, and reused at every later publish, even if the app is renamed, so links and search results do not break. It is at most 48 characters.
  • An app with a verified custom domain has one public address. Its .apps.bricks-softwares.com address answers 301 to the custom domain, keeping the path and query, so search engines see each page under one host only.
  • Page paths inside an app (/fr/nos-services, /en/our-services) are written by Studio as part of the app's source, page by page. The convention is the same: lowercase words separated by hyphens.
  • Query parameters (after the ?) are encoded by the browser's standard rules, where a space becomes + or %20. Search engines read parameters as data, not as words of the address, so the hyphen convention does not apply to them.

Current limits. Nothing yet enforces the hyphen convention on the page paths Studio writes: it is the convention Studio follows, not a check the build runs.

The one identifier with underscores. An organisation's own identifier uses underscores ("Café Déjà" → cafe_deja), because the same identifier names its database, where hyphens would need quoting. It appears only in the addresses of the signed-in administration (/org/cafe_deja/…), which search engines are asked not to crawl (see below). It never appears in a published app's address.

Each language has its own addresses

An app published in several languages serves every language under its own prefix, including the default one:

/            → language negotiator (not a page)
/fr          → home in French
/fr/tarifs   → a page in French
/en          → home in English
/en/pricing  → the same page in English
mermaid diagram
  • The root / is a language negotiator, not a page. It reads the browser's Accept-Language header, takes the first language the app offers, and sends the visitor to /{lang}. A visitor whose browser asks for none of them, including a crawler that sends no header, goes to the app's default language. Because its answer differs per visitor, the negotiator carries noindex and is never cached (Cache-Control: no-store, Vary: Accept-Language). A noindex on the root of a multilingual app is therefore intended: it keeps the redirect out of search results and lets the crawler follow it to the real pages.
  • Every language page is indexable. Each one is a separate prerendered file in that language, with <html lang> written into the HTML itself, not set afterwards by script.
  • Each page names its other languages with <link rel="alternate" hreflang="…">, plus an x-default that points to the negotiator for the home and to the default language's version of any other page. Search engines then show each person the version in their language and do not treat the translations as duplicate content.
  • Each page names itself as canonical (<link rel="canonical">), so a page reachable under two paths is indexed under one.
  • The language switcher navigates. Changing language on a public page goes to the other language's address (/fr/tarifs → /en/…), so the address, the HTML a crawler receives, <html lang> and the alternates always agree.

An app in a single language has no negotiator: its home is served at /.

Current limits. The alternates the boilerplate writes link the same path in each language (/fr/about ↔ /en/about). An app whose paths are translated (/fr/tarifs ↔ /en/pricing) has to declare its alternates itself, page by page. Canonical and alternate links are written as paths (/fr/tarifs), because the build does not know whether the app will be served on its .apps address or a custom domain; the 301 above is what makes that path resolve to one host.

Sitemaps and robots.txt are written by the platform

At every publish, after the build, the platform writes three files into the app from what was actually built:

File Content
sitemap.xml Every prerendered page, in every language, as an absolute URL. The negotiator and the app's internal fallback page are left out.
robots.txt Allows every crawler, names the sitemap, and points to llms.txt.
llms.txt What the app is and how to link into it, for AI assistants (see below).

These addresses use the app's canonical origin: its verified custom domain if it has one, otherwise its .apps.bricks-softwares.com address. The three files are reserved: if the app ships its own copy, the platform replaces it, so nothing is published under the app's address that the platform has not checked.

Current limits. Pages behind a sign-in are not prerendered and are not in the sitemap. A path the app has no page for is answered with the app's shell page and status 200, not 404; the app then shows its own "not found" in the browser. Search engines that follow a broken link may record it as a thin page rather than a missing one.

What is kept out of search engines

  • Signed-in areas of the platform (/org/, /account/, /platform/, /onboarding/, /auth/, /payment/, /invite/) are disallowed in the platform's robots.txt.
  • Media an organisation publishes through the platform (/p/<id>) is disallowed in robots.txt and served with noindex, nofollow, both as a meta tag and as an X-Robots-Tag header. Its structured data names the organisation as author and publisher. That content belongs to the organisation and is not authored or endorsed by Bricks.
  • An app whose hosting is suspended answers its address and every verified domain with a notice page, status 402 and noindex, so the suspension is not indexed in place of the app. The app is served again as soon as hosting resumes.
  • A page can opt out on its own. The boilerplate's Helmet component takes a robots value (for example noindex) for a page that must not be indexed.

What each page says about itself

Crawlers do not run JavaScript, so everything below is in the prerendered HTML.

  • Title, description and link previews. The Helmet component writes <title>, <meta name="description">, Open Graph and Twitter card tags (title, description, image and its alternative text, type, site name, locale, publication date for an article).

  • What the page is about. Helmet takes a jsonld value, a schema.org object, and writes it as <script type="application/ld+json">:

    <Helmet
      title="Our courts"
      jsonld={{
        '@context': 'https://schema.org',
        '@type': 'SportsActivityLocation',
        name: 'Example Racket Club',
        address: { '@type': 'PostalAddress', addressLocality: 'Namur' }
      }}
    />
    

    Only what the page actually shows should be described: structured data that overstates a page makes engines distrust the site.

  • How the page was built. Every page also carries its own schema.org WebSite block naming its construction chain: the person who conceived and validated it and the AI that drafted it, with the IPTC vocabulary for the source of digital content. Regions generated by AI, written by the organisation or posted by a visitor are marked where they appear (CreativeWork, ImageObject). Several JSON-LD blocks per page are valid, so these sit beside the page's own description. Why this is required is in AI Act.

AI assistants: llms.txt

llms.txt (llmstxt.org) tells an AI assistant what the app is and how to link into it. Each page is listed once, with its own title and description, and its other languages follow it. The organisation chooses how much the file discloses, each level including the previous ones:

Level The file adds An assistant can then
presence Name, address, languages Name the organisation and send the person to its site
pages (default) The public pages, each with its title and description Send the person to the right page
capabilities Purpose, subjects, standards used, and sections with links Judge whether the app answers the question
queries Link templates with named parameters, e.g. /en/search?q={term} Build a link to a specific result

The default, pages, publishes nothing beyond what the sitemap and the pages already show. The platform checks the declaration against the build at every publish: a link template must point at a public page and use only parameters that page reads, and anything that does not pass is dropped and listed in the publish log.

The platform's own pages

The platform's public pages, including this documentation, follow the same rules: hyphenated addresses, a sitemap per section named in robots.txt (/sitemap.xml, /technical/sitemap.xml), a description and a canonical URL on every page, and an llms.txt for the documentation (/technical/llms.txt) that links to each page's plain markdown (/technical/<page>/raw/<lang>).

Following an organisation, its spaces and their publications across the fediverse is covered in Bricks as a social network.