跳到内容

Product Search Category Redirect

v1.4.2

Kestrel · 2021年5月25日 上架

Redirects product searches that match a product category name to the product category page instead of showing the search results page.

正在使用
10+
评分
5.0 / 5
累计下载
2,210
最近更新
2025年1月29日
1 条评价需要 WordPress 6.3.0+已测试到 6.7.12PHP 7.4.0+

贡献者

截图

Before activation, no results for hoodies as no products have titles or descriptions with hoodies included, only hoodie
Before activation, no results for hoodies as no products have titles or descriptions with hoodies included, only hoodie
After activation, redirects to the hoodies product category
After activation, redirects to the hoodies product category

With this extension when someone searches for products and their search terms match a product category then they will be redirected to that product category instead of the search results.

This is useful if you have products which do not contain the product category name in the title or description as those products wouldn’t appear in search results when someone searches for the product category name.

Features

  • Redirects search terms to product categories when matched
  • Search term to category match can be in any order
  • Lightweight and no configuration required

Usage

There are no settings to configure with this extension, once it is activated just try a product search for a product category and you will get redirected to that product category instead of seeing the search results.

For example, if you have a premium hoodies category then search for premium hoodies (or hoodies premium) and it will redirect you to the premium hoodies category instead of showing you the search results.

Note that the redirect will only work if you are using the standard WooCommerce product search which has URLs like this: ?s=search-term&post_type=product.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums