Skip to content

HTTPS Rewrite Linux/Hosting .htaccess

Discussed HTTP to HTTPS rewrite rule for windows platform IIS on previous post.  If the web server as linux based environment that can be archived and play with .htaccess file.

.htaccess file has always in hidden attribute so edit the file with vi editor

Add the below code of mod_rewrite.c module to make http to https redirection.


Suggestion: HTTP to HTTPS rewrite rule (IIS)

Be First to Comment

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: