Results 1 to 7 of 7

Thread: how to redirect my website on https from http

  1. #1
    Junior Member
    Join Date
    Aug 2018
    Location
    New Delhi
    Posts
    1

    how to redirect my website on https from http

    I don't know how direct .... but i want to how it possible to direct a website on https from http

  2. #2

  3. #3
    Junior Member
    Join Date
    Sep 2018
    Location
    Kolkata
    Posts
    2
    Redirecting HTTP to HTTPS. Redirect All Web Traffic. If you have existing code in your .htaccess, add the following: Redirect Only a Specific Domain.

  4. #4
    Depends on what web hosting server you are on. Usually your hosting control panel will have a option that you may choose from,

    What happens when you do that is they modify your ht access file on your server. You can also do this yourself by inserting the following code...

    Code:
    RewriteEngine On
    RewriteCond %{HTTPS} off
    RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
    Just make sure you have a ssl or auto ssl for your website as forcing a redirect with no valid certificate will give a self signed warning.

    Also make sure all resources being called in your website are being called over https... somethings things like background urls wont change if they are absolute.

    If you are using wordpress there are lots of plugins that will do this for you. Force https being one.

  5. #5
    Junior Member
    Join Date
    Nov 2018
    Posts
    5
    Quote Originally Posted by petershene View Post
    Depends on what web hosting server you are on. Usually your hosting control panel will have a option that you may choose from,

    What happens when you do that is they modify your ht access file on your server. You can also do this yourself by inserting the following code...

    Code:
    RewriteEngine On
    RewriteCond %{HTTPS} off
    RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
    Just make sure you have a ssl or auto ssl for your website revglue(.)com/bespoke as forcing a redirect with no valid certificate will give a self signed warning.

    Also make sure all resources being called in your website are being called over https... somethings things like background urls wont change if they are absolute.

    If you are using wordpress there are lots of plugins that will do this for you. Force https being one.
    Agreed and we could have given more accurate advice if we know the name and the nature of that website.

  6. #6
    Junior Member
    Join Date
    Nov 2018
    Location
    Tehran
    Posts
    1
    This is my problem. I had to use https instead of http. but this post was really useful and helped me. Thank you.

  7. #7
    Junior Member
    Join Date
    Jan 2019
    Posts
    2
    Quote Originally Posted by stateexpress View Post
    I don't know how direct .... but i want to how it possible to direct a website on https from http
    The process of quite simple, you can use the plugin and you can also remove your SSL and it can be done by using the code

    # Redirect HTTPS to HTTP
    RewriteCond %{HTTP:X-Forwarded-Proto} =https
    RewriteRule ^(.*)$ http://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

Similar Threads

  1. tunelling thru HTTP/HTTPS
    By cacosapo in forum Newbie Security Questions
    Replies: 9
    Last Post: July 14th, 2004, 04:54 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •