BACK TO DIRECTORY

Query2Slug

by bufox

0.0
(0 ratings)

Query2Slug lets you turn filtered WordPress pages into clean, canonical URLs — perfect for ad campaigns (Google Ads, Meta), SEO landing pages, and shareable links.

Instead of sending users to ugly URLs like:

/shop/?product_cat=t-shirt&product_tag=disney

You create a clean slug that resolves to the same filtered view:

/lp/t-shirt-disney/

No pages to create. No content to duplicate. Just a simple mapping.

How it works

  1. Set a URL prefix (default: lp)
  2. Create rules that map a slug to a set of query parameters
  3. The plugin registers rewrite rules and handles canonical redirects automatically

Key features

  • Clean campaign URLs — create pretty URLs for any combination of query parameters
  • Canonical redirect — visitors arriving via query strings are automatically redirected (301) to the clean URL
  • UTM preservation — tracking parameters (utm_source, fbclid, gclid, etc.) are preserved through redirects
  • WooCommerce-friendly — works with product categories, tags, and attributes out of the box
  • Works everywhere — not limited to WooCommerce; supports any WordPress taxonomy or query var
  • Autocomplete — filter editor suggests registered taxonomies and their terms
  • Zero frontend impact — no CSS or JavaScript added to your site’s frontend

Use cases

  • Google Ads / Meta campaign landing pages
  • SEO-friendly filtered archive pages
  • Clean shareable links for filtered product collections
  • Any scenario where you need a pretty URL for a query string

Screenshots

Rules list with status toggle, URL preview, and filter summary

Rules list with status toggle, URL preview, and filter summary

Rule editor with slug preview and filter autocomplete

Rule editor with slug preview and filter autocomplete

Settings page with URL prefix configuration and overview widget

Settings page with URL prefix configuration and overview widget

Plugin Details

Active Installs
0
Total Downloads
222
Version
1.0.0
Requires WP
6.0
Requires PHP
8.0
Tested Up To
6.9.7
Added
2026-05-11
Last Updated
2026-05-11 1:37pm GMT

Ratings

5
0
4
0
3
0
2
0
1
0