Этот плагин не тестировался с последними 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.

Отзывы

25.10.2018
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