htaccess – How to redirect all http (port 80) requests to https (port 443)

Sometimes you may need to redirect http requests on port 80 to (https) on port 443. This can easily be accomplished with .htaccess.

 

4 thoughts on “htaccess – How to redirect all http (port 80) requests to https (port 443)”

  1. the trick is not working on my local server

    i have tested it on my home pc but it is not working can u suggest me what may be the problem

Leave a Reply

Your email address will not be published. Required fields are marked *