Support

Home Forums Event Espresso Premium Getting 404 errors only in the /events/ subdirectory

Getting 404 errors only in the /events/ subdirectory

Posted: August 20, 2015 at 10:34 am

Viewing 3 reply threads


tbc

August 20, 2015 at 10:34 am

I started troubleshooting why our website http://www.templerogers.org was receiving 404 file not found errors in the events subdirectory only:
http://www.templerogers.org/events/sunday-morning-sevices/

I have gone through the following troubleshooting to determine that there is a conflict with Event Espresso plugin Version 4.8.4.p and the WordPress site Version 4.3 and/or theme.

Initial troubleshooting –
1. Updated Permalink Settings – saved correctly, no changes
2. Verified that mod_rewrite was on and the following code was in the .htaccess file
# BEGIN WordPress
02 <IfModule mod_rewrite.c>
03 RewriteEngine On
04 RewriteBase /
05 RewriteRule ^index\.php$ – [L]
06 RewriteCond %{REQUEST_FILENAME} !-f
07 RewriteCond %{REQUEST_FILENAME} !-d
08 RewriteRule . /index.php [L]
09 </IfModule>
10 # END WordPress
–no change to error
3. Cleared the WP Super Cache files
4. Updated the Mod Rewrite Rules from within the WP Super Cache – still no changes
5. Deactivated Event Espresso Plugin
6. Updated Permalink Settings – Success – no 404 errors for events
7. Turned Event Expresso plugin back on – 404 errors again in only the events subdirectory

Suggestions to resolve issue?


Tony

  • Support Staff

August 20, 2015 at 10:45 am

This looks like it is caused because Event Espresso is using the /events/ slug for its events.

Notice how this link works:

http://www.templerogers.org/events/womens-bible-study-thursday-mornings/

That’s because its an Event within EE.

So I’m assuming this:

http://www.templerogers.org/events/sunday-morning-sevices/

Is a page you have created and assign as the child of another page called events?

If so what’s happening is WordPress is braking down the permalink and looking for an ‘event’ (which is an EE event) with the slug ‘sunday-morning-sevices’.

To fix this you’ll need to use another slug other than ‘events’ for your EE events.

Go to Event Espresso -> Events -> Templates.

Within that section you’ll find an ‘Event slug’ option.

Change that to anything other then events. Save the settings then flush your permalinks.

Do the pages now load?


tbc

August 20, 2015 at 12:42 pm

I changed event espresso to register_events and the pages are not giving 404 errors for the events. Thank you!


Lorenzo Orlando Caum

  • Support Staff

August 20, 2015 at 1:12 pm

Hi, I checked your event lists page where the slug was changed along with one your single event pages and they are working.

Were you seeing 404 anywhere else on your site?


Lorenzo

Viewing 3 reply threads

The support post ‘Getting 404 errors only in the /events/ subdirectory’ 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