• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
use same controller for different urls

#1
[eluser]Unknown[/eluser]
Hi
i have two different urls like
www.abc.com and www.abc.com/m/

i use m for mobile site .i want that when somebody enter the www.abc.com/m/ this url
than same controller will call that i have created for www.abc.com site .


if anybody know about this then tell me i shall be thankfull for u.

Thanks & Regards
Bhupinder

#2
[eluser]mi6crazyheart[/eluser]
You can use redirect function for this in u'r "m" controller
Code:
redirect('', 'refresh');
exit;


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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