• Resolved sairys

    (@sairys)


    Hi,

    When we enable gamipress on our site it causes issues with the permalink structures other than plain. Setting them to plain or disabling gamipress makes the site work fine but the moment the permalinks are turned back while gamipress is enabled they start giving 404 errors.

    We also have bbpress installed and this seems to work okay when everything else is down, but disabling it doesn’t affect the issue.

    Any ideas what we can do to make things work (without just setting everything to plain)?

    • This topic was modified 6 years, 1 month ago by sairys.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Ruben Garcia

    (@rubengc)

    Hi @sairys

    Probably your issue comes that an achievement type (or rank type) slug matches an already registered route

    GamiPress achievement types and rank types registers a new route using the slug field to let your users access them through a frontend route

    For example, if you create the achievement type My Badges (with slug my-badge), your users will be able to access to your “My badges” achievements through a route like:
    https://yourwebsite.com/my-badge/badge-slug
    Or
    https://yourwebsite.com/my-badge/badge-slug-2

    Simply, check if any of this types matches the same as an already registered post type (like product, forum, topic, or something like that)

    Ah, if you rename a type (o create a new one) remember to refresh your permalinks (Settings -> Permalinks -> Click on save changes)

    Best regards

    Thread Starter sairys

    (@sairys)

    Our only achievement types right now are “role” and “badge” with the pages they’re interfering with being “events”, “community”, “guide”, “management”.

    I’ve even deleted the achievement types altogether then refreshed permalinks and it’s still causing the 404 errors

    Plugin Author Ruben Garcia

    (@rubengc)

    Hi @sairys

    Then you should check if this routes conflict comes from another plugin since GamiPress just register the achievement types and rank types slugs as routes

    Best regards

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Gamipres interfering with permalinks’ is closed to new replies.