Disable Attachment Pages
| 开发者 |
palasthotel
greatestview
janaeggebrecht
|
| 更新时间 |
2026年8月3日 18:14 |
| 捐献地址: |
去捐款 |
| PHP版本: |
7.0 及以上 |
| WordPress版本: |
7.0.2 |
| 版权: |
GPL-3.0-or-later |
| 版权网址: |
版权信息
|
详情介绍:
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.
更新日志:
1.1.1
Bug Fixes
- only redirect to a parent a visitor can actually reach (213b013)
1.1
1.0