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

Offline Md Rakib Khan

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-1
    • 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....


Online llegrand

  • Hero Member
  • *****
  • Posts: 1798
  • Karma: +520/-7
    • 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: 228
  • Karma: +64/-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 »

Online llegrand

  • Hero Member
  • *****
  • Posts: 1798
  • Karma: +520/-7
    • 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: 228
  • Karma: +64/-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: 5
  • Karma: +0/-1
    • 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: 5774
  • Karma: +274/-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: 5
  • Karma: +0/-1
    • 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: 4358
  • Karma: +298/-10
    • 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

Offline Md Rakib Khan

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-1
    • View Profile
Re: How to create multi stores under sub folder?
« Reply #9 on: November 12, 2020, 06:02:16 AM »
I have installed it in mobilelop.com then I tried to create a multi site using mobilelop.com/bd
It is not working
even I changed from htaccess.txt to .htaccess
But not working.
Then, I put RewriteBase /store/ in .htaccess
After then not working
Can you tell me solution?


Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5774
  • Karma: +274/-2
    • View Profile
Re: How to create multi stores under sub folder?
« Reply #10 on: March 05, 2021, 06:41:26 AM »
I have installed it in mobilelop.com then I tried to create a multi site using mobilelop.com/bd
It is not working
even I changed from htaccess.txt to .htaccess
But not working.
Then, I put RewriteBase /store/ in .htaccess
After then not working
Can you tell me solution?

Hello. This feature added to the AbanteCart 1.3.0
https://github.com/abantecart/abantecart-src/archive/1.3.0.zip

 

Powered by SMFPacks Social Login Mod