Author Topic: another try on multistore setup  (Read 6669 times)

Offline hani

  • Jr. Member
  • **
  • Posts: 62
  • Karma: +7/-0
    • View Profile
Re: another try on multistore setup
« Reply #15 on: May 09, 2017, 08:12:57 AM »
Hi

I am setting another store in subdomain but it is not working correctly, the subdomain [second store] is http://www.wholesale.bethlehemcasting.com/ and the it is in the root folder public_html and i set the status of the store OFF but if you go this url it will take to the default store while keeping the subdomain url

there is something that possibly i am missing.

In the store admin what should the subdomain store be entered http://www.wholesale.bethlehemcasting.com/ OR http://www.bethlehemcasting.com/wholesale/ ????

Thanks

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 3816
  • Karma: +185/-0
    • View Profile
Re: another try on multistore setup
« Reply #16 on: May 09, 2017, 09:04:57 AM »
Hello.

Set you default store url to http://www.bethlehemcasting.com/  [www is important]
Set your second store status to ON and store url to http://wholesale.bethlehemcasting.com/
« Last Edit: May 10, 2017, 01:34:46 AM by Basara »
“Chuck Norris is so amazing.”
― Mother Teresa

Offline hani

  • Jr. Member
  • **
  • Posts: 62
  • Karma: +7/-0
    • View Profile
Re: another try on multistore setup
« Reply #17 on: May 09, 2017, 10:47:47 AM »
Hi

Thank you for your reply
See the attached images these are the configurations and if you click on the site now it will take you to the main site and not the subdomain.

Just a note maybe this will help or this is the problem, in my host cpanel the RECORD for the main domain and the subdomain are the same is this correct??

Hani

Offline hani

  • Jr. Member
  • **
  • Posts: 62
  • Karma: +7/-0
    • View Profile
Re: another try on multistore setup
« Reply #18 on: May 09, 2017, 11:05:10 AM »
Hi

i think that there is a bug in version 1.2.10 see the error logs

2017-05-09 11:53:11 - App Warning: AbanteCart core v.1.2.10 Warning: Accessing store with non-configured or unknown domain ( wholesale.bethlehemcasting.com/ ).
Check setting of your store domain URL in System Settings . Loading default store configuration for now. in /home/XXXXX/public_html/core/lib/config.php on line 210

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 3816
  • Karma: +185/-0
    • View Profile
Re: another try on multistore setup
« Reply #19 on: May 10, 2017, 01:34:19 AM »
Hello.

Looks like you miss my message. Status OFF mean it is Disabled and will not work.
Also www.subdomain.domain.com and subdomain.domain.com are different urls. Please review my message above  :D
“Chuck Norris is so amazing.”
― Mother Teresa

Offline hani

  • Jr. Member
  • **
  • Posts: 62
  • Karma: +7/-0
    • View Profile
Re: another try on multistore setup
« Reply #20 on: May 10, 2017, 03:19:43 AM »
Hi

Thanks for your help it is working now.

An important point, the status of the store should be ON otherwise the original / Main site will load. i thought that setting the status to OFF is similar to maintenance mode the site will not load

Thanks for your help

Offline Anon

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: another try on multistore setup
« Reply #21 on: October 05, 2018, 01:33:54 AM »
No you can't do multistore like that.  Your example is using sub FOLDERS.   Multistore can only be a subDOMAIN or a different domain name.


subdomains are easy to set up within you cPanel  so your url would look like this:

Site2: clothes.domain.com/store
Site3: shoes.domain.com/store
Site4: gifts.domain.com/store

However,  if these are the items you are wanting to organize -  perhaps using the categories for clothes, shoes, and gifts would work .

The option to create subdomains creates an additional Cpanel step and also isn't convenient to manage globally as subdomains are often considered separate entity altogether by Google Webmasters and others.

A simple domain.com/store/mcdonalds, domain.com/store/starbucks would have been a simple approach and also implemented by popular multi-vendor stores.