We are scanning the URLs for the string and change the theme according to that, (our setup will make use of one calendar that changes skins, according to sub-sites), so in the event section we have three categories, each category represent separate theme.
* like “cat-one archive page”: http://site.com/event-cat-one/ – this page show the events from that category only – and the same is with the other two categories as well.
Now the problem we are facing is we cant re-write the single event url according to the category, currently the single event page shows like this: http://site.com/event/event-slug.
We need it like this: http://site.com/event-cat-one/single-event-slug.
We are planning to add one category per event, not multiple categories for a single event. At any rate, if there are multiple categories associated with the single event, the URL according to the first category is in the categories array.
Any suggestions? really needing help on this one. Much thanks!