[WordPress] 外掛分享: Auto URL

首頁外掛目錄 › Auto URL
10+
安裝啟用
尚無評分
4857 天前
最後更新
問題解決
WordPress 3.1+ v1.4 上架:2011-09-08

內容簡介

現在支援自訂文章類型。

自動URL會根據文章類型、分類和標籤生成自定義連結。

使用不同的 tokens,您可以為文章、頁面和附件生成自己的自定義 URL。

您的文章和頁面仍可以通過舊的永久連結訪問。

僅適用於 WP 3.1 及更高版本。測試版本。歡迎任何反饋。

使用方法:

前往 URL Patterns 頁面(wp-admin/admin.php?page=au-pattern)設置文章和頁面的模式。

您可以基於標籤和分類設置模式

設置完成後,點擊批量生成 URL 生成自定義 URL。

要查看生成的 URL,請前往URL頁面(wp-admin/admin.php?page=au-url)。

屏幕截圖:http://www.bunchacode.com/programming/auto-url/

已測試的瀏覽器版本:Firefox 5、Chrome 13、IE 7 和 IE 8

-可用的 tokens-

%id%

文章的唯一ID#,例如423

%name%

文章標題的已處理版本。

%namepath%

頁面完整標題路徑的已處理版本。與%name%類似,但顯示其標題路徑,包括其父級的標題。僅適用於頁面。

%category%

分類名稱的已處理版本。僅使用第一個分類。

%categories%

所有分類名稱的已處理版本。

%categorypath%

分類路徑名稱的已處理版本。

%blogname%

博客名稱的已處理版本。

%tag%

標籤名稱的已處理版本。僅使用第一個標籤

%tags%

所有標籤名稱的已處理版本。

%author%

作者名稱的已處理版本。

%year%

文章年份,四位數,例如2004

%monthnum%

文章月份,例如05

%day%

文章日期,例如28

%hour%

文章時間,例如15

%minute%

文章分鐘,例如43

%second%

文章秒數,例如33

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.4) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Auto URL」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Now supports custom post types.
Auto URL generates customized permalinks according to post types, categories and tags.
You can generate your own customized url for posts, pages and attachments by using different tokens.
Your posts and pages will still be accessible via your old permalinks.
WP 3.1 and up only. Beta version. Appreciate any feedback.
How To Use:

go to URL Patterns page(wp-admin/admin.php?page=au-pattern) to set the patterns for post and page.

you can set patterns base on tags and categories

after you have set the patterns, click Bulk Generate URL to generate your custom url.

to see generated urls, got to url page(wp-admin/admin.php?page=au-url).

Screenshots: http://www.bunchacode.com/programming/auto-url/
Tested On: Firefox 5, Chrome 13, IE 7 and IE 8
-Available Tokens-
%id%
The unique ID # of the post, for example 423
%name%
A sanitized version of the title of the post.
%namepath%
A sanitized version of the full title path of a page. Similar to %name% but shows the it’s
title path which includes title of it’s parent. Only available to pages.
%category%
A sanitized version of the category name. Uses only the first category.
%categories%
A sanitized version of the all the category names.
%categorypath%
A sanitized version of the category path name.
%blogname%
A sanitized version of the blog name.
%tag%
A sanitized version of the tag name. Uses only the first tag
%tags%
A sanitized version of all the tag names.
%author%
A sanitized version of the author name.
%year%
The year of the post, four digits, for example 2004
%monthnum%
Month of the year, for example 05
%day%
Day of the month, for example 28
%hour%
Hour of the day, for example 15
%minute%
Minute of the hour, for example 43
%second%
Second of the minute, for example 33

延伸相關外掛

文章
Filter
Apply Filters
Mastodon