I've made a custom page for my wordpress website which will return custom results based on the data in the URL (not a search page).
Here's what it does:
The url is something like
http://example.com/CustomPage/BlaBla, while landing on the page, it is supposed to read the last part (which is BlaBla) and return results based upon that.
But i'm getting a 404 error page every time. However i can use a query like
http://example.com/CustomPage?query=BlaBla and do the trick, but i want the link to have a structure like the 1st one.
Is it possible to achieve this? Any help is appreciated.