Events Manager
Permalinks redirect event detail to calendar (8 posts)

  1. daymobrew
    Posted 5 years ago #

    Single event page does not work.

    Using EM 4.1.2 with WordPress 3.2 on Zeus/4.3 server on Linux. Zeus uses rewrite.script instead of .htaccess.
    I have deactivated and reactivated the plugin and refreshed my permalinks (month and name type). I have gone to Settings/Permalinks and clicked Save Changes.
    I have installed the permalink rewriter plugin in mu-plugins/em-perm-rewrite.php and run it.

    My calendar page is:
    Individual pages have urls like:
    but clicking on them brings me to the calendar page.
    I did create a 'Event' sub page of the 'event-detail' page but still does not work so I have deleted that sub page.

    Turning on EM_DISABLE_PERMALINKS gives working urls:

    Any suggestions?

  2. daymobrew
    Posted 5 years ago #

    I have created a fresh install of WordPress 3.2.1 and EM 4.1.2. Using the default theme TwentyEleven. Permalinks set to Month and Name.

    Clicking on an event name returns to the events page.
    There is no change when I use a rewrite.script file (the Zeus equivalent of a .htaccess file).

  3. daymobrew
    Posted 5 years ago #

    I have been poking around classes/em-permalinks.php and the rewrite_rules row in the wp_options database table.

    My events page has a slug of /race-calendar/event-details (it is a sub page of the 'race-calendar' page.
    The rewrite_rules list has:

    This is exactly as I expect after reading line 127 in rewrite_rules_array() in em-permalinks.php but when I try a url of that format e.g.
    it goes to
    instead of

    If I enter the latter url directly it gives a 404, after redirecting to:

    Should I move my Events page to the top level?

  4. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 5 years ago #

    you need to set EM_DISABLE_PERMALINKS to true in your wp-config.php file http://wordpress.org/support/topic/event-detail-links-not-working-latest-version-fresh-install

  5. daymobrew
    Posted 5 years ago #

    I have set EM_DISABLE_PERMALINKS to true in wp-config.php. This is the current setting on the live site.

    This gives me the 'ugly' urls. I want pretty permalinks. How do I achieve that? Can I achieve that on Zeus?

  6. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 5 years ago #

    not sure... however we're working towards making events posts so we're not tackling this issue as it'll fix itself

  7. daymobrew
    Posted 5 years ago #

    Is this planned for version 5 or a v4 release?

    I will stick with EM_DISABLE_PERMALINKS = true for now.

  8. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 5 years ago #

    i guess we'll have to call it v5 to avoid confusion.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Events Manager
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic