I am trying to make search engine friendly pages with .htaccess.
The page look like
/en/hotel.php?id=nice-hotel-7-patterson-street and I would like the page to look like this
I am using this in my .htaccess file at the moment:
RewriteRule ^([a-zA-Z0-9_-]+)-([0-9]+)$ hotel.php?id=$2 [L]
but it does not seem to work in the
/en/ folder and does not seem to work if letters are in the variable.