Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Http & Https redirection

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


    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