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

Permalink Trailing Slash Fixer

描述

When your permalink structure does not end by a trailing slash (/), all your links look like http://example.com/2009/05. Permalink Trailing Slash Fixer add the missing trailing slash.

Example

If you have a site with the following permalink structure /%category%/%postname%.html and your permalinks
look like these:

  1. Single Post: http://example.com/my-category/sample-post.html.
  2. Category: http://example.com/my-category.
  3. Archive: http://example.com/2009/05.
  4. Page: http://example.com/about.

After activation of the plugin:

  1. Single Post: not modified.
  2. Category: http://example.com/my-category/.
  3. Archive: http://example.com/2009/05/.
  4. Page: http://example.com/about/.

安装

Upload the Permalink Trailing Slash Fixer plugin to your blog, Activate it.
Enjoy 🙂

评价

2017 年 11 月 7 日
Not sure why wordpress prefers the 'no slash' approach. But I like a good slash at the end of a URL. This plugin is great. Fixed the problem on my sites in a few seconds. Brilliant! Thanks!
阅读所有3条评价

贡献者及开发者

“Permalink Trailing Slash Fixer” 是开源软件。 以下人员对此插件做出了贡献。

贡献者