Hi,
I can't find answer for this problem.
I have a subdirectory:
www.mydomain.com/cities/
where i have files of type:
Abakan_Hotels.html
Abigail_Hotels.html
Ankara_Hotels.html
etc.
I would like a mod_rewrite that does the work;
www.mydomain.com/Cityname_Hotels.html-->www.mydomain.com/cities/Cityname_Hotels.html
Shortly, i would like the mod_rewrite work only for files ending with _Hotels.html, pulling them from subdirectory "cities", and that in the browser still stays: www.mydomain.com/Cityname_Hotels.html
I tried the following:
Options +FollowSymLinks
RewriteEngine On
RewriteRule ^(.*_Hotels\.html)$ /cities/$1 [L]
but it doesn't work (error 500).
I'm not experienced with mod_rewrite
Any your help will be appreciated.