RewriteRule !\.(js|ico|gif|jpg|png|css|html)$ index.php
RewriteCond %{REQUEST_FILENAME} -s [OR] RewriteCond %{REQUEST_FILENAME} -l [OR] RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L] RewriteRule ^.*$ index.php [NC,L]
RewriteCond %{QUERY_STRING} !^$ RewriteRule .* https://www.xyz.com%{REQUEST_URI}? [R=301,L]
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)