i want to turn this url:
http://mysite.com/images/?url=20121206/test.jpg&zoom=120&f=g
into this:
http://mysite.com/images/20121206/test.jpg?zoom=120&f=g
the .htaccess file inside /images/ folder
I googled many regex but not working..please help!
or can do this outside the images folder?
Would this work?
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule images/(.*) images/index.php?url=$1 [QSA,L]
This should do the job I believe.
Options +FollowSymlinks
RewriteEngine On
RewriteCond %{QUERY_STRING} url=(.*)
RewriteRule /images/ /images/%1 [QSA, R]