• Resolved toddbenton

    (@toddbenton)


    This is a great plugin but a lot of power in the hands of someone if they don’t know how to use it properly…in this case, my client. My client is using the Points and Rewards plugin for WooCommerce which creates an additional page in /my-account to add a place for members to see how many points they have. The url to view their points is: https://sandiegoseedcompany.com/my-account/points-and-rewards/

    Well, yesterday, my client decided to use that url for a page describing her Points and Rewards program. When she did, she got a 404 error. So I went into the URI editor for pages and changed the url to https://sandiegoseedcompany.com/points-and-rewards/. However, the original url for the Points and Rewards display page is still throwing a 404 error and the members can’t see their points any longer (not good.) I looked into Regenerate Native Slugs in settings but this is only available in the Pro version, and from what I can see, I can’t tell what the ID was for that page/post so I wouldn’t be able to limit it to only that page.

    Do you have an suggestions about how to correct this? In other words, I need the https://sandiegoseedcompany.com/my-account/points-and-rewards/ to show the points, not a 404 error. I checked with WooCommerce who sells that plugin and they said Points and Rewards does not come with an option to configure its endpoint to access points under my-accounts page and recommended I reach out to you.

    • This topic was modified 4 years, 5 months ago by toddbenton.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Maciej Bis

    (@mbis)

    Hi @toddbenton,

    I am not certain what exactly happens but it looks like ‘points-and-rewards’ endpoint was either removed or changed.

    Could you try to deactivate and activate again “Points and Rewards” plugin? This should make the plugin add ‘points-and-rewards’ endpoint to the rewrite rules array.

    If this does not help you can force my plugin to detect the endpoint:

    function pm_points_rewards_endpoints($endpoints) {
    	return "{$endpoints}|points-and-rewards";
    }
    add_filter('permalink_manager_endpoints', 'pm_points_rewards_endpoints');

    Best regards,
    Maciej

Viewing 1 replies (of 1 total)
  • The topic ‘Points and Rewards Page now gives 404 error’ is closed to new replies.