A shop needs a live session. The visitor asks for a price, adds something to a cart, changes their mind, enters an address and pays. A static site serves the same file to everyone and stores nothing. That mismatch is the core problem, and a plugin cannot remove it.
WooCommerce and Easy Digital Downloads are built around sessions, stock, coupons, tax and payment gateways. MemberPress, WooCommerce Memberships and Paid Memberships Pro are built around capability checks against a logged-in user. None of that can run on a static host.
What can be static
The catalogue is a good fit. Product and download pages, category pages, images, descriptions and read-only reviews are rendered by WordPress and copied. Prices and stock are a snapshot of the moment the page was crawled. If a price changes, the static page keeps the old one until you rebuild.
Anything with a button that changes state is not a good fit. Add to cart, apply a coupon, choose a variation, calculate shipping, pay and view an order all need PHP and a session. WooCommerce also uses nonces for several of those actions, and they expire, so even a plain add-to-cart link can stop working once the session behind it is gone.
There is a subtler problem: personalisation. WooCommerce sets a session cookie and may render cart fragments or a “you have 2 items” count. The crawler is anonymous, so it captures the empty-cart version. Any script that then calls WordPress to fill in the cart gets a 404.
Easy Digital Downloads has the same requirements. Product pages and download descriptions can be files. The cart, the checkout, the purchase history and the licence keys cannot. Its checkout is a page with a form and a session, and it needs PHP. The same three options apply, and the same warning applies: a download link in the build is a public file.
Three options
| Option | What visitors get | What it costs you |
|---|---|---|
| Keep the shop dynamic on a subdomain | A normal WooCommerce or EDD shop at shop.example.com, with the content site static at www.example.com. | Two sites to run and style. The shop gets none of the static speed or security benefit. Cookies and sessions stay on the shop’s host, which is the point. |
| Use an external checkout | Static product pages with buttons that open a hosted cart and checkout, such as Snipcart, Shopify’s buy button, Lemon Squeezy or Paddle. | Product data lives in two places. You give up some control of the checkout and pay the service’s fee. Check current plugin support before committing. |
| Hybrid: static catalogue, dynamic cart | Product pages are files. Cart, checkout and account are served by WordPress at their own paths. | Needs routing that plain S3 or GitHub Pages cannot do. A proxy at Cloudflare, Netlify or your own server is doing the work. |
The subdomain is usually the most reliable option
If the shop is a real part of the business, keep it on WordPress and give it a subdomain. The marketing site can be static and fast; the shop can be dynamic and correct. Links between them are ordinary links, and the browser keeps the shop’s session on the shop’s host.
The cost: two systems to maintain. You also have to decide which site owns the header, the navigation and the brand. Sharing a theme between them is possible, but the static site and the shop will drift unless someone owns the design.
External checkout is not a static cart
A hosted checkout gets you a static catalogue with working payments, but it is not the same shop. The cart lives in the service’s JavaScript. Product data, variants and stock are either duplicated or fetched from the service at runtime. Tax, shipping and refunds follow the service’s rules, not WooCommerce’s.
That can be a good trade for a small catalogue with simple shipping. It is a bad trade for a shop with complex tax, subscriptions, digital licences or a warehouse integration. Treat any guide that presents this as a settings change with caution.
Memberships: do not publish the paywall
MemberPress, WooCommerce Memberships and Paid Memberships Pro decide what to show by checking the current user’s capabilities while the page renders. The crawler has no user, so it gets the logged-out version: a teaser, a login form or a redirect.
That is usually safe, but not always. Some setups hide paid content with CSS or JavaScript while leaving it in the HTML. A static build copies the HTML, so the “hidden” content is one View Source away. Check a protected page’s source before you publish it, not after.
Protected files are another leak. A members plugin may protect downloads with a rewrite rule or a PHP check. Neither exists on a static host, so a file in uploads that is copied into the build is public. If the file is linked from a page, it will be crawled. Keep protected files out of the build entirely.
The rule is simple: exclude every gated URL from the static site. Use Pages to leave out with a trailing * for a whole section, such as /members/*. Keep the members area on WordPress. Do not try to make logged-in content static; the login is the part that cannot be a file.
Choosing an approach
- Does the site take money or gate content? Assume WordPress has to stay reachable for that part.
- Is the catalogue small and the checkout simple? An external checkout may be enough.
- Is the shop core to the business, with complex tax, stock or integrations? Keep it dynamic on a subdomain.
- Do members need a dashboard, downloads or renewals? Keep the whole members area dynamic and exclude it.
- Is the static host S3, GitHub Pages or Cloudflare Pages? None of them proxies a path to WordPress, so the hybrid option needs a different front door.
Never publish a member file by accident. If a page links to a download, the crawler copies it. Exclude the section and check the files list before the first publish, not after.