I want to add if condition in htaccess file for a controller action. The url is like
www.example.com/user/profile/5?cid=7&pos=1
I want to add condition in htaccess file if url is action "profile". I tried following:
<If "%{REQUEST_URI} == 'profile'">
// do something
</If>
but it doesn't work. Please advice.
Aucun commentaire:
Enregistrer un commentaire