Forum Moderators: phranque
I hope someone can help me with what I'm trying to do:
I have urls like this:
[domain.com...]
I'm trying to rewrite them using the word hotel/ plus the id number:
[domain.com...]
Is this the right code to do that?
Options +FollowSymlinks
RewriteEngine On
RewriteRule ^hotel/([0-9]+)/?action=HotelPlanListPC&hid=$1&%{QUERY_STRING} [L]
NOTE: There is a space before "?action" but this board keeps eating it.
Would someone help me or tell me if this is the right direction?
Thanks,