• Resolved MisterHunter

    (@misterhunter)


    There seems to be some process that is adding a broken rewrite_rule to our site which causes the gift-registry page to come up as a 404. The rule that keeps getting added is:

    gift-registry(/(.*))?/?$: 'index.php?&gift-registry=$matches[2]'

    But then if we go to save the settings under NM Gift Registry >> Settings or the permalinks under Settings >> Permalinks the rule is removed from the site and the frontend page works.

    Do you think there could be any sort of conflict with displaying a page at:
    domain.com/gift-registry/

    then having the plugin configured to show gift registries at:
    domain.com/gift-registry/gift-registry-101450/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author nmerii

    (@nmerii)

    There would definitely be a conflict with that and this is due to wordpress’ own rewrite rules.

    The only thing that can be displayed at domain.com/gift-registry would be the nm gift registry post type archive. If you must display a page there then you need to change the permalink slug for displaying gift registries from ‘gift-registry’ to something else.

    Thread Starter MisterHunter

    (@misterhunter)

    I believe the issue was the same permalinks, we switched them and haven’t had this issue since.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Gift Registry Link 404’ is closed to new replies.