I need to be able to allow my users to view events by country and/or province via URL. Is there a way to setup the permalinks to allow me to show listings of events by country and province?
I.E.
abc.com/usa
OR
abc.com/usa/california
Hello Ben, Under the title when you create an event, there is a line there that says “Permalinks”. If you click the “edit” button beside it, you can customize your permalinks.
Otherwise, to get the slashes after the country and province, you could create Event categories, and name the slugs there, then simply categorize each event accordingly.
Hi Ben, if you have a lot of countries then I can see how this would become very tedious for you. However it is the most dummy-proof way of doing it, without knowing how to modify the code and do some heavy programming.
Sorry it can’t be easier!
Author
Posts
Viewing 4 posts - 1 through 4 (of 4 total)
The topic ‘Putting country/province in the URL’ is closed to new replies.