Support

Home Forums Event Espresso Premium Getting strange urls that lead to broken links

Getting strange urls that lead to broken links

Posted: April 4, 2019 at 11:54 pm


ppo

April 4, 2019 at 11:54 pm

We’ve been having unpredictable behaviour where the event espresso plugin would generate url’s to events with lots of numbers like 5-2-2-2-2-2 at the end of the url. This would then lead to a broken page that doesn’t exist.

Nothing on the site would change, and then the plugin would serve an event url that is correct. Is this a known issue and what can we do to prevent it?


Tony

  • Support Staff

April 5, 2019 at 4:12 am

We’ve been having unpredictable behaviour where the event espresso plugin would generate url’s to events with lots of numbers like 5-2-2-2-2-2 at the end of the url. This would then lead to a broken page that doesn’t exist.

Looking at your site, those look like the correct event slugs.

Are you duplicating events to create new ones?

Nothing on the site would change, and then the plugin would serve an event url that is correct. Is this a known issue and what can we do to prevent it?

It’s not a known issue with Event Espresso itself no, but what it looks like is happening is something on your site is flushing permalinks at an unexpected time, so then WordPress isn’t registering the EE event posts rewrite rules.

Right now, the event links on your site are ‘broken’ in that if I use a ‘pretty’ permalink (which looks like you have set to ‘postname’, they don’t work, however if I use the ‘ugly’ links, the event works as expected.

(I’ll post examples in a private reply as you haven’t posted your sites URL)

This means the issue is with pretty permalinks and your sites rewrite rules.


Tony

  • Support Staff

April 5, 2019 at 4:14 am

This reply has been marked as private.


Tony

  • Support Staff

April 5, 2019 at 4:15 am

If you go to Dashboard -> Settings -> Permalinks

You don’t need to make any changes, just load that page, does the first link now work?

The support post ‘Getting strange urls that lead to broken links’ 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