20i Reseller Hosting

Disabling SSL in one folder

Discussion in 'Website Design' started by mat, Jan 26, 2017.

  1. mat United Kingdom

    mat Well-Known Member

    Joined:
    Apr 2007
    Posts:
    3,913
    Likes Received:
    111
    Hi,

    I have a Wordpress site with SSL. Currently everything redirects to https using the following .htaccess rule:

    RewriteCond %{ENV:HTTPS} !on [NC]
    RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

    (By the way when adding this it seems to be one of the only solutions that worked without messing up the site)

    The problem I am having is that now in places like affiliatewindow, it no longer shows the URL that the sale came from.

    My affiliate redirects look like this:

    website.co.uk/out/merchantname

    So I am guessing that I need some way of disabling SSL redirect to https on ALL urls inside the /out/ folder.


    Thanks.
     
  2. Domain Forum

    Acorn Domains Elite Member

    Joined:
    1999
    Messages:
    Many
    Likes Received:
    Lots
    articles.co.uk
     
  3. dazc United Kingdom

    dazc Active Member

    Joined:
    Dec 2008
    Posts:
    262
    Likes Received:
    12
    • Like Like x 1
  4. mat United Kingdom

    mat Well-Known Member

    Joined:
    Apr 2007
    Posts:
    3,913
    Likes Received:
    111
    Thanks for that! Have added it.

    Do you know if all browsers are supported now?
     
  5. dazc United Kingdom

    dazc Active Member

    Joined:
    Dec 2008
    Posts:
    262
    Likes Received:
    12
    I don't know but I seem to get the bulk of traffic from chrome anyway.
     
  6. Adam H

    Adam H Well-Known Member Exclusive Member

    Joined:
    May 2014
    Posts:
    1,599
    Likes Received:
    217
    • Like Like x 2
  7. lazarus

    lazarus Well-Known Member Exclusive Member

    Joined:
    Feb 2013
    Posts:
    1,019
    Likes Received:
    126
  8. mat United Kingdom

    mat Well-Known Member

    Joined:
    Apr 2007
    Posts:
    3,913
    Likes Received:
    111
    This is all fixed now so thanks!