How to change “events” slug & rewrites

January 17, 2024

Changing event slug can be achieved easily via eventon settings.

Under the EventON Event Post Slug field write the slug text you want to appear instead of /events/ Changing this would result in a single event page URL like

Further Customize Rewrites

You can further customize the event permalink structure with the slug by tapping into the pluggable filter like below. — This code should go in functions.php  file in your theme.

More information on rewrite editing can be found in here:

Above example show several options you can pass into rewrite of slug in the event permalinks.

with_front — option allow you to either remove any front URL parameters added for other pages be removed from event permalink.

Did this article help you? If not, send us a ticket via helpdesk

Ready to setup your calendar?