I'm looking for a solution to disable the direct route to my home page. Say I have a page created with the slug home and I set it as my homepage in my site.yaml. I can access it through example.com/ or example.com/home. I'd rather not allow pages to have multiple routes to avoid confusion with crawling and sitemaps - is there a clean solution to this without monitoring the uri and redirecting?
Log in to reply.
Suggested topics
| Topic | Participants | Replies | Views | Activity |
|---|---|---|---|---|
| 1 | 74 | 8 hours ago | ||
| 6 | 161 | 2 days ago | ||
| 2 | 118 | 3 days ago | ||
| 2 | 102 | 4 days ago | ||
| 1 | 153 | 5 days ago |