bux23
1/23/2017 - 11:19 AM

Remove specific query var from url htaccess

Remove specific query var from url htaccess

RewriteEngine On
RewriteCond %{QUERY_STRING} ^(.*)&?&s=[^&]+&?(.*)$ [NC]
RewriteRule ^/?(.*)$ /$1?%1%2 [R=301,L]