內容簡介
有時候您需要在自己的網頁或文章中插入連結到外部網址的需求。這個外掛讓您可以輕鬆地透過設定自訂欄位來創建這樣的「重新導向」文章或頁面。
使用方法:將標籤標籤為「redirect」的自訂欄位新增至任何文章或頁面中。將要重新導向至的網址輸入為該自訂欄位的值。現在網站上針對該文章或頁面的所有連結都會被替換為該重新導向的網址!如果您嘗試訪問那個頁面的固定鏈接網址,它也會把使用者重新導向至該網址。
這個外掛實際上也可以用來將一個網址重新導向到同一網站中的另一個網址。
占位符:從版本0.9開始新增了字串%home%和%site%,它們會分別被 WordPress 主頁網址和站點網址代替。
這個外掛的開發是由麻省理工學院藝術計畫支持的。
外掛標籤
開發者團隊
原文外掛簡介
Sometimes you have a need for having links to external URLs show up interspersed among your own pages or posts. This plugin lets you easily create such “redirecting” posts or pages by simply setting a custom field.
Usage: Add the custom field with label “redirect” to any post or page. Enter the redirect target URL as the value of that custom field. Now all links on your site to that post or page will be replaced with that redirect URL! If you try to visit the permalink URL for that page, it will redirect the user to that redirect URL too.
This plugin actually also works fine to redirect a URL to another URL on the same site as well.
Placeholders: New in version 0.9: the strings %home% and %site% in URLs are replaced by the WordPress home URL and site URLs, respectively.
Development of this plugin was supported by the Arts at MIT.
