I've added something in my routing.yml so i won't get /page/pagename. But i thought that would only affect the contenttype 'page'.
- Code: Select all
pagebinding:
path: /{slug}
defaults: { _controller: 'Bolt\Controllers\Frontend::record', 'contenttypeslug': 'page' }
contenttype: pages
When i try to go to /dossiers (another contenttype) then i don't get the listing page anymore. When i remove that pagebinding part from my routing it works again. I find this strange since that piece of routing should only affect the contenttype pages.
~ Dorien