Redirect URL to htaccess file

Asked

Viewed 112 times

1

I need to make sure that when they access my site like this http://www.meusite.com.br/guarulhos redirect (or open) the page http://www.meusite.com.br/guarulhos.asp . 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 you’re not giving me any feedback, redirect to a folder Wombs where it does not exist.

1 answer

0

I found this topic because it was with a similar problem. For me it solved like this:

Redirect 301 /pasta /arquivo.asp

Browser other questions tagged

You are not signed in. Login or sign up in order to post.