Go to Settings > Permalinks and insert archive
in the Category base field.
For custom post type archives, you can set that to anything you want via the has_archive
argument of register_post_type
:
'has_archive' => 'archive/your-post-type'
Related Posts:
- Custom Post Type Archives by Year & Month?
- Get custom post type slug for an archive page
- Meta_Query as a way how to setup CPT permalinks – is it a good thing?
- Proper way of making custom post type landing page or archive page
- Custom Post Type Archives by Date with Custom Permalink
- Change title in head on Archive page
- Custom Post Type Archives with 0 Posts Redirects as 404
- Page is defaulting to archive page and not designated template
- Better to use a post type archive, page template, or shortcode for generating a highly configurable CPT archive?
- paginate function in archive for custom-post-type
- Custom post type archive sorted and grouped by date in post meta field
- How to create archive page for taxonomy terms within custom post type
- WordPress custom post type archive with description
- Custom-post-type-archive: posts sorted/filtered by year?
- How to list custom post types?
- Custom post type archive page pagination
- Editable content on a Custom Archive page
- Second Custom Post Type Archive
- is_main_query() not working for WP REST API
- CPT Archive with core Category
- Changing number of posts per page on CPT-archive.php, have tried 20-30 code chunks so far
- get the custom post type title/name
- URL of a custom post type’s post format archive?
- Create template for taxonomy results limited by Custom Post Type
- Custom post type archive page blank
- How to display custom post in archive section of the wordpress page?
- What’s the name of the custom post type yearly archive template?
- How can I use archive-{post_type}.php theme template?
- Return the name of the post type
- Use the custom post type archive for taxonomies?
- Archive page for custom post type and custom taxonomy
- How to have multiple archive pages?
- Custom Post Type Date Based Archive URL rewrite [duplicate]
- WordPress sitemap with Custom Post Types
- Is possible register two archive pages for single custom post type?
- Custom Post type page content (archive page)
- Group custom post type posts by month
- Creating an archive page or simple template to list all values of a custom field of specific post type listing
- Do not show child pages within a file page
- Tell wordpress to show a single page instead of an archive page
- Custom Post Type archive page listing a 404 or single post
- Want to display my custom date archive to date.php but dont know how
- Rewriting archive page slug to be different than custom post type slug
- Site loads very slow for archive custom post type page
- Stop Custom post type from being searched via URL
- Custom post type category page not working
- paging is not working properly on news archives page [duplicate]
- How can I set up the URL for a category archive for a custom post type?
- Taxonomy Query of Custom Post Displays Archive Instead of Posts
- Pagination not working for archive
- How to have a dynamic slug and rendering the archive-{post_type}.php?
- Remove plugin’s custom post type archive page and single pages [closed]
- WordPress CPT archive page display sticky post first and then display the rest of the posts in same Query
- Custom Post Type Settings page, choose page to display archive
- Adding a menu item for a Custom Post Archive
- Adding custom post type archives to a WordPress menu
- Why are posts from custom post type not displayed in “category” archive?
- Custom Post Type archive as front page
- How to show a tag archive of one post type only
- Regex problem in an add_rewrite_rule
- Adding custom post types to archive.php
- Change plugin’s has_archive = true to false?
- archive-{$post_type}.php not loading. instead the default archive.php loads
- How to make an archive page displaying posts in a date range
- Categories and Tags not working!
- Slug for standard post post_type
- Get post type from taxonomy or category page
- custom taxonomy archive by year
- Display Next/Prev when looping Custom post-types archive?
- When ‘is_post_type_archive()’ return true?
- How can I filter by taxonomy on a custom post type’s page?
- How much control do we have over CPT rewrite slugs? Can I create a “root” page for my CPT with out the page path, and then have paths for other pages?
- Custom post types and tag archive pages/permalink structure issue
- Tag Archive for Custom-Post-Type Posts yielding 404 when permalinks set to postname
- WordPress post_where & posts_join not working only for custom post type
- WordPress showing archive.php instead page
- Custom post type / taxonomy rewrite archive page 2 gives 404
- Limit the Title Length on Custom Post Type Archive Page to a Set Number of Characters
- Excluding a Custom Post Type with a specific tag using pre_get_posts
- Assign CPT archive page attributes
- sort CPT on Custom Taxonomy Archive page
- Display Date & Author Info on Custom Post Type Archive Page
- How to constrain the results to a specific post_type on tag archive page?
- Get the link of the first post of a custom taxonomy in a custom taxonomy list
- add_action ‘init’ from inside a class for custom post types
- Custom post type archive – error in nav-menu-template.php
- How to prevent a custom post type from using the archive.php template?
- Make Next and Previous on single-$posttype.php use the same order as archive-$posttype.php
- Get single posts archive information
- How to achieve a multi-taxomony layout with posts?
- 2 Custom Post Types In 1 Archive Page?
- Displaying all posts by category and showing content on click
- Custom post pagination not working
- Custom post type post_type_link gives “page not found” on any other custom post type
- Custom Post Type shows pagination (w/404) or posts_per_page query, but not both
- archive.php can’t find categorized posts
- Have two (permalinks) urls for a same custom post type
- Image paths on custom post types getting /post_type/ added to path
- Archive pagination – second page shows exactly the same posts
- Show custom category archive as front page and remove taxonomy slug from urls