Let me start by saying I am not an .htaccess or Apache expert by any means. But I have the need to append a hashed term to the end of a URL query.
For example:
becomes
I am using the following rule (entire .htaccess file):
RewriteCond %{QUERY_STRING} ppw_confirm=(.*) RewriteRule ^/?(.*) http://www.example.com/?ppw_confirm=%1#go [NE,L] THE PROBLEM
After adding #go to the end of the parameter string, the .htaccess file still reads the ?ppw_confirm= query. It then attempts to perform a second redirect after which an infinite loop ensues.
I've been searching around for hours with no luck. Basically, I need a way to prevent .htaccess from re-writing twice to thus prevent this endless loop.
Open to any and all suggestions :)
Any help is greatly appreciated. Thanks in advance!
30xresponse to the client to add the#go?code#go. Just stuck in the endless loop issue.#goadded to its address bar?#gois being added to the URL bar at the end of the entire parameter, which looks something like this:http://www.example.com/?ppw_confirm=1&token=EC-1MV99112AX383650S&PayerID=PQN8BZYCRGYUY#go