RewriteRule ^my-hotels/(.*).html$ hotel.php?hotelname=$1&menu=guide [L] RewriteRule ^my-hotels/(.*)-pictures.html$ hotel-pictures.php?hotelname=$1&menu=guide [L] Obviosly what I am trying achive is domain.com/my-hotels/some-hotel-pictures.html Each line works on its own.. but not together When I add the second line it refers to the first line & hotel.php runs.. Any ideas for this conflict ?
some-hotel-pictures.html matches (.*).html before the other rule is checked. Reverse them and be sure to include the [L]