i have a trivial question about htaccess rewrite condition. The think i want to do in my htaccess is:
When someone accesses my project from a url different from "example.com" to be redirected to a specific controller, for example app_user.php
I need the syntacs for this condition redirect.
Thanks for your time
accesses my project from a url different from "example.com"Accesses how? What is "my project"? This could be a referrer issue, or an issue with several server aliases pointing to the same server...ll make the question more clear just for future references. I have more than 1 domains pointing to my web project. I want all of the domains which arent "example.com" when accessing the project to be redirected to a specific front controller.