這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Disable Attachment Pages

描述

This plugin redirects attachment pages to the post, where they are placed (via 301). If there is no parent page, it redirects back to the WordPress home URL (via 302).

Further, when editing a post, the option to link images to their attachment page is hidden via CSS (except it is selected by default).

安裝

  1. Upload disable-attachment-pages.zip to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. You’re done! Try following an attachment link, the browser should redirect back to the post, where this link is placed.

評價

2018年10月25日
I just installed this and now the "bad" image links on SERPs are redirecting to relevant pages, rather than to image pages. Wonderful! Thank you for making this. Wordpress v 4.9.8
閱讀全部2個評價

貢獻者及開發者

“Disable Attachment Pages” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Disable Attachment Pages 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.1

  • Added Gutenberg support.

1.0

  • First release