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

Custom Pagination Permalinks

描述

If you want to customize pagination URLs you can see that there are no options to change the URL suffix “[..]/page/[number]/” that WordPress implements in paging context: from home page, in category or tag navigation, search results pages, etc.

This plugin allows you to define a new URL suffix to replace the usual “[..]/page/[number]/” and define custom pagination URLs.

To do this make sure that you have activated the pretty permalinks options of WordPress under menu Settings > Permalinks.

About the previous URLs, this plugin does automatically redirects from old classic URLs to the defined new ones.

Also there is another feature where you can indicate to search engines that the current page is part of a listing. This option adds the tags <link> with attributes rel=”prev” and/or rel=”next” into the head section.

屏幕截图

  • Custom Pagination Permalinks administration options.

安装

  1. Unzip and upload custom-pagination-permalinks folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to menú Settings > Custom Pagination Permalinks to configure and activate the custom permalinks

常见问题

This plugin generates a pagination bar?

No, this plugin only works with URLs and it’s independent of navigation display, you can use any of these plugins that display a navigation links items and should not be conflicts.

It works with paginated/splitted posts or paged comments?

No, this plugin only replaces the URL suffixes in posts listings, it doesn’t change anything in single post contexts.

Why change the default URL suffix used by WordPress?

For SEO purposes per example, defining another suffix for pagination URLs with only one level of directories like [..]/page-[number].html instead of [..]/page/[number]/.

This plugin changes the canonical URL?

Yes. By default WordPress doesn’t add the tag <link rel=”canonical”..> in posts listings, but some plugins do it. For the moment we only added support to All in One SEO Park plugin.

评价

此插件暂无评价。

贡献者及开发者

“Custom Pagination Permalinks” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

1.0

Release Date: April 10th, 2015

  • First and tested released until WordPress 4.2
  • Tested code from WordPress 3.3.2 version.