url > anchor routing - 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: url > anchor routing (/showthread.php?tid=21864) |
url > anchor routing - El Forum - 08-23-2009 [eluser]Slowcheetah[/eluser] How is it possible to route/redirect the following... /product/4/ to /product#4 I tried to use the # symbol in the routes.php but that didn't worked. url > anchor routing - El Forum - 08-23-2009 [eluser]pistolPete[/eluser] Routes are internal, I guess you need a real redirect. Have a look at the user guide: url helper Code: $this->load->helper('url'); |