building on chrisguitarguy’s answer here is a quick snippet you can drop in your theme’s functions.php file to do job
add_action('template_redirect', 'wpse69948_archive_disabler');
function wpse69948_archive_disabler()
{
if(is_tag() || is_category() || is_date() || is_author())
{
global $wp_query;
$wp_query->set_404();
}
}
Related Posts:
- How to get category and archive title?
- Category archive by year with permalink support /category/YYYY
- get_categories for custom post type with a specific custom taxonomy attached
- How To Modify The Loop in archives.php To Have 11 Posts Per Page and CSS Styling
- 404 Error On Category and Tags Pages
- Force WordPress to Show Pages Instead of Category
- What’s the URL for a category archive?
- How to add the category ID to admin page
- Sort posts by tags in category pages
- How to hide a specific category posts in my monthly archive?
- Optimal way to redirect home page to category archive?
- How to create a widgetized sidebar for every category dynamically?
- Only show category to certain user levels without plugin
- How would you create a “weekly” archive?
- Sticky Posts Not Sticking to Top of Category Archive
- Root level category, tag, author and archive pages to work
- wp_list_categories, Add class to all list items with children
- Are Custom Taxonomy Templates Possible?
- Remove “Parent” Selection When Adding/Editing Categories?
- Check is category parent or not from its ID
- I want exclude the particular category in sidebar
- How to filter archives both by category and tag?
- Remove Archive Headline and Archive Intro Text fields on category and tag archive pages in WordPress Admin with Genesis framework
- Display only posts from referred category on date archive page
- Using widget logic I want to show only a widget on the archive page if there are no posts
- What type of page should i use? static page or category page? and what’s the difference? [closed]
- Creating archive pages for children categories
- How to show in search results posts with a particular tag in a particular category?
- How can I get an tag to wrap each ancestor that gets outputted in this condition?
- WordPress categories being called “archives” in google links. How to remove?
- If in category to be inside of a function
- conditional for sub category on archive page
- Sorting posts by season
- Rename Default Category (Uncategorized) Via a Function
- weekly archive for custom category
- WordPress subcategories return 404 in custom template
- How to remove category titles?
- Getting URL of archive (category) page
- Archives for each category on WP Multisite
- Category index featured image
- How to change category and year archive permalinks/rewrite rules?
- How can I define a custom archive for childs of a specific category?
- Get parrent category name
- Restoring default article pagination on archives – Removing custom limits
- Category archive rewrite rule to include category/subcategory?
- add_rewrite_endpoint returns 404 on archives
- Multiple category archive page
- Custom archive.php: retrieve right post categories?
- wp_dropdown_categories() scripts working erratically on sidebar
- Yearly Archive for Categories with dropdown
- Customize category page for different custom taxonomies
- Add tag parameter to category.php
- Random Featured Image Based on Category
- add slug beside name in Admin Category Checklists
- Category archive is displaying all posts rather than the specific category
- How to Remove a Title from All Category and Tags Page?
- Do not show sub categories in the loop on archive-product.php
- why get_the_post_thumbnail( the_ID()) echos extra post id
- display category list year wise in wordpress
- How to use wp_list_categories with plugin category?
- How to display post in custom file not in archive file?
- WordPress showing wrong category name
- Media (images, videos, etc.) not showing on Category page
- WordPress monthly archive category specific
- Archive filtering
- Show Secondary Sidebar on Category pages (archive)
- Redirect depending on category chosen
- How to add icon over specific thumb
- Rebuilding a Site: How to Show Several Category Posts in Woo Framework Theme?
- Add multiple orderby with pre get posts
- How to add a custom thumbnail size for a specific category?
- List of post categories only associated to another custom taxonomy
- Show the parent taxonomy by creating shortcode in woocommerce?
- How Can I Display the Category Description in a Theme with no Category.php or Archive.php?
- Display Category yearly wise in wp
- How to add excerpt and read more button to category archive page
- Display all posts from specific category
- Make category archives page in menu non-clickable
- Custom Category Archive Pages
- custom browse by
- How to get get_categories()’s ‘hide_empty’ argument to work with global year var in the archive template?
- get_the_terms_list output last child only
- How to get related category/categories in WordPress archive page
- Category archives
- Code to display category-specific single.php is overriding normal single.php, too
- Loop Through Categories in Custom Field
- Create monthly archive for parent category
- How to count the number of monthly archive?
- Conditional statements based on custom meta value in category archives
- 2 loops in archive.php (one for each category)
- Archives and category of authors
- Category Archives: Show posts categorized in parent category only
- Show parent-child relationship for categories in the wordpress admin
- All post of child category not in top category
- how to implement next/prev within category archive?
- How to link ACF relationship field to the new Query block in Full Site Editing
- Sorting past events by month
- Sort Category Archive pages and place sticky posts first
- Is there a standard “Archive” block that shows ALL posts from a specified category?
- Display posts in a random order for a specific category