[WordPress] 外掛分享: Query2Slug

首頁外掛目錄 › Query2Slug
WordPress 外掛 Query2Slug 的封面圖片
全新外掛
安裝啟用
尚無評分
16 天前
最後更新
問題解決
WordPress 6.0+ PHP 8.0+ v1.0.0 上架:2026-05-10

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Query2Slug」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

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

Set a URL prefix (default: lp)
Create rules that map a slug to a set of query parameters
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

延伸相關外掛

文章
Filter
Apply Filters
Mastodon