這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Custom Pagination Permalinks” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Custom Pagination Permalinks 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.0

Release Date: April 10th, 2015

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