How-to
Choose a URL Mode
Choose query, hash, or clean URL behavior for filtered WooCommerce catalog pages.
When to use this
Use this when you care how filtered pages look and behave for search engines and for shareable links. The URL mode decides whether selected filters can be bookmarked, shared, and restored by the browser Back button.
Before you start
- You have a working filter on a storefront page.
- You know your SEO goal: keep filtered pages out of the index, or expose a
chosen set of filtered pages.
URL modes
- Query — selected filters appear as query parameters, for example
- Hash — selected filters appear after
#, which keeps them out of the - Clean — selected filters appear as path segments where supported.
/shop/?color=black&price=50-100.
server request.
Steps
- Pick a mode that matches your SEO strategy. Query is the common default and
- Keep URL updates on for the first filter, so shoppers can share and restore
- Set canonical and robots rules for filtered pages: decide which filtered
- Keep selected parameters visible so a shared link reopens the same result.
- Save and test by selecting filters, copying the URL, and reopening it in a
keeps selected filters visible and shareable.
the selected state.
combinations may be indexed and mark the rest noindex.
new tab.
Expected result
Selected filters are written into the URL in the chosen mode, shared links reopen the same result, and only the filtered pages you intend are left indexable.
Limit
Do not publish broad SEO promises for every filtered combination. Base canonical, robots, noindex, and sitemap rules on the store's real taxonomy and attribute strategy, not on indexing all combinations.
Related
- Tutorial: Create your first WooCommerce product filter.
- Explanation: How URL modes differ and what they mean for SEO.
- Reference: Filter Editor — SEO & URLs.