Loading


Advertisement:

Author Topic: How to use Advance Setting for creating subdomain for any selected option  (Read 4019 times)

mkmobi

  • Full Member
  • ***
  • Posts: 116
how to show separate categories for all separate cities

like http://bangalore.olx.in/

_CONEJO

  • Administrator
  • Hero Member
  • *****
  • Posts: 4391
I'm sorry but I did not understand you, if you ask if it's possible to have TWO types of subdomains active, unfortunately it's not possible

mkmobi

  • Full Member
  • ***
  • Posts: 116
Dear _CONEJO sir,
i want to create seperate caregory for per region
for example when i open subdomain newyork.olx.com then page is showing category for separate  region or city

ok tell me use of advance option
in admin panel

_CONEJO

  • Administrator
  • Hero Member
  • *****
  • Posts: 4391
I still don't understand what you're trying to do, but here's more information about this topic :
http://dev.osclass.org/2013/07/19/use-categories-countries-regions-or-cities-as-subdomains/

Seema

  • Newbie
  • *
  • Posts: 13
I set up my site subdomain in my shared hosting plan. I found it very easy to configure. So I answer in osclass forum "I set up subdomain in my site and if anybody wants to know then contact me".
From then I got lots of email regarding setting up city subdomain so I decided to post to answer your question "How to configure your hosting to set up subdomain."
Read here
Osclass subdomain configuration setting for city, region, country Read this article and setup city subdomain
« Last Edit: May 17, 2016, 02:54:10 pm by Seema »

Seema

  • Newbie
  • *
  • Posts: 13
Re: How to use Advance Setting for creating subdomain for any selected option
« Reply #5 on: September 05, 2015, 08:46:44 am »
Yes it is so easy, just need 3 steps to configure.
I set up my site subdomain in my shared hosting plan.
 Config.php setting
Change
define('REL_WEB_URL', 'rel_here');

define('WEB_PATH', 'http :// yourdomain. com'); and as define('WEB_PATH', 'http://'.$_SERVER['HTTP_HOST'].'/');
define('COOKIE_DOMAIN', '.yourdomain.com');

2
Go to your Hosting Control panel and create a subdomain


as   *.yourdomain.com

3. Select city or region or categories as subdomain and yourdoman.com without www in the box.
For more detail you can see my site http://www.1234bhkflats.com/
and
http://www.abcdclassifieds.com/

adleee84

  • Newbie
  • *
  • Posts: 21
Re: How to use Advance Setting for creating subdomain for any selected option
« Reply #6 on: September 24, 2016, 12:39:26 pm »
hi @Seema

Let say i want to create a community for osclass. For example sports lover and i create a subdomain for that sportslover.mysite.com

how do i get user to publish listing both in my master domain (mysite.com) and subdomain (sportslover.mysite.com)

both domain and subdamain will use the same login  (no extra registration needs).

for posting listing, when user post in master domain (mysite.com), user also have an option to post their listing in the subdomain (sportslover.com). maybe in the post-item page in master domain, user will give an option whether to also publish it in subdomain.

thanks

soumikr

  • Newbie
  • *
  • Posts: 20
i did like you said seema but my not working why?