前言介紹
- 這款 WordPress 外掛「Permalink Validator」是 2007-06-15 上架。
- 目前有 10 個安裝啟用數。
- 上一次更新是 2009-08-17,距離現在已有 5739 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 2.0.0 以上版本才可以安裝。
- 尚未有人給過這款外掛評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
301 | 404 | iis | redirect | permalink |
內容簡介
r IIS web server for validating permalinks
Fixes duplicate content and improves SEO by adding a trailing back-slash if missing and adding or removing www prefix according to permalink structure
Forces a correct 404 page when using an invalid URL
Only works on posts, pages, and categories; archives based on date and search-result-pages should use noindex, and feed and trackback pages should be added to robots.txt
Fixes pagination for WP on IIS and trailing slash for pages and categories on WP 2.2 when not having a trailing slash in post permalink structure
Validates the supplied URL before calling the theme-templates, preventing multiple URLs from being used to reach a page, which search engines perceive as duplicate content and leads to penalty
Version history includes fixes for various bugs and added support for HTTPS and special IIS installations
原文外掛簡介
WordPress 2.3 now includes validation of the permalink URL when using Apache web server,
but if using IIS then this plugin is still relevant.
Permalink Validator helps Search Engine Optimization (SEO) as it prevents duplicate
contents on your WordPress blog:
Adds trailing back-slash if missing (Can also be done with htaccess or isapi_rewrite).
Adds or removes www prefix according to your permalink structure (Can also be done with htaccess or isapi_rewrite).
Forces a correct 404 page instead of showing an empty search result when using an invalid URL
Works only on post, pages and categories. Archives based on date (Daily, Monthly, Yearly) and search-result-pages should use noindex. Feed and trackback pages should be added to the robots.txt.
Fixes pagination for WP on IIS.
Fixes trailing slash for pages and categories on WP 2.2 when not having trailing slash in post permalink structure.
WordPress it very forgiving when supplying an URL that doesn’t match the
actual permalink to a post or a page. This is caused by WordPress using some
very greedy wp_rewrite_rules, which accepts almost any URL as valid.
This means that multiple URLs could be used to reach the page, which search engines
sees a duplicate content and leads to penalty.
For example it will accept the following permalink URL as valid:
http://example.com/post/hello-world/2
Even though the official URL is this:
http://example.com/post/hello-world/
Permalink Validator makes a hook to template_redirect, and then adds some
extra validation of the URL supplied before actually calling the
theme-templates.
Version History
Version 0.8
Fixed PHP Warning: strpos() [function.strpos]: Empty delimiter
Converted the PHP file from UTF8 to ANSI (Removed special BOM character in file beginning)
Version 0.7
Permalink Validator will not perform redirect of POST server request
Version 0.6
Fixed a redirection bug introduced in 0.5 when the front page is a page of posts
Version 0.5
WordPress 2.3 includes permalink validation (canonical urls) when using Apache, so this plugin should now only be used with IIS
Added support for HTTPS urls
Added support for special IIS installations where PATH_INFO and SCRIPT_NAME is the same
Added small hack to exclude pages from validation (One is required to edit the source to use it)
Added detection of the plugin Jerome’s Keywords
Version 0.4
Better guessing of a proper REQUEST_URI
Finds the proper REQUEST_URI when using isapi_rewrite
Finds the proper REQUEST_URI when using IIS Mod-Rewrite
Improved validation as it nows expects a proper REQUEST_URI (Guess Apache is now supported)
Version 0.3
Fixes trailing slash for pages and categories in WP 2.2 when using a post permalink structure without ending slash.
Version 0.2
Added support for static front page.
Added detection of integrated BBPress.
Checks that WordPress has been started before adding hooks
Version 0.1
Fixes REQUEST_URI for WP on IIS, which also fixes pagination.
Handles permalink structure with or without index.php.
Handles default permalink structure using only post-id.
Testing Procedures
For each of the different permalink structures:
Default permalink structure (Using query string)
Permalink structure with index.php
Permalink structure without index.php (Using ISAPI_rewrite)
Permalink structure ending with .html
All the above in a sub-directory
Tries the following pages:
Front page and paged
Static page
Post page
Category page and paged
Front page as static page (WP 2.2+)
Front page as post page (WP 2.2+)
Contributors
Scott Yang for giving me the idea and the example of to how make this plugin.
Gabe Anderson for giving me the initiative to release this plugin.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Permalink Validator」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
0.1 | 0.2 | 0.3 | 0.4 | 0.5 | 0.6 | 0.7 | 0.8 | 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)的附加外掛,提供了一種簡單的方法,讓訪客在成功傳送訊息後,能夠自動重新導向到成功頁面或感謝頁面。如果沒有傳送訊息...。