The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Events Manager
[resolved] Saving EM permalinks overwrites JSON API's permalinks (4 posts)

  1. Daedalon
    Posted 4 years ago #

    I finally was able to isolate another bug I stumbled first time upon a while ago. The symptom was that the permalinks of another plugin, JSON API, were occasionally rendered non-working and we couldn't use it to export data to our mobile application. After the second time I found the fix: it was to re-save the WordPress permalinks settings. Now the cause seems to be found as well. Here are the steps:

    1. Install JSON API and it serves your event data behind such URLs as example.com/api/controller/method/.
    2. Go to Events > Settings > Pages > Permalink Slugs and click Save Changes (All) without having changed anything.
    3. All JSON API URLs start serving only 404 Not Found error pages. No other URLs seem to be affected.
    4. Go to WP-Admin > Settings > Permalinks and click Save without having changed anything.
    5. JSON API URLs start working. No other URLs seem to be affected.

    At the moment it's easy to accidentally disable the mobile app for every user by updating EM permalinks without remembering the extra step of re-saving WP permalinks after that. If this is verifiable for the Events Manager developers and can be fixed in a future update, that'd be great.


  2. agelonwl
    Posted 4 years ago #


    sorry, we can't work on other plugins; however will try to check on this.


  3. Daedalon
    Posted 4 years ago #

    The issue is likely either Events Manager saving its permalink rewrite rules in an aggressive way, or JSON API saving its rewrite rules in an overly fragile way that is prone to be overwritten.

    I don't know enough about the best practices for rewrite rule saving in plugins to identify which plugin might be the cause, but it would be great if the reason could be found and fixed.

  4. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 4 years ago #

    considering the other plugin was updated over a year ago, high chance it's them causing the problem.

Topic Closed

This topic has been closed to new replies.

About this Plugin

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

About this Topic