- Posts: 20
COMMUNITY FORUM
add subdomain for evry user
- Payam Omrani
-
Topic Author
- Offline
- Junior Member
Less
More
11 years 11 months ago - 11 years 11 months ago #115229
by Payam Omrani
add subdomain for evry user was created by Payam Omrani
i want give some panel to my users to add items
when a user registred in k2 create subdomain like username and its link to user page
like this : USERNAME.mydomainname.com
how can i do it ?
when a user registred in k2 create subdomain like username and its link to user page
like this : USERNAME.mydomainname.com
how can i do it ?
Please Log in or Create an account to join the conversation.
- Payam Omrani
-
Topic Author
- Offline
- Junior Member
Less
More
- Posts: 20
11 years 11 months ago #115230
by Payam Omrani
Replied by Payam Omrani on topic Re: add subdomain for evry user
no one knows ?
I am willing to pay for it
I am willing to pay for it
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
11 years 10 months ago #115231
by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: add subdomain for evry user
I am no server expert I but you have to google "dynamic subdomains" or virtual subdomains
This might help you
stackoverflow.com/questions/3976574/dynamic-subdomain-php
This might help you
stackoverflow.com/questions/3976574/dynamic-subdomain-php
Please Log in or Create an account to join the conversation.
- Payam Omrani
-
Topic Author
- Offline
- Junior Member
Less
More
- Posts: 20
11 years 10 months ago #115232
by Payam Omrani
Replied by Payam Omrani on topic Re: add subdomain for evry user
Thank u
but i want to link to k2 users
it is possible to do it ?
but i want to link to k2 users
it is possible to do it ?
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
11 years 10 months ago #115233
by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: add subdomain for evry user
You have to set each user as menu item to have a clear pattern like /users/user-xx, and create a dynamic subdomain for the users/.. path.
I think it is possible.
I think it is possible.
Please Log in or Create an account to join the conversation.
- Payam Omrani
-
Topic Author
- Offline
- Junior Member
Less
More
- Posts: 20
11 years 10 months ago #115234
by Payam Omrani
Replied by Payam Omrani on topic Re: add subdomain for evry user
how can i do that automatically ?
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
11 years 10 months ago #115235
by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: add subdomain for evry user
If you are not comfortable with PHP and .htaccess or NGINX rules I suggest that you hire a professional for this task since it can be quite overwhelming.
Please Log in or Create an account to join the conversation.