説明
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).
インストール
- Upload
disable-attachment-pages.zip
to the/wp-content/plugins/
directory. - Activate the plugin through the ‘Plugins’ menu in WordPress.
- 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
2017年10月7日
Works as said. Nothing more, nothing less.
貢献者と開発者
“Disable Attachment Pages” をあなたの言語に翻訳しましょう。
開発に興味がありますか ?
変更履歴
1.1
- Added Gutenberg support.
1.0
- First release