Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other Force HTTPS except for one URL

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #255962
    thpcss
    Participant

    Hi! I have recently moved my site to HTTPS and use the following .htaccess 301 redirect;

    RewriteEngine On
    RewriteCond %{ENV:HTTPS} !=on
    RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

    However, there is one URL I want to keep as HTTP i.e. http://www.mydomainname.co.uk/demonstration/links_client.php

    Can anyone please confirm what code to add to the .htaccess file to achieve this?

Viewing 1 post (of 1 total)
  • The forum ‘Other’ is closed to new topics and replies.