title: Codeigniter redirect function is having error
body: <p>A PHP Error was encountered
  Severity: Warning</p>
  
  <p>Message: Cannot modify header information - headers already sent by (output started at /home/adityanamansingh/kings.adityanamansingh.com/system/core/Exceptions.php:271)</p>
  
  <p>Filename: helpers/url_helper.php</p>
  
  <p>Line Number: 564</p>
  
  <p>Backtrace:</p>
  
  <p>File: /home/adityanamansingh/kings.adityanamansingh.com/application/controllers/admin/Login.php
  Line: 34
  Function: redirect</p>
  
  <p>File: /home/adityanamansingh/kings.adityanamansingh.com/index.php
  Line: 315
  Function: require_once</p>
  
  <p>Why am I receiving this error in my code.</p>