Disable author page


#1

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


#2

Yes, it’s documented here:

TL;DR Remove the default rule to disable author pages


#3

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

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

  author: /author/{slug}