內容簡介
這個「Top Level Categories」外掛可以讓您移除類別頁面 URL 前面的字首。例如,您可以使用 http://fortes.com/work 代替 http://fortes.com/category/work 的網址。因為 WordPress 不允許空字首的類別網址(它會在名稱前面加上 category/),這個外掛可以繞過這個限制。
已知的問題 / 錯誤
如果您的永久網址結構是 %postname 或 %category%/%postname%,此外掛將無法運作 - 目前還沒有解決方式。
解除安裝
停用外掛
完成!🙂
外掛標籤
開發者團隊
原文外掛簡介
The Top Level Categories plugin allows you to remove the prefix before the URL to your category page. For example, instead of http://fortes.com/category/work, I use http://fortes.com/work for the address my “work” category. WordPress doesn’t allow you to have a blank prefix for categories (they insert category/ before the name), this plugin works around that restriction.
Known Issues / Bugs
This plugin will not work if you have a permalink structure like %postname or %category%/%postname% — there is currently no workaround
Uninstall
Deactivate the plugin
That’s it! 🙂
