Support

Home Forums Event Espresso Premium Link to single event-category from menu not working

Link to single event-category from menu not working

Posted: April 14, 2015 at 4:44 am


Sabine

April 14, 2015 at 4:44 am

I feel very stupid since I am an experienced WP-developer but working with EE(4) for the first time and I can’t get the category pages to work.
I have created multiple event categories and I made links to these event categories in the menu-editor, just by clicking the boxes and adding them the menu, very simple. But these event-category-links all give a 404 page when I click them and I don’t understand why.

I tried adjusting the Permalink settings from /%postname%/ to /%category%/%postname%/, I tried creating archive-events.php and category-events.php templates, I tried switching languages (the website is in Dutch), I tried switching to the standard 2015 theme and I tried fooling around with the url by changing the ‘event-category’-part to all kinds of names but all I see is 404’s.

Googling only finds me pages that explain EE shortcodes to call a specific category. I know how to do that but that would mean that I would have to create a page for every single category and paste the shortcode for that category in. Sounds not very efficient, there must be a better way since there is this built-in option to put links to event-categories in the menu.
What am I missing here or is it just not possible?


Tony

  • Support Staff

April 14, 2015 at 7:04 am

Hi Sabine,

Can you provide an example of one of these category links you are using please?

An example of the category link EE uses would be:

http://example.com/event-category/example/

This would be for a category called ‘example’.


Sabine

April 14, 2015 at 7:24 am

Hi Tony,

Thanks for responding. The site is still behind a login while in development but the links look like this:

http://www.example.nl/categorieevenement/actief/

or if I switch to English

http://www.example.nl/event-category/actief/

BTW there are upcoming events in the ‘actief’-category.


Tony

  • Support Staff

April 14, 2015 at 7:43 am

Do you also have a page called ‘actief’ (be it published, draft or trashed)?


Sabine

April 14, 2015 at 11:11 am

No I don’t have a page, post or whatever with the name or slug ‘actief’. All the event category links give 404’s in this fresh WP 4.1.1 install with an underscores base theme (http://underscores.me).
But what I would like to know, is this unexpected behavior that the links don’t work? Normally you should be able to link to a single event category right?


Lorenzo Orlando Caum

  • Support Staff

April 14, 2015 at 11:21 am

Hi Sabine, that is not expected behavior. Did you refresh permalinks when switching languages? This is needed since the slug is being changed.

Also, I saw your note regarding a new install with the underscores theme. Does this happen on defaults with only Event Espresso running on a default theme?

Here are the other slugs (when using pretty permalinks) for reference:

Events listing page
example.com/events/

Single event page
example.com/events/my-new-event/

Event category page
example.com/event-category/my-event-category/

Venues listing page
example.com/venues/

Single venue page
example.com/venues/my-new-venue/

Venue category page
example.com/venue-category/my-venue-category/


Lorenzo


Sabine

April 14, 2015 at 11:31 am

Yes! Regenerating the permalinks after changing the language did the trick, it works now! Thank you so much Lorenzo. And thanks for the reference list, that will come in very handy indeed too.


Lorenzo Orlando Caum

  • Support Staff

April 14, 2015 at 11:40 am

Glad this worked out for you Sabine. Enjoy your week!


Lorenzo

The support post ‘Link to single event-category from menu not working’ 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.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  Lorenzo Orlando Caum 4 years, 2 months ago ago

Topic Tags

Notifications

This topic is: resolved
Do NOT follow this link or you will be banned from the site!