
內容簡介
這個 SEO 外掛的目的是將附件 URL 盡可能快地從 Google 索引中清除,這有助於那些可能因搜索索引中有太多薄內容頁面而受到損害的網站,通過以最快的方式刪除它們來恢復。
這個外掛是做什麼的?
此外掛使您的所有附件 URL 返回 HTTP 410 狀態。然後它創建一個具有最近上次修改日期的 XML 網站地圖,其中包含所有這些 URL。含有最近貼文修改日期的 XML 網站地圖將使 Google 重新索引所有這些 URL。 410 狀態碼確保 Google 以最快的方式將它們從其搜索結果中刪除。
通過一個很好的技巧,我們還向最終使用者顯示實際的附件圖像,因此當他們看到錯誤頁時,使用者體驗不會那麼差。
Yoast SEO 必須的
此外掛是 Yoast SEO 的擴展。它需要 Yoast SEO 才能運行。
該插件應該運行多久?
6 個月後,附件 URL 應該從搜索結果中消失。 如果然後刪除插件,並將 Yoast SEO 的重定向設置為“是”,那麼您將擁有附件 URL 的最佳長期行為:重定向到實際的附件。
Google 是否支持這樣做?
這種方法已經與 Google 討論過並通過了。
從 WordPress 中
訪問“插件>新增”
搜索“Yoast SEO:搜索索引清除”
在插件頁面上啟用 Yoast SEO:搜索索引清除。
繼續閱讀“啟用後”部分。
手動
將 yoast-seo-search-index-purge 文件夾上傳到 /wp-content/plugins / 目錄中
通過 WordPress 中的“插件”菜單啟用 Yoast SEO:搜索索引清除插件
繼續閱讀“啟用後”部分。
啟用後
外掛標籤
開發者團隊
② 後台搜尋「Yoast SEO: Search Index Purge」→ 直接安裝(推薦)
原文外掛簡介
The purpose of this SEO plugin is to purge attachment URLs out of Google’s index as fast as possible. This helps sites
that might have suffered from having too many thin content pages in the search index by removing them in the fastest
way possible.
What does this plugin do?
This plugin makes all your attachment URLs return an HTTP 410 status. It then creates an XML sitemap with a recent last
modified date, containing all those URLs. The XML sitemap with recent post modified date makes Google spider all those
URLs again. The 410 status code makes sure Google takes them out of its search results in the fastest way possible.
With a nice trick, we also show end users the actual attachment image, so the user experience is not as poor as when
they see an error page.
Yoast SEO required
This plugin is an extension to Yoast SEO. It requires it to work.
How long should you run this plugin?
After 6 months the attachment URLs should be gone from the search results. If you then remove the plugin, and keep
Yoast SEO’s redirect setting on “Yes”, you have the best long term behavior for attachment URLs: to redirect to the
actual attachment.
Does Google condone this?
This method has been discussed with and OK’d by Google.
From within WordPress
Visit ‘Plugins > Add New’
Search for ‘Yoast SEO: Search Index Purge’
Activate Yoast SEO: Search Index Purge from your Plugins page.
Go to “after activation” below.
Manually
Upload the yoast-seo-search-index-purge folder to the /wp-content/plugins/ directory
Activate the Yoast SEO: Search Index Purge plugin through the ‘Plugins’ menu in WordPress
Go to “after activation” below.
After activation
