Linux 软件免费装
Banner图

Query2Slug

开发者 simonemorobufox
更新时间 2026年5月11日 21:37
PHP版本: 8.0 及以上
WordPress版本: 6.9
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce url campaign slug landing-page

下载

1.0.0

详情介绍:

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 Use cases

安装:

  1. Upload the query2slug folder to /wp-content/plugins/
  2. Activate the plugin through the WordPress admin
  3. Go to Query2Slug > Settings to configure your URL prefix
  4. Go to Query2Slug > Add Rule to create your first mapping

屏幕截图:

  • Rule editor with slug preview and filter autocomplete
  • Settings page with URL prefix configuration and overview widget

升级注意事项:

1.0.0 Initial release.

常见问题:

Does this plugin require WooCommerce?

No. Query2Slug works with any WordPress site. WooCommerce taxonomies and attributes will appear in the autocomplete when WooCommerce is active, but the plugin functions independently.

What happens if I deactivate the plugin?

All your rules are preserved in the database. The clean URLs will simply stop working (return 404) until you reactivate. No content is lost.

Can I use this with custom taxonomies?

Yes. Any registered public taxonomy will appear in the filter key autocomplete.

How does the canonical redirect work?

If a visitor arrives at a URL with query parameters that exactly match a rule (e.g., ?product_cat=t-shirt&product_tag=disney), the plugin issues a 301 redirect to the clean URL. UTM and tracking parameters are preserved.

更新日志:

1.0.0