Welcome Guest, Not a member yet? Register   Sign In
Add a dynamic sub-domain for every user
#1

[eluser]Hitankar[/eluser]
Hi,

I am developing an application. I need to have the following.

For the user 'Ray'. The url should be:

http://www.ray.example.com/site/

redirect to

httpo://www.example.com/site/users/ray

where site is a controller, users is a method and the third segment is the username.

Is this possible through routes or would be needing to do some changes to .htaccess.

Thanks Ray


Messages In This Thread
Add a dynamic sub-domain for every user - by El Forum - 06-10-2010, 10:06 PM
Add a dynamic sub-domain for every user - by El Forum - 06-11-2010, 12:44 AM
Add a dynamic sub-domain for every user - by El Forum - 06-11-2010, 01:06 AM
Add a dynamic sub-domain for every user - by El Forum - 06-11-2010, 01:12 AM
Add a dynamic sub-domain for every user - by El Forum - 06-11-2010, 01:13 AM
Add a dynamic sub-domain for every user - by El Forum - 06-11-2010, 01:24 AM



Theme © iAndrew 2016 - Forum software by © MyBB