Support

Home Forums Community Forum 404 File Not Found for Event Except when I'm signed into WordPress

404 File Not Found for Event Except when I'm signed into WordPress

Posted: October 15, 2014 at 1:54 pm

Viewing 4 reply threads


Peter Ferko

October 15, 2014 at 1:54 pm

I have a category shortcode generating a list of open events on a page. When I am logged into WordPress, the shortcode listings take me to the registration page for each event. When I am not logged in, each of them gives me a 404 error, even though it’s going to the same event URL in both cases.

WordPress 3.9.2 running Atahualpa theme. EE 3.1.36.4.L

Registration page: http://premasoma.com/gift-certificates/ (half way down the page is the shortcode-generated event list boxes)


Dean

October 16, 2014 at 6:48 am

Hi,

First thing to check is that the pages are correct.

Does the page Event Registration exist, and is it published? Does it have the [ESPRESSO_EVENTS] shortcode on it?

Also. in the General Settings page of Event Espresso, is that page set as the “Main Registration Page”? Screenshot: http://take.ms/BTmnH

Lastly you can see if “flushing” your permalinks helps, by going to General Settings (main WP ones) > Permalinks and just press save/update.


Peter Ferko

October 16, 2014 at 7:28 am

Thank you, Dean. The solution appears to be the Event Registration page’s publish status. It was set to Publish Private (to be hidden, since all events are done via category or individual event short codes on particular descriptive pages).

Is there a correct alternative way to hide this from inadvertent view? There is already no navigation that leads to the Event Registration page, which mostly takes care of that, but I’d be interested in knowing if it can be hidden.


Josh

  • Support Staff

October 17, 2014 at 10:01 am

Hi Peter,

One way to do this would be to hide the event list contents of the Main registration page using CSS. You’ll want to target the specific page ID + the event list div like this:

.page-id-8 .event-list-display {
display: none;
}


Peter Ferko

October 17, 2014 at 1:40 pm

Thank you for the advice, Josh and Dean!

Viewing 4 reply threads

The support post ‘404 File Not Found for Event Except when I'm signed into WordPress’ 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