Problem with trailing slash?
-
Hello,
I’m having trouble with this excellent plugin, and I hope you can offer me some suggestions.
I have two sites: https://staging.example.com/
and https://www.example.com/members/I have a plugin that sends users an email link containing
?crfw_cart_hash=
I want that link to go through, and have configured it as follows:// whitelist URL if query string contains 'parameter' if ( (isset($_GET['rcpga-invite-key']) || isset($_GET['crfw_cart_hash'])) ) { $whitelist[] = site_url($_SERVER['REQUEST_URI']); } return $whitelist; }
Now the problem is that it works fine on the staging site, but doesn’t work on the live site. On the live site, it sends me back to the login page.
The link to the staging site looks like:
https://staging.example.com/?crfw_cart_hash=bE&crfw_email=jimbob%2Bcart123%40gmail.com&crfw_action=checkout
And the link to the live site looks like:
https://www.example.com/members?crfw_cart_hash=y4&crfw_email=jimbob%2B999%40gmail.com&crfw_action=checkout
I’ve tried putting a trailing slash after the word ‘members’ in this URL, but that doesn’t work either.
Do you have any idea what could be wrong?
Thanks for your help!
- The topic ‘Problem with trailing slash?’ is closed to new replies.