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 |
|---|---|---|---|---|
| 4 | 160 | 7 days ago | ||
| 2 | 137 | 1 week ago | ||
| 5 | 370 | 2 weeks ago | ||
| 5 | 563 | 2 weeks ago | ||
| 6 | 348 | 3 weeks ago |