Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Redirecting/hiding the direct home page route

first-time

Started by Maxmillion McLaughlin 8 years ago · 0 replies · 686 views
8 years ago

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?

Suggested topics

Topic Participants Replies Views Activity
Support · by TomW, 2 weeks ago
8 228 10 hours ago
Support · by alex, 2 months ago
8 667 1 day ago
Support · by Supple, 5 days ago
1 98 1 day ago
Support · by TomW, 1 week ago
3 160 3 days ago
Support · by TomW, 6 days ago
2 106 6 days ago