Basically I'm trying to make a codeigniter app with localization subdomains such that if I access:
ca.site.com -> it would run the same system but shows canadian content. us.site.com -> still runs the same system but shows american content.
plus if i access www.site.com, it would automatically get the proper localization using ip2country and would get redirected like if from uk, redir to uk.site.com
there would only be 1 system folder and 1 application folder:
root /system /application index.php
now i want the urls to stay put from whichever localization they are. like:
uk.site.com/profile/1 will access a profile controller ca.site.com/profile/3 will also access the same controller uk.site.com uses
how will i be able to implement this?
pardon me if my inquiry is a bit crude. but i hope someone can help me.