skip to Main Content

I have a codeigniter project. Recently I deployed it with SSL. And I forced my site to use Https from http by modifying in .htaccess and changed baseurl too. The problem is I have a registration and login form . When changed from http to Https the form doesn’t submits and the entry in dB is also not made…,any thing till I wanna change?

2

Answers


  1. Usually it because the html try to load non https sources.

    You can see the blocked requests on chrome console.

    Make sure all your sources (css, js, fonts) are loading with relative urls, anror change hard-coded and external links to https

    Login or Signup to reply.
  2. Make sure the value of base_url in config.php uses https, i.e.

    $config['base_url'] = "https://example.com/";
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search