I have this friendly url that i’m using on my website: I’m trying to do something that deny user to access directly in parameters value. For example, if user try to put another id inside url above, htaccess will redirect him to 404 page. Below is my htaccess code that convert my url get parameters to friendly url and works