
內容簡介
Link Fixer Plugin(請注意,此外掛程式從「Permalink Finder」更改名稱)可偵測 WordPress 無法找到永久網址的情況。在生成 404 錯誤之前,此外掛程式會嘗試尋找任何包含相似詞語的文章。它通過在數據庫中搜索試圖從不良鏈接中找到任何單詞值,然後選擇最佳匹配結果,並且不會發出 404 錯誤,而是發送重定向到正確的頁面。
使用者將看到他們正在查找的頁面,而搜索引擎蜘蛛將看到 301 重定向並更新其數據庫,以便在搜索中正確顯示該頁面。
此功能在 WordPress 從 Blogger.com 帳戶轉換時刪除單詞(例如「the」和「a」)的永久網址時尤其有用。當 WordPress 沒有使用以前使用的擴展名(例如 html 和 shtml)時,它也很有用。
配置面板允許使用者選擇此外掛程式如何找到缺失的頁面。此外掛程式會計算匹配文章的單詞數量。預設情況下,只要有兩個單詞匹配,就會導致重定向至發現的頁面。如果使用者選擇了一個單詞匹配,則可能會出現誤判。但是增加單詞數量會使此外掛程式找到匹配的可能性變小。使用者可以從搜索中刪除數字,也可以指定不考慮常見英語單詞(如「the」、「and」、「who」、「you」等)以找到正確的永久網址。
此外,此外掛程式可將 index.html、index.htm 和 index.shtml 上的點擊重定向到博客主頁。這在先前使用非 PHP 主頁的網站中很有用。
如果 WordPress 在 robots.txt、sitemap.xml、crossdomain.xml、favicon.ico 或 apple-touch-icon.png 上檢測到 404 錯誤,它將提供默認版本。
此外掛程式還可選擇性地跟踪最近的幾個 404 錯誤或重定向。這有助於找出仍然導致 404 錯誤或強制重定向的缺失頁面或命名錯誤的頁面。
支援
此外掛程式是免費的,我不要求你做任何回報。請在以下網址評價此外掛程式:https://wordpress.org/extend/plugins/permalink-finder/
如果您想支援我的程式設計,您可以捐贈或購買我的書籍:
https://www.facebook.com/BlogsEye
Error Message Eyes:程序員數字靈魂的指南
外掛標籤
開發者團隊
原文外掛簡介
The Link Fixer Plugin (note the name change from Permalink Finder) detects when WordPress cannot find a permalink. Before it generates the 404 error the plugin tries to locate any posts with similar words. It does this by searching through the database trying to find any of the word values from the bad link. It takes the best match and then, rather than issuing a 404 error, it sends back a redirect to the correct page.
Users will see the page that they are looking for, and search engine spiders will see the 301 redirect and update their databases so that the page appears correctly in searches.
The configuration panel allows a user to select how the plugin finds a missing page. The plugin counts the number of words that match to a post. By default, a two word match is sufficient to cause a redirect to the found page. False positives are possible, especially if the user selects a one word match. Increasing the number of words, however makes it unlikely that the plugin will ever find a match. You may eliminate numbers from the search. You may specify that a list of common English words like “the”, “and”, “who”, “you”, etc., not be considered in finding the correct permalink.
Optionally, the plugin will redirect hits on index.html, index.htm, and index.shtml to the blog home page. This is useful when a website previously used a non-php home page.
If WordPress detects a 404 error on robots.txt, sitemap.xml, crossdomain.xml, favicon.ico, or apple-touch-icon.png it will provide a default version.
The plugin will also optionally keep track of the last few 404’s or redirects. This is useful to find out what pages are missing or named badly that keep causing 404 errors or forcing redirects.
Support
This plugin is free and I expect nothing in return. Please rate the plugin at: https://wordpress.org/extend/plugins/permalink-finder/
If you wish to support my programming, You can donate or buy my book:
https://linktr.ee/keithpgraham
