[WordPress] 外掛分享: WP Avertere

WordPress 外掛 WP Avertere 的封面圖片。

前言介紹

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

外掛協作開發者

vicchi |

外掛標籤

301 | http | redirect | redirection | wp-avertere |

內容簡介

此外掛讓您輕鬆地從您的 WordPress 網站上的任何文章、頁面或其他文章類型的 URL 設定重新導向到另一個 URL,可以是您的站內或站外的 URL。重新導向可以是永久的 (HTTP 301) 或暫時的 (HTTP 302),並且可以輕鬆地更改或完全刪除。

設定和選項包括:

您想要重新導向到的 URL。
重新導向類型(永久或暫時)
驗證重定向 URL,以確保它格式正確。

除了設置重定向外,該插件還將原始文章或頁面的永久鏈接替換為重定向的永久鏈接或外部 URL;當您將鼠標懸停在重新導向的永久鏈接上時,您會看到新的鏈接或外部 URL,而不是原始的鏈接。

安裝並啟用插件後,插件會向管理員編輯文章/頁面添加一個「重定向此文章/頁面/等等」的元框。只需創建一個新文章或編輯現有文章,添加要重新導向到的 URL(這里建議使用複制和粘貼,以確保沒有打字錯誤),選擇重定向是永久還是暫時,按一下“檢查 URL”按鈕以確保您的 URL 格式正確,然後保存文章。您完成了。

該插件的主要用途是將文章和頁面重新導向,但您還可以使用它來:

將文章轉換為頁面;當文章需要定期更新且更適合成為您站點上的頁面時,此功能非常有用。
添加到外部網站的菜單欄連結;可以創建一個空的頁面作為菜單欄連結,然後將該頁面重新導向到外部的 URL,而無需編輯您的主題的 functions.php 中的任何代碼。
創建快捷方式類別或標記存檔鏈接;可以創建一個新的空頁面(例如/plugins),然後將該頁面重新導向到 /tags/plugins 上。

過濾器支援和使用

WP Avertere 支援一個過濾器,wp_avertere_protocols,可讓您更改 WordPress 和插件允許的可接受 URL 協議集。

示例:為插件添加對 GitHub 存儲庫的支持

add_filter ('wp_avertere_protocols', 'add_github_protocol');

function add_github_protocol ($protocols) {
// protocols = array ('name', 'name', ...)
$protocols[] = 'git';

return $protocols;
}

原文外掛簡介

This plugin allows you to easily set up redirections from the URL of any post, page or other post type on your WordPress site to another URL, either on your site or external to your site. Redirections can either be permanent (HTTP 301) or temporary (HTTP 302) and can easily be changed or deleted entirely.
Settings and options include:

The URL you want to redirect to.
The type of redirection, permanent or temporary
Validation of the redirect URL to ensure it is well formed.

In addition to setting up a redirect, the plugin replaces the original post’s or page’s permalink with the redirected permalink or external URL; when you hover your mouse pointer over a redirected permalink you will see the new permalink or external URL not the original.
Once installed and activated, the plugin adds a Redirect This Post/Page/etc meta box to the admin Edit Post/Page. Simply create a new post, or edit an existing one, add the URL you want to redirect to (copying and pasting is a good idea here to ensure there’s no typing errors), choose whether the redirection is permanent or temporary, click on the Check URL button to ensure your URL is well formed and save the post. You’re done.
While the main use of the plugin is to redirect posts and pages, you can also use it to:

Convert a post to a page; useful for when the post needs to be kept updated regularly and is more suited to be a page on your site.
Add a menu bar link to an external site; you can create a new blank page as a menu bar link and then redirect that page to the external URL with no need to edit any code in your theme’s functions.php.
Create a shortcut category or tag archive link; you can create a new blank page, such as /plugins and then redirect that page to /tags/plugins.

Filter Support And Usage
WP Avertere supports a single filter, wp_avertere_protocols that allows you to change the set of acceptable URL protocols that WordPress and the plugin permits.
Example: Add support for GitHub repositories to the plugin.
add_filter ('wp_avertere_protocols', 'add_github_protocol');

function add_github_protocol ($protocols) {
// protocols = array ('name', 'name', ...)
$protocols[] = 'git';

return $protocols;
}

各版本下載點

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

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


1.0.0 | 1.0.1 | 1.1.0 | trunk |

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

  • Redirection 》ort, Redirection不需要Apache或Nginx知識,就可以快速簡單地建立和管理301重定向。如果您的WordPress支援永久連結,那麼您可以使用Redirection重定向任何URL...。
  • Page Links To 》這個外掛可以讓你將 WordPress 的頁面(或文章或自訂文章類型)連結至你選擇的 URL,而非 WordPress 的 URL。此外,它還會將前往舊的 URL(或「正常」的 URL...。
  • 301 Redirects – Easy Redirect Manager 》301 Redirects 可協助您管理和建立301、302、307 個 WordPress 網站的重新導向,以改進 SEO 搜尋引擎優化和訪客體驗。301 Redirects 的使用非常簡單,是新站...。
  • Custom Permalinks 》name or slug), add the filter that looks like this:, function yasglobal_exclude_posts( $post ) {, // Replace '2' with ID of the post you want to ...。
  • Redirection 》在您的免費測試網站上試試看:點擊這裡 => https://tastewp.com/plugins/redirect-redirection。, (這個技巧適用於 WP 插件庫中的所有插件 - 只需在 URL ...。
  • Quick Page/Post Redirect Plugin 》目前版本為 5.2.3, 這個外掛有兩個重定向功能 - "快速重定向" 和 "個別重定向":, 快速重定向 (301 重定向), 快速重定向被設計為快速而簡單的加入。你不需要設...。
  • WP 404 Auto Redirect to Similar Post 》歡迎使用 WP 404 Auto Redirect to Similar Post!本外掛會根據標題、文章類型及分類來自動將 404 頁面重新導向至類似文章。如果找不到類似文章,訪客會被重...。
  • Attachment Pages Redirect 》這個外掛有三種可能的情境下會執行功能。無論哪種情況,該附件頁面必須存在,若該附件已被刪除,此外掛不會運作:, A)訪客進入附件頁面,其上層文章仍然存在...。
  • All 404 Pages Redirect to Homepage 》這個外掛可將所有404頁面重新導向到首頁或任何自定義頁面,避免這些404 URL對搜索引擎索引產生負面影響。此外掛使用 SEO 301 重定向方式,以符合 SEO 標準,...。
  • Shortcode Redirect 》這款「Shortcode Redirect」外掛讓網站擁有者在網站的頁面或文章上查看特定的秒數之後,自動將使用者重新導向到其他網站。外掛的使用方式非常簡單,只需在貼...。
  • SEO Redirection Plugin – 301 Redirect Manager 》SEO Redirection 是一個強大的重定向管理器,可輕鬆管理 301 重定向,您可以輕鬆地為您的網站建立和管理重定向。, 如果您想從舊網站遷移頁面或更改 WordPress...。
  • Redirect 404 Error Page to Homepage or Custom Page with Logs 》這個外掛可以輕鬆地將 WordPress 的 404 錯誤頁面導向至首頁或其他頁面。這個外掛支援永久重定向(HTTP 回應狀態碼 301)和暫時重定向(HTTP 回應狀態碼 302...。
  • One Click SSL 》這是一個簡單易用的 WordPress SSL 外掛程式,可將所有非 SSL 頁面重新導向到 SSL,同時確保在 SSL 頁面上載入的所有資源也都使用 SSL 載入。, 啟用後,它會...。
  • Multiple Domain 》重要提示:此外掛現在有新的維護者,因此將重新啟動開發工作,並成為 goINPUT 的一部分。, Multiple Domain 允許您在單一 WordPress 安裝中擁有多個網域。此...。
  • Contact Form 7 – Success Page Redirects 》這是一個針對 Contact Form 7(CF7)的附加外掛,提供了一種簡單的方法,讓訪客在成功傳送訊息後,能夠自動重新導向到成功頁面或感謝頁面。如果沒有傳送訊息...。

文章
Filter
Mastodon