
內容簡介
如果您想要自定義翻頁的網址, 您會發現到 WordPress 在翻頁時會固定使用網址後綴 "[..]/page/[number]/", 這個後綴無法更改, 無論是在首頁、 分類或標籤導覽、 搜尋結果頁面等等情況下。
這個外掛程式允許您定義一個全新的網址後綴, 以取代通常的 "[..]/page/[number]/", 然後定義自訂的翻頁網址。
當您這麼做的時候, 請確保您已經啟用了 WordPress 設置中的永久鏈接(pretty permalinks)選項, 該選項可以在菜單設置下的「永久鏈接」中找到。
關於舊的網址, 這個外掛程式會自動將舊網址重定向至新定義的網址。
此外, 這個外掛程式還有一個功能, 可以告訴搜尋引擎當前頁面是上一頁或下一頁的一部分。 這個選項會在 head 部分中添加帶有屬性 rel="prev" 和/或 rel="next" 的標籤 <link>。
外掛標籤
開發者團隊
原文外掛簡介
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 with attributes rel=”prev” and/or rel=”next” into the head section.
