alex3 Posted February 5, 2010 Share Posted February 5, 2010 Hi, I'm running CodeIgniter with this htaccess: <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php/$1 [L] </IfModule> <IfModule !mod_rewrite.c> ErrorDocument 404 /index.php </IfModule> The problem is PayPal, which uses GET requests to transmit information during Express Checkout. When a customer cancels an order, they go to basket/review/?token=Something&PayerID=SomethingElse. This works fine. What does not work is when the user cancels the PayPal transaction, in which case PayPal transfers them to basket/cancel/?token=Something. I've isolated the issue, and it is resolved if &Anything is appended to the URL. So, basically, I want to scan for GET requests, and then add &A to the end of them. I really don't know how to do this, particularly with my existing rewrite rule. Either that, or transform all GET request in to the manner described in the title, such as with a hard 301 redirect. Any help is greatly appreciated. Cheers, Alex Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.