rewriting an Url

You can customise the way your links are generated by going to the admin menu of WordPress then settings -> permalinks.

There will be multiple options to choose from or you may construct a ‘custom’ permalink structure to fit your needs.

So in your case, you may want to use the custom structure option and put something like %category%/%postname% if the event in your URL is a category.