Project portfolio Browse selected work

Shopify Plus Upgrade Monthly Fee Reduction + Up to $4800 Development Fee Credit - Exclusive WesWoo Offer

Search
Interaction, SEO and release acceptance
Choose module

Filter and pagination URLs

Record base, filtered, sorted and paginated URLs. Open each and compare canonical and visible products to identify materially distinct pages.

Open the base listing, a filter, a sort and page two. Compare actual products and canonical. Decide which combinations serve distinct intent and verify search engine selection separately.

Color, sort and page landed in separate fields. Adding parameters did not add a second canonical. The output describes page signals; indexing needs separate verification.

Reproduce the test and inspect the readings

Keep one canonical and one pagination link. Add color, sort and page 2 to a plain URL. Read filter count / sort / page / canonical count / pagination-link count.

In the order above
0 / none / none / 1 / 1 then 1 / price / 2 / 1 / 1

WESWOO ran this entry’s published script in standalone Chrome with the fixture markup and records described here.

2026-11-24 · Chrome 157.0.8103.79 · assets/ww-facet-audit.js

Download test conditions and raw readings (JSON)

Inspect the source and verification point

assets/ww-facet-audit.js · line 5

    filterParameters:[...address.searchParams].filter(([name])=>name.startsWith('filter.')),
    page:address.searchParams.get('page'),sort:address.searchParams.get('sort_by'),
    canonicals:[...doc.querySelectorAll('link[rel="canonical"]')].map(link=>link.href),

How the module works

Parameters can represent different pages

Visit the base collection, a valid filter, empty results, a sort and page two. Record URLs, product scope and pagination to establish access to later products rather than clearing parameters for cosmetic simplicity.

The read-only helper records canonical, robots and links from document. It preserves actual theme output; search value still needs a content and purpose judgment rather than an automatic script decision.

Change shared rules after establishing the problem

Read canonical count and destination alongside actual results and language relationships. Distinguish useful filtered destinations from duplicate content, while preserving pagination’s role in finding later products.

Change rules only after confirming a shared error, then revisit working filters and pagination. The helper writes no noindex, redirects or robots rules. Search guidance about empty-result status codes does not grant Liquid arbitrary HTTP response control.

Example source code

View source fileJS
assets/ww-facet-audit.js
export function inspectListingDocument(doc = document) {
  const address=new URL(doc.URL);
  return {
    address:address.href,
    filterParameters:[...address.searchParams].filter(([name])=>name.startsWith('filter.')),
    page:address.searchParams.get('page'),sort:address.searchParams.get('sort_by'),
    canonicals:[...doc.querySelectorAll('link[rel="canonical"]')].map(link=>link.href),
    robots:[...doc.querySelectorAll('meta[name="robots"]')].map(meta=>meta.content),
    paginationLinks:[...doc.querySelectorAll('a[href]')].map(link=>link.href).filter(url=>new URL(url).searchParams.has('page'))
  };
}

Integration and checks

Integration steps

3 steps
  1. Capture representative pages

    Save helper output for representative real pages in the browser development environment.

  2. Compare canonical links

    Choose valuable filter destinations and compare the native canonical behavior.

  3. Retest the affected paths

    Change shared rules only after confirming a common error, then retest pagination and languages.

Data and dependencies

  • Use the real collection document, including its URL, head and pagination.
  • Evaluate Google crawling guidance alongside actual Shopify theme output.

Interaction and states

  • Base collections need stable entries and pagination must reach later products.
  • Record empty, duplicate and intentionally indexable filter combinations separately.

Before launch

State feedback
StateTriggerOutcome
Representative documentRead-only inspectionRecord actual parameters and head
Confirmed duplication or errorDesign a rulePreserve useful pagination and language relations
Platform constraintRecord actual responseDo not claim an unsupported status-code change

The helper changes no robots, noindex or redirects. Google status-code guidance does not grant Liquid arbitrary HTTP status control; verify platform capabilities and actual responses.

Sources and further reading

Scope and licensing

Educational implementations for Shopify themes and Headless projects. Confirm real inputs, interaction states and existing components in a development theme before store acceptance. Missing task-specific WESWOO articles remain unlinked.

Shopify/dawnLicenseShopify-integration theme license; architecture reference without copying the implementation. · 3e9ee2281dc4Shopify/hydrogenLicenseMIT; retain copyright and license when using substantial code. · 9e358a2462ba

References checked · 2026-11-24