Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Http & Https redirection

  • 01-10-2008 03:38PM
    #1
    Registered Users, Registered Users 2 Posts: 3,102 ✭✭✭


    Hi Guys,

    We have a https website but we keep getting people putting in http instead of https and so missing the website.

    How can you configure a website with http: //website to automatically point to a https://website?

    And is this a good idea?

    Thanks


Comments

  • Registered Users, Registered Users 2 Posts: 597 ✭✭✭yeraulone


    do you have a .htaccess file?

    if so, if you add this it might work...

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


Advertisement