开发者 | samuelaguilera |
---|---|
更新时间 | 2022年12月3日 19:23 |
PHP版本: | 5.6 及以上 |
WordPress版本: | 6.1.1 |
版权: | GPLv3 |
版权网址: | 版权信息 |
wp-content/plugins/
directory of your WordPress installation (or install it directly from your dashboard) and then activate the Plugin from Plugins page.No. This plugin needs an existing attachment to work, if you deleted the attachment WordPress will return a 404 for its attachment page and this plugin doesn't support that scenario.
Since version 1.1 you can do this by adding constants to your wp-config.php file. The example below will switch the redirection codes used by default.
define( 'ATTACHMENT_REDIRECT_CODE', '302' ); define( 'ORPHAN_ATTACHMENT_REDIRECT_CODE', '301' );
Use this at your own risk, only if you know what you're doing!! No support will be offered for this.