tags:

views:

36

answers:

2

Ok

can some one tell me what is wrong with this, i know it seems stupid but it is not working

RewriteEngine On

RewriteRule ^(/mapa/mapa.htm) htp://www.domain.com/map

i also try

RewriteEngine On

RewriteRule ^(/mapa/mapa\.htm) htp://www.domain.com/map

any ideas ?

+1  A: 

Try this for your rewrite rule.

RewriteRule ^map/?$    mapa/mapa.htm    [L]
Kristinn Örn Sigurðsson
y try it but don,t work is very strange
Cano63
what is the ? means
Cano63
The ? means the / char is optional. So it can be mysite.com/map and mysite.com/map/Maybe the relative path is the issue. Try putting absolute path instead of mapa/mapa.htm
Kristinn Örn Sigurðsson
absolute path ?
Cano63
Yeah, the full filesystem path to the mapa.htm file (that is if you're running this locally of course :)).
Kristinn Örn Sigurðsson
A: 

Thanks all for your help, i just remove the cache from my explorer and problem fix. It seem that the cache was showing me the old adress. I know it is crazy but what can i say.

Cano63