How to Force Redirect HTTPS to HTTP in Laravel

In this tutorial im going to describe how to force redirect HTTPS to HTTP. When i open virtual host url its showing

Your connection is not private

Attackers might be trying to steal your information from laravel-crud (for example, passwords, messages, or credit cards). Learn more

NET::ERR_CERT_AUTHORITY_INVALID

So let’s go to C:\xampp\htdocs\laravel-crud\public

Now open .htaccess file and put below code.

Now run your project it’s run successfully.

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x