Post by imb » Sun Nov 17, 2013 2:51 am

The files have this code in them:

RewriteEngine On
RewriteCond %{SERVER_PORT} !=443
RewriteCond %{REQUEST_URI} webshop
RewriteRule ^(.*)$ https://www.preceptscotland.org/webshop/$1 [R=301,L]

RewriteEngine On
RewriteCond %{SERVER_PORT} !=443
RewriteCond %{REQUEST_URI} webshop/*****
RewriteRule ^(.*)$ https://www.preceptscotland.org/webshop/*****/$1 [R=301,L]

The ***** show where the login to the backend is - but the name has been changed for security reasons.

imb
Newbie

Posts

Joined
Thu Nov 14, 2013 10:51 pm

Post by butte » Sun Nov 17, 2013 3:16 am

The one for admin is unnecessary -- I was expecting to see a user/pass arrangement or something else related specifically to admin, not a mimetic rewrite. The root .htaccess covers directories above it, where additional directives can be added, but yours in admin doesn't do anything useful and is counterproductive, so remove it.

Okay, then upon return florinsmith will see the lines requested.

Guru Member

Posts

Joined
Wed Mar 20, 2013 6:58 am

Post by imb » Sun Nov 17, 2013 3:54 am

Thanks, and will await florinsith's verdict!!

imb
Newbie

Posts

Joined
Thu Nov 14, 2013 10:51 pm

Post by inactiveaccount9912 » Sun Nov 17, 2013 10:02 am

Yes, those are the redirects I was reffering to, can delete the one from admin, leave the one from root (in case the site is manually accessed via http it still redirects to https so has the purpose you intended for it), mark your topic as solved and done.

Expert Member

Posts

Joined
Fri May 14, 2010 2:36 am

Post by imb » Sun Nov 17, 2013 5:45 pm

Many thanks again for all of your help!

imb
Newbie

Posts

Joined
Thu Nov 14, 2013 10:51 pm
Who is online

Users browsing this forum: No registered users and 14 guests