I’ve got the event search shortcode set up on my site, when I type the name of an event it appears, I click it, but then I get taken to a 404 page. I’m taken to …/?page_id=4&ee=2, whereas the event is actually located at …/?page_id=142&ee=2 – my Event Registration page has id 142.
Any pointers?
Thank you 🙂
This topic was modified 12 years, 2 months ago by Simon Haddleton.
I was having a similar issue on my test install. We have an open ticket for this. In the meantime, you can try switching to “pretty permalinks” by going to your WordPress Permalink settings and using one of the non-default options (anything that isn’t ?p=123 for permalinks). Another possibility is putting the event search shortcode on the same page as the ESPRESSO_EVENTS shortcode.
I was just looking into the bug ticket we have for this and found the problem. We are declaring page_id=4 in the code! That is totally my fault and will have it fixed in the next update.
In the meantime, if you want to fix it yourself find the following line of code in the event-espresso/includes/shortcodes.php file:
The support post ‘Event Search goes to 404 page’ 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.