Want to create dynamic subdomain in codeigniter?

Posted by Nilay Patel on Pro Webmasters See other posts from Pro Webmasters or by Nilay Patel
Published on 2012-03-16T13:15:03Z Indexed on 2012/04/11 5:44 UTC
Read the original article Hit count: 527

In my site i want to add an functionality for user to use their username with domain.

Like in codeigniter right now i want to give the user to use their own url to login in site and do other stuff.

For eg:

i Want www.username.mysite.com/login or www.username.mysite.com/category

so here the user can login with their credential and add the category. so i have two controller in my site with login and category.

So how to do this with the routes Or .htaccess.

© Pro Webmasters or respective owner

Related posts about php

Related posts about htaccess