• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
want to create a url like http://www.example.com/uername

#4
[eluser]Rayhan[/eluser]
cool... but haven't got a clue from there...
This is what I have now....
http://www.example.com/user/profile/12 and now I want it to be http://www.example.com/12

I looked at the codeigniter guide for routing and set up new route similar to this one
$route['(:num)'] = "user/profile/$1"; - not working. This whole routing business seem very tricky to me. Can you please explain it further?


Messages In This Thread
want to create a url like http://www.example.com/uername - by El Forum - 06-20-2012, 07:51 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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