Can I run the Shopify store in a domain subdirectory/subfolder?

DariaShypulia
Visitor
1 0 0

Hello!

 

I have the main website on the root domain www.example.com and I want to run Shopify store (only a product page) on www.example.com/store .

 

Does Shopify support it? Can it work within a subdirectory?

I am a little confused with this question and can't find any needed information in the Shopify documentation. 

Is Shopify support these connections? Or it can be only a root third-party domain or subdomain?

 

 

I appreciate any help, links, and advice. Thank you!

Replies 3 (3)

evanc
Shopify Partner
14 4 4

Hi @DariaShypulia,

 

If www.example.com is hosted by another third-party (DreamHost, GoDaddy, BlueHost, etc..) then I believe you could do something similar by adding a CNAME record for a subdomain, like shop.example.com, where Shopify loads on. Then, you could link to shop.example.com from www.example.com to load the Shopify store. Please see the following documentation for reference:

 

https://help.shopify.com/en/manual/domains/add-a-domain/connecting-domains/connect-subdomain


I'm not sure if you can add it specifically to a folder on www.example.com without setting up the subdomain, this would probably be a question for your third party hosting provider's support team to see if you can set it up this way.

 

FWIW, I've worked on a few hundred Shopify accounts, and I don't believe I've seen any Shopify sites with the setup you're after, but I've seen many sites load Shopify on a subdomain of the main domain.

Detail-oriented web developer with 8+ years experience on the Shopify platform.
Now open to contract work
Send me your project details for rates and info at evan.crumpecker@gmail.com
evanc
Shopify Partner
14 4 4

One thing that you may want to look into is simply adding a Buy button to your existing domain's product landing page:

 

https://www.shopify.com/buy-button

 

Detail-oriented web developer with 8+ years experience on the Shopify platform.
Now open to contract work
Send me your project details for rates and info at evan.crumpecker@gmail.com
melac2
Visitor
1 0 0

I understand your point, but I'm facing the same issue.

 

I want to add a Shopify store under a subdirectory, such as www.example.com/store , instead of shop.example.com because I want to take advantage of the SEO and visibility benefits of www.example.com . Having the store under a subdirectory also improves organic traffic.

Is there any progress on this issue?

 

Alternatively, is it allowed to copy the Shopify landing page, product HTML pages, etc., under www.example.com/store , while keeping the checkout pages on shop.example.com for secure payments?

 

Thank you.