该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Disable Search Slug

描述

If bots are attacking your site by appending /search/a-random-string-or-word, then those pages may be getting indexed by search engines, or populating search logs.

This plugin disables that permalink structure.

Search forms will still work, and the search results page will use the less index-friendly ?s=search-term format.

安装

  1. Upload the plugin files to the /wp-content/plugins/disable-search-slug directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress

There are no settings pages. It just works.

常见问题

Will search forms still work?

Yes.

Will URLs at `?s=search-term` still work?

Yes

评价

2016 年 9 月 3 日
Installed this plugin last week to disable the search slug. It’s perfect.. Gets the jobs done. Many thanks for Gary for the awesome plugin. And he is very responsive in addressing bugs too.
阅读所有1条评价

贡献者及开发者

「Disable Search Slug」是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

1.0.1

  • Fix permalink change not persisting through flush rewrite rules.
  • Fix change log link.

1.0.0

  • Initial release.