• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to make custom URL??

#1
[eluser]aniketharshe20[/eluser]
Hello,

I want to have a custom URL like domainname/#/topic
where topic is any string.

Currently I have domainname/topic , I have done this via routes.php
Code:
$route['(.*)'] = 'topic/view/$1';

so here view method of topic controller is called.

I want to have same thing but with # in the URL.

How can I achieve this??

Thanks,
Aniket


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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