Title: Disable Attachment Pages
Author: greatestview
Published: <strong>2017-06-23</strong>
Last modified: 2026-08-03

---

Szukaj wtyczek

![](https://s.w.org/plugins/geopattern-icon/disable-attachment-pages.svg)

# Disable Attachment Pages

 Autor: [greatestview](https://profiles.wordpress.org/greatestview/)

[Pobierz](https://downloads.wordpress.org/plugin/disable-attachment-pages.1.1.1.zip)

 * [Szczegóły](https://pl.wordpress.org/plugins/disable-attachment-pages/#description)
 * [Recenzje](https://pl.wordpress.org/plugins/disable-attachment-pages/#reviews)
 *  [Instalacja](https://pl.wordpress.org/plugins/disable-attachment-pages/#installation)
 * [Rozwój](https://pl.wordpress.org/plugins/disable-attachment-pages/#developers)

 [Wsparcie](https://wordpress.org/support/plugin/disable-attachment-pages/)

## Opis

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

## Instalacja

 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.

## Recenzje

![](https://secure.gravatar.com/avatar/6504c50955101e898b816cf95a91f5e87dc5f34fde2591856f40787df87b3651?
s=60&d=retro&r=g)

### 󠀁[working great on 4.9.8](https://wordpress.org/support/topic/working-great-on-4-9-8/)󠁿

 [lbdesign](https://profiles.wordpress.org/lbdesign/) 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

![](https://secure.gravatar.com/avatar/49c77c9f93e232f66a126c5a47cf1c2a05cade5731a0536ed8c2214e67d16d3c?
s=60&d=retro&r=g)

### 󠀁[Works as said.](https://wordpress.org/support/topic/works-as-said-2/)󠁿

 [ahmety](https://profiles.wordpress.org/ahmety/) 2017-10-07

Works as said. Nothing more, nothing less.

 [ Przeczytaj 2 recenzje ](https://wordpress.org/support/plugin/disable-attachment-pages/reviews/)

## Kontrybutorzy i deweloperzy

„Disable Attachment Pages” jest oprogramowaniem open source. Poniższe osoby miały
wkład w rozwój wtyczki.

Zaangażowani

 *   [ greatestview ](https://profiles.wordpress.org/greatestview/)
 *   [ Palasthotel GmbH ](https://profiles.wordpress.org/palasthotel/)
 *   [ Jana Eggebrecht ](https://profiles.wordpress.org/janaeggebrecht/)

[Przetłumacz wtyczkę “Disable Attachment Pages” na swój język.](https://translate.wordpress.org/projects/wp-plugins/disable-attachment-pages)

### Interesuje cię rozwój wtyczki?

[Przeglądaj kod](https://plugins.trac.wordpress.org/browser/disable-attachment-pages/),
sprawdź [repozytorium SVN](https://plugins.svn.wordpress.org/disable-attachment-pages/)
lub czytaj [dziennik rozwoju](https://plugins.trac.wordpress.org/log/disable-attachment-pages/)
przez [RSS](https://plugins.trac.wordpress.org/log/disable-attachment-pages/?limit=100&mode=stop_on_copy&format=rss).

## Rejestr zmian

#### 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

## Meta

 *  Wersja **1.1.1**
 *  Ostatnia aktualizacja **2 miesiące temu**
 *  Włączone instalacje **300+**
 *  Wersja WordPressa ** 4.0 lub nowszej **
 *  Testowano do **7.0.7**
 *  Wersja PHP ** 7.0 lub nowszej **
 *  Język
 * [English (US)](https://wordpress.org/plugins/disable-attachment-pages/)
 * Tagi
 * [attachment](https://pl.wordpress.org/plugins/tags/attachment/)[attachments](https://pl.wordpress.org/plugins/tags/attachments/)
   [images](https://pl.wordpress.org/plugins/tags/images/)[redirect](https://pl.wordpress.org/plugins/tags/redirect/)
 *  [Widok zaawansowany](https://pl.wordpress.org/plugins/disable-attachment-pages/advanced/)

## Oceny

 5 na 5 gwiazdek.

 *  [  2 recenzje 5-gwiazdkowe     ](https://wordpress.org/support/plugin/disable-attachment-pages/reviews/?filter=5)
 *  [  0 recenzji 4-gwiazdkowych     ](https://wordpress.org/support/plugin/disable-attachment-pages/reviews/?filter=4)
 *  [  0 recenzji 3-gwiazdkowych     ](https://wordpress.org/support/plugin/disable-attachment-pages/reviews/?filter=3)
 *  [  0 recenzji 2-gwiazdkowych     ](https://wordpress.org/support/plugin/disable-attachment-pages/reviews/?filter=2)
 *  [  0 recenzji 1-gwiazdkowych     ](https://wordpress.org/support/plugin/disable-attachment-pages/reviews/?filter=1)

[Twoja opinia](https://wordpress.org/support/plugin/disable-attachment-pages/reviews/#new-post)

[Zobacz wszystkierecenzje.](https://wordpress.org/support/plugin/disable-attachment-pages/reviews/)

## Zaangażowani

 *   [ greatestview ](https://profiles.wordpress.org/greatestview/)
 *   [ Palasthotel GmbH ](https://profiles.wordpress.org/palasthotel/)
 *   [ Jana Eggebrecht ](https://profiles.wordpress.org/janaeggebrecht/)

## Wsparcie

Masz coś do dodania? Potrzebujesz pomocy?

 [Zobacz forum wsparcia](https://wordpress.org/support/plugin/disable-attachment-pages/)

## Złóż datek

Czy chcesz wesprzeć rozwój wtyczki?

 [ Wspomóż wtyczkę ](https://palasthotel.de/)