CodeIgniter Forums
redirect to route ignore baseurl - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28)
+--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30)
+--- Thread: redirect to route ignore baseurl (/showthread.php?tid=71313)



redirect to route ignore baseurl - puschie - 07-31-2018

there are some redirection problems ( well it only works with absolute paths )

e.g redirect()->route( 'ROUTE', [], 302 ) will route to HOST/ROUTE instead of HOST/BaseURL/ROUTE

response->redirect( '/ROUTE' ) have the same result


RE: redirect to route ignore baseurl - kilishan - 07-31-2018

If you've found bugs, the place to report them is by filing an issue over at GitHub. Though, the first thing I would ask to see is actual code to recreate, and how $baseURL is defined in application\Config\App.php


RE: redirect to route ignore baseurl - puschie - 08-01-2018

created Issue

thought it would be better to talk before creating an issue for an old known problem