這個外掛並未在最新的 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.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈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.