
內容簡介
此外掛可防止因資源缺失而產生的 404 錯誤和重定向。啟用後,將自動用空資源替換所有缺失的資源,提升網站效能。
【主要功能】
• 自動替換缺失資源為空資源
• 防止 404 錯誤和重定向
• 優化後台性能,減少查詢負擔
外掛標籤
開發者團隊
② 後台搜尋「Resource Not Found Placeholder | Prevent redirections due to not foud resources」→ 直接安裝(推薦)
原文外掛簡介
No more 404 errors and redirections due to missing resources. When a resource is not found, the plugin will replace it with an empty resource.
No settings are needed for this plugin. Just activate it, and it will replace all the missing resources with empty resources, preventing 404 errors and expensive redirections.
Many themes call https://yoursite.com/favicon.ico instead of the final favicon URL.
Believe it or not, when a resource like a favicon is not found, WordPress loads all the plugins, the theme, and the core, and then it does a redirection to the final favicon image.
This means that before the redirection the PHP code of the entire WordPress ecosystem runs, and all the database queries take place.
This is really expensive in terms of performance. You may have already seen some WordPress websites where the favicon needs a long time before being displayed or long waiting times for a not found resource. Well, this plugin prevents this kind of issue.
In the case of the favicon, if it’s not found in the main directory, the plugin will not replace it with an empty icon, but it will send to the browser the final favicon image without any redirections.
In all other cases, it will replace the missing resource with an empty resource.
It works for any kind of resource, but the resources with extensions .txt and .xml to avoid issues with the files which are generated on the fly like robots.txt and the sitemaps.
Backend Speed Optimization
Is your dashboard slow? We optimize admin performance by improving queries and reducing plugin load.
Read Backend Speed Optimization Service for more information.
