CodeIgniter Forums

Full Version: Processing of multiple domain names?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
http://www.codeigniter.com/user/123456

Member Center was previously linked so now we need to make this

http://123456.codeigniter.com

123456 is a member ID, how do I resolve this location? Each and every user has their own subdomain?

Sorry, I use translation, hoping to get help!

THX!
If you have apache mod rewrite available, you could use a rewrite rule:


Code:
RewriteRule ^user/(.*)$ http://$1.codeigniter.com [R,L]