AbanteCart Community

Shopping Cart Operations => Support => Topic started by: Md Rakib Khan on August 18, 2020, 02:49:22 AM

Title: How to create multi stores under sub folder?
Post by: Md Rakib Khan 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....

Title: Re: How to create multi stores under sub folder?
Post by: llegrand 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
Title: Re: How to create multi stores under sub folder?
Post by: maxter 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
Title: Re: How to create multi stores under sub folder?
Post by: llegrand 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.
Title: Re: How to create multi stores under sub folder?
Post by: maxter on August 18, 2020, 03:33:16 PM
Thank you llegrand for the comment. I posted to quickly. I corrected the post.
Title: Re: How to create multi stores under sub folder?
Post by: Md Rakib Khan on August 19, 2020, 12:23:57 PM
Abantecart should bring this solution very soon. Because Prestashop has this option.
Title: Re: How to create multi stores under sub folder?
Post by: Basara 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
Title: Re: How to create multi stores under sub folder?
Post by: Md Rakib Khan 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 .........

Title: Re: How to create multi stores under sub folder?
Post by: abantecart 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.

Title: Re: How to create multi stores under sub folder?
Post by: Md Rakib Khan 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?