How to Hide Most of a WooCommerce Store Except Certain Categories or URLs
Sometimes you do not need to hide your entire WooCommerce store.
You may only want to limit access to most of the storefront while keeping a few important categories, pages, or paths available. That can be useful during a limited launch, a seasonal promotion, store restructuring, private access periods, or temporary maintenance work.
In those situations, the goal is not just to redirect the storefront. The goal is to keep the right parts of the store visible while everything else stays out of the way.
That is where a more selective redirect setup becomes useful.
Why you might want only part of a WooCommerce store visible
Not every temporary restriction needs to apply to the whole store.
There are many cases where keeping only certain parts of the store accessible makes more sense than hiding everything.
Common examples include:
- launching only one product line first
- keeping one seasonal category open while the rest of the store is paused
- allowing access to selected information pages
- keeping a specific customer path available during maintenance
- narrowing public access during internal restructuring
- guiding visitors toward one active section while the rest of the store is temporarily restricted
This kind of setup can create a cleaner experience than a full storefront shutdown.
