Skip to content

HAMUR_W6409: robots.txt is not at the origin's root

robots.txt is not at the origin's root. Warning HAMUR_W6409 belongs to @hamur/seo (6401 – 6500).

Message

text
HAMUR_W6409 app.baseURL is "<baseURL>": crawlers read robots.txt only at the origin's root, so <baseURL>robots.txt is not read

Cause

app.baseURL is not /. Crawlers read robots.txt at the root of the origin only.

Fix

Serve robots.txt at the origin's root, outside the app.