Fix request redirecting to https( secured connection) on local - codeigniter 3

ยท

1 min read

How to fix redirects to a secured connection while trying to set up your codeigniter project locally.

Relax!! This is your last bus stop. The fix is particularly for windows users anyway. The rest should find the solution from their Dads.

This happens to be a very frustrating issue but has a very nice fix. Your best bet would be to setup ssl for your apache server. Refer to this tutorial to get started Here.

Below are the files required in the tutorial in case it gets missing somehow.

gist.github.com/CeoFred/56cae47b760565baf98..