admin/ July 9, 2016/ Linux/ 0 comments

Force rewrite url to https using .htaccess

by admin

Force rewrite url to https using .htaccess

To force rewrite url on https using the .htaccess file.

Open the .htaccess file and add the below code after the rewrite engine on.

Paste the below code

Note-: Please verify the rewrite module is enabled.

if not enabled then please use the below command-:

Leave a Reply

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