Disable author page

Is there a way to disable author pages? Perhaps there is a routing rule which would allow this.

Yes, it’s documented here:

TL;DR Remove the default rule to disable author pages

Thanks. To my future self DuckDuckGo-ing for the answer.

Remove this line from routes.yml to generate a 404 page.

  author: /author/{slug}
1 Like