WP Search Query Redirect — How To

Summary

Automatically route search intent (Google/Bing referrer, on-site ?s=, UTMs) to the most relevant page, collection, or promo.

Prerequisites

Install & Activate

Upload ZIP → ActivateSettings → Search Redirect (or under Woo settings if you prefer).

Create Your First Rule

  1. Add Rule.
  2. IF condition:
    • Referrer Query contains spades (or exact/regex/synonym).
    • OR On-site Search ?s= contains gift card.
    • OR UTM campaign equals summer-bags.
  3. THEN action: set Destination URL (e.g., /shop/?filter=spades).
  4. Redirect Type: 302 (default), 301, or 307.
  5. Priority and optional Fallback URL.
  6. Save and click Preview/Test (built-in simulator).

Best Practices

Bot/SEO Controls

Logging & Insights

Caching/CDN

Redirects happen very early—no special exclusions typically needed. If you use any plugin endpoints for testing/simulation, exclude them as documented in Settings → Diagnostics.

Troubleshooting

Uninstall

Deactivate → Delete. (Toggle “Remove data” first if you want to remove rules and logs.)