Hi,
I've tested the following Mod Rewrite on MAMP, but for some reason, it fails on LAMP. Any idea of what I am doing wrong?
RewriteEngine on
RewriteCond %{QUERY_STRING} ^newParamA=(.*)&newParamB=([0-9]*)$
RewriteRule ^newfolder/newsubfolder/$ oldfolder/oldsubfolder\.php?oldParamC=%1\&oldParamD=%2 [QSA,L]
The idea is that a query such as
http://domain.com/newfolder/newsubfolder/?newParamA=query&newParamB=111
will successfully map to:
http://domain.com/oldfolder/oldsubfolder/?oldParamC=query&oldParamD=111