Advertisement:

Author Topic: Subdomain with user/publisher name.  (Read 519 times)

Manish

  • Newbie
  • *
  • Posts: 2
Subdomain with user/publisher name.
« 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


marius-ciclistu

  • issues
  • Hero Member
  • *
  • Posts: 1652
  • "BE GRATEFUL TO THOSE THAT SUPPORTED YOU"
Re: Subdomain with user/publisher name.
« Reply #1 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 /*