# https://www.robotstxt.org/robotstxt.html
User-agent: *
# The dashboards. A crawler that follows one is redirected to /auth, so there is
# nothing behind them to rank, and crawling them in full spends crawl budget on
# pages that answer with a login screen.
#
# `/auth`, `/register` and `/oauth` used to be listed here too, and that was the
# wrong tool. A disallowed page is one a crawler may not *read* — so it never
# sees an exclusion on the page itself, and a page linked from the header of
# every public page gets indexed anyway, with no title and no description.
# Search Console reported exactly that on 2026-10-07, under "Indexed, though
# blocked by robots.txt". Those routes now carry `noindex, follow` in their own
# markup (`pageHead({ noindex: true })`), which a crawler has to be allowed in
# to read.
Disallow: /dashboard-user
Disallow: /dashboard-company
Disallow: /dashboard-admin
# Filtered and paginated permutations of the listings. The listing pages
# themselves stay open, and every job, company and post has its own canonical
# URL in the sitemap — so nothing is hidden by this, only the combinatorial
# explosion of the same results in a different order.
Disallow: /offerte-di-lavoro?
Disallow: /aziende?
Disallow: /blog?
# Served by Django (admin/cityjobs/sitemap.py); frontend/server.ts proxies the
# path through. Absolute by protocol requirement, and pointing at production on
# purpose — this file is only read by a crawler on the real domain.
Sitemap: https://milan-job.it/sitemap.xml