![]() |
Problems with url - 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: Problems with url (/showthread.php?tid=44799) |
Problems with url - El Forum - 08-26-2011 [eluser]chicca[/eluser] Hi, all. I have read almost all posts of this and other forums but my problem remains. I'm working on Windows server and in my config.php i put Code: $config['base_url'] = 'http://www.my_site.com/'; and my .htaccess is Code: <IfModule mod_rewrite.c> Now the first problem is that i can reach any page i wrote only if i put a new line in my route.php like Code: $route['new_member'] = 'login/create_member'; Really it may not be a serious problem except that now I have to use pagination and to call a controller function from a view. So i have, for example, Code: www.my_site.com/page_with_pagination/2 and in a view loaded by my_controller Code: anchor(site_url('my_controller/delete_item/'.$row->idItem), 'Delete') both having 404 page not found as result. I tried to route both in hundred ways but i always have the same result: it search a page with a similar link and it can't understand pagination or controller/method/param. Also i tried to assign $config['uri_protocol'] to any options but nothing changed. Can you help me, please? Thanks in advance. |