404 on single events with pretty permalinks
-
If I turn off permalinks, all works fine. Listing page works fine as well (with or without pretty permalinks).
With permalinks on, I get a 404. I did a little debugging and here’s what I have:
permalink structure '/%postname%/' page permastruct '%pagename%' matched rule and query '[^/]+/([^/]+)/?$' matched query 'attachment=2013-women-achievement-awards' request 'event/2013-women-achievement-awards'
I don’t get why it’s looking for an attachment. Or why the request didn’t match any of these other existing rewrite rules:
rewrite rules array ( 'event/([^/]+)/(\\d{4}-\\d{2}-\\d{2})/?$' => 'index.php?tribe_events=$matches[1]&eventDate=$matches[2]', 'event/([^/]+)/(\\d{4}-\\d{2}-\\d{2})/ical/?$' => 'index.php?ical=1&tribe_events=$matches[1]&eventDate=$matches[2]', 'event/([^/]+)/all/?$' => 'index.php?post_type=tribe_events&tribe_events=$matches[1]&eventDisplay=all', 'events/page/(\\d+)' => 'index.php?post_type=tribe_events&eventDisplay=upcoming&paged=$matches[1]', 'events/ical' => 'index.php?post_type=tribe_events&ical=1', 'events/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?post_type=tribe_events&eventDisplay=upcoming&feed=$matches[1]', 'events/month' => 'index.php?post_type=tribe_events&eventDisplay=month', 'events/upcoming/page/(\\d+)' => 'index.php?post_type=tribe_events&eventDisplay=upcoming&paged=$matches[1]', 'events/upcoming' => 'index.php?post_type=tribe_events&eventDisplay=upcoming', 'events/past/page/(\\d+)' => 'index.php?post_type=tribe_events&eventDisplay=past&paged=$matches[1]', 'events/past' => 'index.php?post_type=tribe_events&eventDisplay=past', 'events/(\\d{4}-\\d{2})$' => 'index.php?post_type=tribe_events&eventDisplay=month&eventDate=$matches[1]', 'events/(\\d{4}-\\d{2}-\\d{2})$' => 'index.php?post_type=tribe_events&eventDisplay=upcoming&eventDate=$matches[1]', 'events/feed/?$' => 'index.php?eventDisplay=upcoming&post_type=tribe_events&feed=rss2', 'events/?$' => 'index.php?post_type=tribe_events&eventDisplay=default', 'event/([^/]+)/ical/?$' => 'index.php?post_type=tribe_events&name=$matches[1]&ical=1',
Some other plugin settings that may be relevant:
Events URL slug: events
Single event URL slug: event
Skeleton Styles
No HTML in the before or after Event boxes
I don’t have anything custom in my .htaccess
No custom templates in my theme folder
I have tried saving permalink settings again
I have tried deactivating/activating the pluginAny one have any idea from this info what I’ve wired incorrectly?
- The topic ‘404 on single events with pretty permalinks’ is closed to new replies.