Welcome Guest, Not a member yet? Register   Sign In
Redirect() ignore baseURL?
#3

Ok, thanks! That's a weird way of handling the redirections. I assumed it would redirect to the site url by default.
And what's the difference between redirect('foo/bar') and redirect()->to('foo/bar')?
The documentation is not clear on that point: https://codeigniter4.github.io/userguide...l#redirect
CodeIgniter 4 tutorials (EN/FR) - https://includebeer.com
/*** NO support in private message - Use the forum! ***/
Reply


Messages In This Thread
Redirect() ignore baseURL? - by includebeer - 04-22-2019, 02:11 PM
RE: Redirect() ignore baseURL? - by MGatner - 04-22-2019, 03:11 PM
RE: Redirect() ignore baseURL? - by includebeer - 04-22-2019, 03:30 PM
RE: Redirect() ignore baseURL? - by donpwinston - 04-22-2019, 05:02 PM
RE: Redirect() ignore baseURL? - by includebeer - 04-23-2019, 08:03 AM



Theme © iAndrew 2016 - Forum software by © MyBB