Redirect Help |
[attachment=1811][attachment=1811]Hello support,
I am new to CodeIgniter. I am following this tutorial. https://www.youtube.com/watch?v=TC_9EuMTPN4&t=1090s I am on Xampp On W10 and i have a form with this URL: (see attachment) [/url] Code: http://localhost:8888/codei4/public/blog/create The Problem is with the redirect: Code: return redirect()->to('/'); I have tried searching all i am getting is this is a bug in CodeIgniter4---- Is there a Solution ??????? When I press the submit(create) button, ti takes me to this URL: Code: http://localhost:8888/blog/create/ Config/App: Code: public $baseURL = 'http://localhost:8888/codei4/public'; Code: Options +FollowSymLinks Routes look like this: Code: $routes->get('/', 'Pages::index'); I have tried hard coding(codei4/public in front of every instance of blog/create in my code. I need help. If you need further Info --Let me know. thank you |
Messages In This Thread |
Redirect Help - by zpupster - 06-28-2020, 07:42 AM
RE: Redirect Help - by inumaru - 06-30-2020, 01:24 PM
RE: Redirect Help - by tgix - 06-30-2020, 11:04 PM
RE: Redirect Help - by inumaru - 07-01-2020, 01:18 AM
|