內容簡介
從 WordPress 1.5 版本開始,設置永久連結時,會在文章網址的最後加上一個網址編號,以防止兩篇文章擁有相同的網址。這是為了避免出現相同的網址,即使兩個文章標題相同,這種情況不能得到保證,因為並不是所有的結構都使用日期來區分文章存檔。
在某些永久連結結構中,默認行為是不可取的。通常,這些結構會包含日期或其他唯一標識符。在這些情況下,站點作者希望每篇文章的網址名稱都相同,例如在每週報告或專欄中。Singular 是一個簡單的插件,可以刪除自動添加到類似名稱文章中的額外後綴。
外掛標籤
開發者團隊
📦 歷史版本下載
原文外掛簡介
By default in WordPress 1.5 and onwards, a post’s sanitised name that appears in a permalink structure is checked for duplication and a numeral is appended if one is found. This is to prevent two posts having the same permalink, even when they have the same title. This could not be guaranteed otherwise, for instance because not all structures use a date to reference their archives.
In some permalink structures, this default behaviour is not desirable. Typically, these will be those that do incorporate a date or some other unique identifier. In these cases, a site author might wish to have the sanitised name the same for each post, for example in the case of a weekly report or column. Singular is a simple plugin which removes the extra suffix that WordPress automatically adds when a post with a similar name is published.
