Sorry, we don't support your browser.  Install a modern browser

Redirect any home page set in config to site URL

At the moment only a home page called home will be redirected to the site URL when accessed directly (i. e. /home). I think it would make more sense to redirect any page set as home page in the config, not only the default.

11 days ago

Or actually not sure if it should return an error … it’s not a page that should be accessible by its ID anyways.

11 days ago

@silllli Not sure I can follow you. Using the starterkit, I add 'home' => 'notes' as config option. Now I get to see the notes page by default as home page when I navigate to my main URL (e.g. starterkit.test/). I also get redirected to starterkit.test/ when I try to access starterkit.test/notes.

8 days ago

You are very right. The behavior I encountered is caused by the code snippet provided here in the guide.

One probably needs to check for home pages there and prevent returning them. I will adjust my route accordingly. Thank you for having a look at this.

8 days ago