I'm trying to do a subdomain redirect in .htaccess as follows:
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{HTTP_HOST} !^testephp\.com\.br
RewriteCond %{HTTP_HOST} ([^\.]+)\.testephp\.com\.br$ [NC]
RewriteRule ^/?$ http://testephp.com.br/index2.php [L,QSA]
If I enter the url link works okay, all ok, however, when typing something similar to #
I'm using xampp on my local machine.