Location
The generic page logic
Setting the subfolder in the system config (folder_params) points to a page named the same as the subfolder.
Examples:
- /location goes to the location page
- /location/ also goes to the location page
- /location/rainham/kent?qwe=123 also goes to the location page but sends rainham/kent as a variable
Adding a folder to the system config (folder_params) can work for any requirement.