Support

Home Forums Event Espresso Premium permalink issues and events pages

permalink issues and events pages

Posted: April 12, 2017 at 7:28 pm

Viewing 5 reply threads


Freddys

April 12, 2017 at 7:28 pm

Hi,
Until recently, all my event pages were working fine, but now I’m noticing some unusual behavior.

My event slug is currently and always have been set to “events”.

I also use to have a page called /events, and it contained an EE4 Events Table.

I noticed that two pages were showing up as 404 suddenly.
Those pages are:
https://carrickinstitute.com/events (has the events table)
https://carrickinstitute.com/events/events-calendar (contained a EE4 calendar view of the events listing)

When the permalink setting are set to “Numeric” the pages work again as expected.

When the permalink setting is set to “Post Name”, the pages are no longer found.

I realize that the event slug is most likely at fault it seems, but I’m confused as to what caused this to suddenly stop working all of a sudden. I did seem to start after a WooCommerce plugin update recently.

Ideally, I’d like to keep my https://carrickinstitute.com/events
working like it always was. Any ideas?
– Freddys


Tony

  • Support Staff

April 13, 2017 at 3:47 am

Hi Freddys,

Both of those pages are working fine for me currently, are you still having problems?


Freddys

April 13, 2017 at 4:22 am

Yes, they work because Perma link is set to “Numeric”.

I”ll put to “Post Name” for now so you can see what happens when it is. I hope that helps. I will need to return it to Numeric so the links are not broken soon, though.


Tony

  • Support Staff

April 13, 2017 at 4:34 am

You can switch it back now.

So the /events/ output continues to work, but the calendar won’t (which is actually expected)

In order for you to be able to use the ‘Events’ page you currently have with the table view template on you need to change the EE events slug.

What’s happening is when you go to https://carrickinstitute.com/events you go to an archive of EE events, even if you have a page with the slug ‘events’ WP ignores it and shows the archive. (this has always been the same so I have no idea why this worked for you previously)

So because EE has the ‘events’ slug when you go to https://carrickinstitute.com/events/events-calendar you are telling WordPress to search the EE events for a post called ‘events calendar’. In other words your looking for an EE event with the name Events Calendar, which doesn’t exist and shows 404.

If you change the EE events slug to something else (‘classes’ for example) within Event Espresso -> Events -> Templates then save the permalink settings once again to flush the permalinks the /events/ endpoint will show your event table and the calendar will work. The difference you will notice is the events pages like this:

https://carrickinstitute.com/events/801-neuron-theory-receptor-activation/

will then be:

https://carrickinstitute.com/classes/801-neuron-theory-receptor-activation/

You can’t have the EE events slug be the same as a pages (and child pages) that you want to use.

  • This reply was modified 7 years, 6 months ago by Tony. Reason: Awesome typo!


Freddys

April 13, 2017 at 3:12 pm

changed my event slug, and all works again.

Yeah, not sure how it worked before though, kinda weird.
FXG


Lorenzo Orlando Caum

  • Support Staff

April 14, 2017 at 5:13 am

Hi Freddys,

Were there any other questions that we could share feedback on about Event Espresso?


Lorenzo

Viewing 5 reply threads

The support post ‘permalink issues and events pages’ 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.

Event Espresso