Hi there!
I read the docs about the virtual pages however I can’t figure out how to achieve the following.
The content folder has the following structure (folder names):
– home
– ourproducts
– cars
– car1
– car2
– balloons
– balloon1
– balloon2
So the URL to a product subpage is
www.example.com/ourproducts/cars/car2
However I’d like the URL to say products instead of ourproducts
(For some specific unrelated reason I can’t simply change the folder’s name to products.)
So I thought about Kirby’s router – is it possible to change the URL from
www.example.com/ourproducts/cars/car2
to
www.example.com/products/cars/car2
using the router config?
Unfortunately categories like cars or balloons are dynamic pages, so more categories could be added by the client.
I read the virtual pages docs but am none the wiser.
Thanks for any input!
