CodeIgniter Forums
Redirect Notice - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: Redirect Notice (/showthread.php?tid=68835)

Pages: 1 2 3


RE: Redirect Notice - cndunga - 09-03-2017

That is what I am using but still getting double domain name on the activation link as follows

http://examprep.co.ke/examprep.co.ke/auth/activate/65/5b653c642af470347ff4d6c090d1c2ba54e22037


RE: Redirect Notice - InsiteFX - 09-04-2017

Try this and see what happens:

PHP Code:
$config['base_url'] = 'http://examprep.co.ke/';
//$ark_root .= str_replace(basename($_SERVER['SCRIPT_NAME']),"",$_SERVER['SCRIPT_NAME']);
//$config['base_url'] = $ark_root; 

Remark those two lines out and see if you get a double url.