I gave it a quick test and it appears to work but then when I try to access a page of an event I get a 404
Ideally what I would like to do is setup my website to be
website.com/blog/ for the blog
website.com/enrol/ for the slug for events
I have the slug /enrol/ already setup in templates for the events so that is fine. What I need to do, if I switch my permalinks over in WP to include the /blog/ slug is for the /blog/ to be replaced by /enrol/ for EE events only
I gave it a quick test and it appears to work but then when I try to access a page of an event I get a 404
Did you flush your permalinks after adding the above code? Any time you make changes to permalinks you need to go to Dashboard -> Settings -> Permalinks and hit save.
Ideally what I would like to do is setup my website to be
website.com/blog/ for the blog
website.com/enrol/ for the slug for events
So you currently have your permalinks set to something like /blog/%postname%/?
Viewing 1 reply thread
The support post ‘EE slugs and blog (permalink) slugs’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.