Post by Melon » Mon Feb 18, 2013 9:31 pm

I have this in my htaccess file works great but stops the login of accounts..

RewriteRule ^index\.(php|html?)$ http://www.mydomain.co.uk [R=301,L]

New member

Posts

Joined
Thu Feb 03, 2011 8:02 pm

Post by Melon » Wed Feb 20, 2013 1:31 am

Any one ?

New member

Posts

Joined
Thu Feb 03, 2011 8:02 pm

Post by Melon » Thu Feb 21, 2013 9:10 pm

To let people know

RewriteCond %{QUERY_STRING} !route=account/login
RewriteCond %{QUERY_STRING} !route=checkout
RewriteRule index\.(php|html?)$ http://www.domain.co.uk [R=301,L]

seems ok with no problems.

New member

Posts

Joined
Thu Feb 03, 2011 8:02 pm

Post by uksitebuilder » Mon Mar 04, 2013 3:33 am

Not a good idea to use that code as all opencart requests are run through index.php - You will most likely get problems with the site running using that code.

ImageImageImageImageImage

For Friendly Professional Support - Click Here


User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom
Who is online

Users browsing this forum: No registered users and 11 guests