Disclaimer: I've had a look at quite a few similar questions and haven't found any that answer my question. If you think otherwise, kindly reply. :)
Alright, so I have one page: /classifieds/ What I'm aiming to do is route various link structures to a single page and handle the request in the page template.
These are the examples I'm trying to achieve:
example.com/classifieds/ - Page without any custom endpoints/rewrites
example.com/classifieds/hyundai-for-sale/ - Page that returns Hyundai results. I'm achieving this with the following rewrite rule.
example.com/classifieds/hyundai-for-sale/page/2/ - Page with pagination. I'm achieving this with the following rewrite rule.
example.com/classifieds/hyundai-for-sale/min-year/2014/max-year/2017/ - Page with any combination of "filters", including allowing them to stack into a long . All filters below, which I've been trying to create with endpoints with no success:
What I mean by "Stackable endpoints"
Hopefully there's a glaringly obvious answer I've just overlooked..
Any help would be greatly appreciated!