Hey, i am having problems in .htacess url rewritings.
I have .htaceess file as mentioned below:
Options +FollowSymlinks
RewriteEngine on
RewriteBase /
php_flag register_globals On
RewriteRule ^Hotel/(.*)$ HotelProfile.php?urlname=$1 [L]
ErrorDocument 404 /error.php
AddType application/x-httpd-php .html .php .htm
But it does not rewite url as i intend to in .html
I have tried various combinations such as
Options +FollowSymlinks
RewriteEngine on
RewriteRule ^(.*)\.htm$ $1.php [nc]
RewriteRule ^Hotel-([0-9]+)\.html$ hotel.php?id=$1
but none of them are giving results that requires....
I want to rewrite this url...
Can somebody suggest what do i need to do please.
Thank you