[WordPress] 外掛分享: Auto URL

前言介紹

  • 這款 WordPress 外掛「Auto URL」是 2011-09-08 上架。
  • 目前有 10 個安裝啟用數。
  • 上一次更新是 2012-11-29,距離現在已有 4539 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 3.1 以上版本才可以安裝。
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

dexxaye |

外掛標籤

url | media | rewrite | permalink | attachment |

內容簡介

現在支援自訂文章類型。

自動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

原文外掛簡介

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

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Auto URL」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


0.5 | 0.6 | 0.7 | 0.8 | 0.9 | 1.0 | 1.1 | 1.2 | 1.3 | 1.4 | 0.8.5 | 0.9.1 | trunk |

延伸相關外掛(你可能也想知道)

  • Shortcode Redirect 》這款「Shortcode Redirect」外掛讓網站擁有者在網站的頁面或文章上查看特定的秒數之後,自動將使用者重新導向到其他網站。外掛的使用方式非常簡單,只需在貼...。
  • WP htaccess Control 》WP htaccess Control(也可以稱為 WP htaccess 和 Rewrite Control)提供了一個界面來自定生成WordPress的htaccess文件以及其永久鏈接(作者、分類、歸檔、分...。
  • Remove Taxonomy Base Slug 》如果您想要對您的自訂文章類型文章使用更好的固定連結,並使用自訂的固定連結,這個外掛程序可以協助您。, 如果該術語的slug和文章類型相同,那麼該分類的優...。
  • Monkeyman Rewrite Analyzer 》這是一個了解你的重寫規則(“美麗連結”)的工具。如果你正在添加或修改規則,並想要了解它們的運作方式(或者為什麼它們不起作用),這個工具是必不可少的。,...。
  • Url Rewrite Analyzer 》了解 URL 重寫規則的運作方式可以非常有用。, 在 WordPress 原生中,無法分析 URL 結構是否正確。, 透過此外掛,您可以分析每個網址並查看哪些規則符合。, 注...。
  • Rewrite 》Rewrite 是一個 WordPress 外掛,可幫助您在 URL 重寫方面進行許多操作,例如編輯、備份、還原和創建自定義重寫,而無需觸碰 PHP 代碼。使用此外掛,您還可以...。
  • Rewrite Flush Button 》在發佈這個外掛後不久,我注意到當您前往 WP-Admin > 設定 > 永久連結時,WordPress, 會自動刷新重寫規則。聰明的做法,對吧?所以不用安裝它,, 但如...。
  • WP CDN Rewrite 》此外掛可以讓你改寫資源檔案、CSS 和 JS 檔案的根目錄 URL,透過利用並行瀏覽器請求來從外部 URL 載入資源,改善頁面載入時間。, 使用此外掛需要Voce Setting...。
  • Ozh' Simpler Login URL 》這個外掛會建立一個重寫規則,讓使用者可以從自訂的 URL yoursite.com/login 登入,而不是使用 /wp-login.php。, 這個外掛就是 WordPress 重寫 API 的眾多應...。
  • mg404Rewrite 》Pretty Permalinks 外掛需要使用 mod_rewrite 模組。該模組是一個解決方案,可在沒有任何重寫規則的情況下使用美化永久連結。錯誤處理 - 自訂錯誤頁面 - 將用...。
  • Taxonomic SEO Permalink 》Taxonomic SEO Permalinks 是一個簡單的 WordPress 外掛,允許您基於自訂分類法創建 SEO URL。我個人想要像內置分類法(如類別)一樣在 URL 中使用自訂分類法...。
  • Simple Post Publish & Rewrite using API 》總結:Simple Post Publish & Rewrite using API 是一個 WordPress 外掛,讓使用者能自動將文字內容發佈和改寫成文章。透過 OpenAI 的 GPT 模型進行內容...。
  • Url Redirect Rewrite 》您可以建立無限制的重定向和重寫。重定向和重寫可以在許多情況下使用,例如:, , 隱藏不想顯示的 URL;, 縮短長 URL;, 監控 URL 的流量;, 在維護期間將用戶...。
  • Simple Search Rewrite 》這是一個非常簡單的外掛,如果啟用了漂亮的永久連結,它將把 WordPress 預設的/?s=查詢詞彙轉換為/search/查詢詞彙/。, 這是我最近才將它放在一個主題包含文...。
  • Routed Actions 》Routed Actions 是一個開發工具,允許您創建一個路徑到一個操作的 URL。這樣就可以鉤入操作並執行任務。, 這些路徑可以用於捕獲回調,例如 PayPal 的 IPN。。

文章
Filter
Apply Filters
Mastodon