Forum Moderators: phranque
RewriteRule ^example_example_example.htm?a=g\.html - [G]
RewriteRule ^example.html?iframe=true&width=80%&height=80%\.html? http://www.example.com/example.html [R=301,L]
# Redirect direct client script filepath requests back to friendly URL
# Additional parameters may precede, but none may follow "page=pagname"
RewriteCond %{THE_REQUEST} ^[A-Z]+\ /index\.html\?(([^&]*(&[^&]*)*)&)?page=zoe.html\ HTTP/ [OR]
# Additional parameters must precede, and others may follow "page=pagename"
RewriteCond %{THE_REQUEST} ^[A-Z]+\ /index\.html\?(([^&]*(&[^&]*)*)&)page=zoe.html((&[^&#\ ]*)*)\ HTTP/
RewriteRule ^index\.html$ http://www.example.com/zoe.html?%2%4 [R=301,L]
%{QUERY_STRING}. You'll also need to take steps to clear the query string when you redirect, otherwise it will loop. Neither rewrites are working.Those aren't rewrites, they are redirects.
RewriteCond %{QUERY_STRING} ^iframe=true&width=80%&height=80%
RewriteRule ^zoe\.html$ http://www.example.com/zoe.html [L,R=301]
width=80%&height=80%
.htaccess + query string = Sanskrit to me!