reverse proxy subdomain to subfolder using Cloudflare

Topic summary

Core Issue:
Users want to host blogs on external platforms (WordPress, other CMS) while displaying them as subfolders of their Shopify domain (e.g., domain.com/blog) instead of subdomains, primarily for SEO benefits.

Proposed Solution:
Implementing a reverse proxy using Cloudflare to route subfolder URLs to content hosted on a subdomain or separate platform. The original poster specifically asks whether this violates Shopify’s terms of service.

Community Responses:

  • One user references a previous discussion thread about reverse proxies with Shopify (no definitive answer provided)
  • CoAlias mentioned as an advanced reverse proxy solution
  • Post Bridge app recommended as a Shopify-native solution that proxies WordPress to subfolders

Key Limitation:
Post Bridge requires the path structure domain.com/a/blog (not domain.com/blog) due to Shopify’s app proxy constraints. However, the app developer reports no SEO impact from this structure when properly redirected.

Status:
No official confirmation provided regarding Shopify’s policy on custom reverse proxy setups. The discussion remains open with workaround solutions offered but the original terms-of-service question unanswered.

Summarized with AI on October 29. AI used: claude-sonnet-4-5-20250929.

We want to transfer our blog to another platform and set up a reverse proxy using Cloudflare (as described here https://www.sammyseo.com/subdomain-to-subfolder-the-simple-cloudflare-reverse-proxy/), so our blog is accessible as a subfolder of our main domain which works on Shopify. But the content will be created and stored on our subdomain using another platform. So when a user loads our URL https://oursite.com/blog/our-article (not https://oursite.com/blogs/ which is a default Shopify functionality) we will show content that is located not on Shopify. Is there any problem with such a scheme?

Just to clarify one more time, because a support manager didn’t get me right:

We want to show our blog in a subfolder, not a subdomain. It will be accessible for users at https://oursite.com/blog/our-article. We will set up another platform on a subdomain (because we obviously can’t do it in a subfolder because we can’t access the server in Shopify) but will be showing it in a subfolder using reverse proxy.

So we will post our article using the subdomain like test.oursite.com/our-article but for our users it will be accessible at https://oursite.com/blog/our-article

What do Shopify rules say about it, is it allowed (or where can I read about it if it’s not)?

1 Like

Hi @anton34

Please take a look at this. It might be of some help.

Thanks.

Sajat

We are looking to do the same thing. We need a more robust CMS than we can find here on Shopify and are looking to run a WordPress blog at https://ourdomain.com/subfolder.

CoAlias allows you to do this. Its a advanced reverse proxy!

You can setup WordPress on a Shopify subfolder using the Post Bridge app here- https://apps.shopify.com/post-bridge

There are some limitations on the path, but this is now possible with our app!

I’m in a similar situation. We have a well established web portal and a shop. For SEO reasons (amongst others) we want to have the shop in a subfolder rather than a subdomain. i.e. https://www.oursite.com/ is our main site that is run on drupal, while https://www.oursite.com/shop is for the shop.

Is this possible (via CoAlias? Currently we use nginx) and could it cause any issues with themes, apps, etc.? Our current shop system does that, though there are a number of bugs and issues that have come from such a setup.

You can use the Post Bridge app: https://apps.shopify.com/post-bridge

With Post Bridge, you can proxy your WordPress site (you can host this anywhere, but best to host it on a staging server and use the staging site URL) to your store’s sub-folder (domain.com/a/blog).

The additional path comes from Shopify’s setup and we can’t change that when using app proxy. However, we’ve also noticed no difference when sites that were previously on /blog on another platform moved to Shopify to the /a/blog structure (needed to setup redirects but no change in traffic or rankings after the migration).