This plugin allows you to disable public archive pages such as:
Category archives
Tag archives
Author archives
Date-based archives
Custom taxonomy archives
Custom post type archives
Each disabled archive will:
Return a 404 error
Be excluded from XML sitemaps
Useful for SEO and improving site clarity by removing thin or duplicate content.
安装:
Upload the plugin files to the /wp-content/plugins/disable-archive-pages directory, or install the plugin through the WordPress plugins screen directly.
Activate the plugin through the 'Plugins' screen in WordPress.
Navigate to Settings → Disable Archives to manage your archive visibility.