![]() |
Problem with URl path - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Problem with URl path (/showthread.php?tid=5579) |
Problem with URl path - El Forum - 01-27-2008 [eluser]Jeeremie[/eluser] Hi, I am watching "Create a blog in 20 min". I have followed step by step this tutorial but when I preview the posts and try to create a new post I am not redirected to http://localhost/CodeIgniter_1.5.4/index.php/blog/scaffolding/add but to http://localhost/CodeIgniter_1.5.4/index.php/blog/scaffolding/index.php/index.php/blog/scaffolding/add I have to type the url manualy to access the page. Same problem when I try to save a new post. That's kind of frustrating as I can't go on with the tutorial if I cannot fix this problem. Could anyone help me? Thanks in advance. Problem with URl path - El Forum - 01-27-2008 [eluser]Pascal Kriete[/eluser] Make sure that you set your the base_url in your config file: Code: $config['base_url'] = "http://localhost/CodeIgniter_1.5.4/"; And welcome to the community ![]() Problem with URl path - El Forum - 01-27-2008 [eluser]Tetek[/eluser] R u sure is config ok? $config['base_url'] = "localhost"; $config['index_page'] = "index.php"; I've the same problems and I have some mistakes in the config.php Problem with URl path - El Forum - 01-27-2008 [eluser]Jeeremie[/eluser] Cool! It works. Thanks so much for you fast answer. |