Disable Attachment Pages

Descrición

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

Instalación

  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.

Comentarios

25 de Outubro de 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
Ler todas as 2 opinións

Colaboradores e desenvolvedores

“Disable Attachment Pages” é un software de código aberto. As seguintes persoas colaboraron con este plugin.

Colaboradores

Traduce “Disable Attachment Pages” ao teu idioma.

Interesado no desenvolvemento?

Revisa o código, bota unha ollada aorepositorio SVN, ou subscríbete ao log de desenvolvemento por RSS.

Rexistro de cambios

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