Osclass forums

Support forums => Installation / Update help => Topic started by: Manish on August 01, 2017, 09:44:46 am

Title: Subdomain with user/publisher name.
Post by: Manish on August 01, 2017, 09:44:46 am
I am very new to osclass. But have installed shopping carts etc.
I have installed osclass 3.7.4. I want to give a seperate subdomain to every user who has posted some ad in such a way that the link will show all products of that user.
eg. username.mydomain.com
Please guide in detail

Title: Re: Subdomain with user/publisher name.
Post by: marius-ciclistu on August 01, 2017, 10:41:03 am
1.In order for this to work, you need to make all your users set a new unique username from userdashboard.
2.You need to create as many subdomains as there are users(hard to do....)
3. If you would swich to "domain.com/username"
a)you need to make shure that no category has a name that is identical with some username or "contact", so you will have to complete in admin these banned words.
b) you can redirect via htaccess all
/user/profile/* to /*