Redirect URL to a file with htaccess

0

I need to make sure that when they access my site so http://www.meusite.com.br/guarulhos redirects (or opens) the http://www.meusite.com.br/guarulhos.asp page. I'm trying with htaccess

RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule /guarulhos http://www.novodominio.com/guarulhos [L,R=301]

But it is not giving me any feedback, it redirects to a folder guarulhos and it does not exist.

    
asked by anonymous 18.03.2015 / 14:10

1 answer

0

I found this topic because I had a similar problem. For me it solved thus:

Redirect 301 /pasta /arquivo.asp
    
22.08.2015 / 03:27