New answers tagged


RewriteRule ^/contact/?view=full$ /contact/ [R=301,L] The RewriteRule pattern matches against the URL-path only, which notably excludes the query string. So, the above directive won't match the required URL. To match the query string you need to use an additional condition and check against the QUERY_STRING server variable. Also, in .htaccess (directory ...

Top 50 recent answers are included