內容簡介
Freedom Permalinks 可以幫助您更改任何您想要的永久鏈接格式。
更新永久鏈接結構,更改網域,刪除/添加斜線或添加擴展名(.html、.php 或任何您想要的)等。
PS. 雖然這讓您自由地玩弄永久鏈接,但您應該知道您必須自己使這些鏈接結構與您的佈景主題相容。
例如,如果您的佈景主題安裝在 subdomain1.domain.com 上,將永久鏈接更改為 subdomain2.domain.com 將會破壞現有的鏈接,您必須將佈景主題手動移動到 subdomain2.domain.com 才能使其正常工作。
在嘗試此外掛之前您必須知道的事情:
1. 它最適合自定義/較小的佈景主題。
2. 永遠在嘗試此外掛之前先備份您的數據庫。
範例:
以下是一些永久鏈接範例,僅供參考 "Freedom Permalinks" 帶給您的可能性。
永久鏈接 : http://subdomain-anydomain2.com/blog/%post_id%/%post_slug%
變更後 : http://subdomain-anydomain2.com/blog/23/this-is-smaple-page-post
永久鏈接 : http://subdomain.com/blog/%post_id%/%post_slug%.html
變更後 : http://subdomain.com/blog/23/this-is-smaple-page-post.html
永久鏈接 : http://subdomain.com/blog/%post_slug%.html
變更後 : http://subdomain.com/blog/this-is-smaple-page-post.html
永久鏈接 : http://subdomain.com/blog/%post_category%/%post_slug%.html
變更後 : http://subdomain.com/blog/health/this-is-smaple-page-post.html
永久鏈接 : http://nes.subdomain.com/news/%post_category%/%post_slug%-%post_id%
變更後 : http://nes.subdomain.com/news/mobile/some-ceo-retired-23
外掛標籤
開發者團隊
原文外掛簡介
Freedom Permalinks can help you to change permalinks to any format you want.
Update slug structure, change domains, remove/add slashes or add extensions (.html, .php or anything you want) etc.
PS. While this gives you freedom to play with permalinks, you should know that you have to make those link structures work with your themes yourself.
For example if your theme is installed on subdomain1.domain.com, changing permalink to subdomain2.domain.com will break the existing links and you have to move your theme manually to subdomain2.domain.com to make it work.
Things you must know before trying this plugin:
1. It's best suited for custom/smaller themes.
2. Always create backup of your database before trying this plugin.
Examples:
Some permalink examples to just give you some idea to what we can do with "Freedom Permalinks".
Permalink : http://subdomain-anydomain2.com/blog/%post_id%/%post_slug%
Becomes : http://subdomain-anydomain2.com/blog/23/this-is-smaple-page-post
Permalink : http://subdomain.com/blog/%post_id%/%post_slug%.html
Becomes : http://subdomain.com/blog/23/this-is-smaple-page-post.html
Permalink : http://subdomain.com/blog/%post_slug%.html
Becomes : http://subdomain.com/blog/this-is-smaple-page-post.html
Permalink : http://subdomain.com/blog/%post_category%/%post_slug%.html
Becomes : http://subdomain.com/blog/health/this-is-smaple-page-post.html
Permalink : http://nes.subdomain.com/news/%post_category%/%post_slug%-%post_id%
Becomes : http://nes.subdomain.com/news/mobile/some-ceo-retired-23
