use same controller for different urls - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: use same controller for different urls (/showthread.php?tid=38511) |
use same controller for different urls - El Forum - 02-10-2011 [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 use same controller for different urls - El Forum - 02-10-2011 [eluser]mi6crazyheart[/eluser] You can use redirect function for this in u'r "m" controller Code: redirect('', 'refresh'); |