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

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

You can use redirect function for this in u'r "m" controller
redirect('', 'refresh');

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

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