i have .htaccess in which i want 301 redirect.So when I add 301 redirect code in .htaccess it works fine but i can not login to my backend.But if I remove this code it works fine.I just want it to work in frontend but now because of this code my I cannot login into backend.
Here is the CODE
RewriteEngine On
RewriteCond %{HTTP_HOST} ^example.com [NC]
RewriteRule ^(.*)$ http://ift.tt/VAk5HC [L,R=301,NC]
now i want if else condition or something which helps me to solve this error which works only for frontend of my open cart site and admin remains as it is without redirection.
Aucun commentaire:
Enregistrer un commentaire