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.1

Bug Fixes
* only redirect to a parent a visitor can actually reach (213b013)

1.1

  • Added Gutenberg support.

1.0

  • First release