• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
url > anchor routing

#1
[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.

#2
[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');
redirect('/product#4');


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.