• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Processing of multiple domain names?

#1
Smile 
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!
Reply

#2
If you have apache mod rewrite available, you could use a rewrite rule:


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


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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