Author Topic: How to create multi stores under sub folder?  (Read 357 times)

Offline Md Rakib Khan

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
How to create multi stores under sub folder?
« on: August 18, 2020, 02:49:22 AM »
I have tried much to create Abantecart Multi Stores under Subfolder but It is no solution.
Anyone Please give me real solution.

Suppose my site is.

price.mobilelop.com

I want to create multi store under

price.mobilelop.com/bd/
price.mobilelop.com/in

etc....


Offline llegrand

  • Hero Member
  • *****
  • Posts: 1581
  • Karma: +443/-3
    • View Profile
Re: How to create multi stores under sub folder?
« Reply #1 on: August 18, 2020, 08:26:29 AM »
Sub-folders are not compatible with mulit-store. 

Read this manual information for how-to:


https://abantecart.atlassian.net/wiki/spaces/AD/pages/8028306/Multi-store

Offline maxter

  • Full Member
  • ***
  • Posts: 172
  • Karma: +59/-0
    • View Profile
Re: How to create multi stores under sub folder?
« Reply #2 on: August 18, 2020, 08:36:03 AM »
Multi-store with subdirectories is very strange set up. You might be able to get it working with .htaccess hacks.

I suggest you use subdomains instead of subdirectories like below.

price-bd.mobilelop.com
price-in.mobilelop.com
« Last Edit: August 18, 2020, 03:32:44 PM by maxter »

Offline llegrand

  • Hero Member
  • *****
  • Posts: 1581
  • Karma: +443/-3
    • View Profile
Re: How to create multi stores under sub folder?
« Reply #3 on: August 18, 2020, 09:55:36 AM »
small point here:
to the best of my knowledge  the underscore (_)  is not valid in a domain name. 
but the hyphen (-) works fine.

Offline maxter

  • Full Member
  • ***
  • Posts: 172
  • Karma: +59/-0
    • View Profile
Re: How to create multi stores under sub folder?
« Reply #4 on: August 18, 2020, 03:33:16 PM »
Thank you llegrand for the comment. I posted to quickly. I corrected the post.

Offline Md Rakib Khan

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: How to create multi stores under sub folder?
« Reply #5 on: August 19, 2020, 12:23:57 PM »
Abantecart should bring this solution very soon. Because Prestashop has this option.

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 4662
  • Karma: +241/-2
    • View Profile
Re: How to create multi stores under sub folder?
« Reply #6 on: August 21, 2020, 07:06:02 AM »
Hello, Md Rakib Khan.
In my opinion, what you want is not good for SEO. Google will see your other stores as one site.

Why it is so critical for you to setup multi-stores like subfolders? With AbanteCart you can set multi-stores as separate domains or subdomains

Offline Md Rakib Khan

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: How to create multi stores under sub folder?
« Reply #7 on: August 27, 2020, 08:07:47 AM »
Hi !    Basara

If I will change title and des in separate then Google SEO won't affect.

See mobile57.com use multi store under sub folder .........


Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4251
  • Karma: +278/-9
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: How to create multi stores under sub folder?
« Reply #8 on: September 21, 2020, 12:33:44 PM »
Md Rakib Khan

There is a branch with the change that you can try.
https://github.com/abantecart/abantecart-src/tree/same_domain_multistore

I slightly tested this solution.

Depending on the webserver you use, you need to adjust rewrite rule for your store/subfolders

Please try and report if any issues.

Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

 

Powered by SMFPacks Social Login Mod