I found a solution here:
http://gabrieleromanato.name/wordpress-fix-the-404-error-on-custom-post-types/
Here’s what you need to do to get it to work (quoted from site above):
- Go to Settings → Permalinks and change your current structure to:
/%category%/%postname% - Save changes.
- Restore your original permalink settings. Save changes.
Related Posts:
- adding custom post type “name” to single template
- Make Next and Previous on single-$posttype.php use the same order as archive-$posttype.php
- How to disable the single view for a custom post type?
- Custom Post Type Archives by Year & Month?
- Get custom post type slug for an archive page
- Custom Post Type Settings page, choose page to display archive
- Adding custom post type archives to a WordPress menu
- How to set a custom post type to have viewable future posts
- Custom Post Type Archives by Date with Custom Permalink
- Change title in head on Archive page
- How to filter custom post type archive by meta value
- “Edit” option for custom post types archive page
- Custom Post Type archive as front page
- Custom Post Type / Taxonomy Slug / Post Title with post type archive
- Adding Sticky functionality to Custom Post Type Archives
- Create sub single pages
- paginate function in archive for custom-post-type
- Adding custom post types to archive.php
- Should I change these content meta types before building complex archive page?
- posts_nav_link on single post template
- How to create archive page for taxonomy terms within custom post type
- How to make an archive page displaying posts in a date range
- Categories and Tags not working!
- WordPress custom post type archive with description
- How to list custom post types?
- Display Next/Prev when looping Custom post-types archive?
- Editable content on a Custom Archive page
- pagination redirecting from page number url before page requested
- How can I filter by taxonomy on a custom post type’s page?
- An empty Custom Post Type Archive page returns 404 in WP 3.1
- How to check the terms in single custom post type template
- How to show the archive / post type description on Single templates
- is_main_query() not working for WP REST API
- Posts of custom post type load the page template
- CPT Archive with core Category
- get the custom post type title/name
- Custom post types and tag archive pages/permalink structure issue
- Custom post type templating problem
- Displaying Page as Custom Post type landing Page
- Custom post type not displaying content from single-{custom post type} page
- WordPress post_where & posts_join not working only for custom post type
- CPT archive admin menu label
- Content Editable CPT Archive?
- Setup template_redirect using has_term when NO term assigned
- Paginate_links in custom post type template
- Limit the Title Length on Custom Post Type Archive Page to a Set Number of Characters
- single-{post_type}.php not working
- How to hyperlink content from archive page with custom post-type
- Associate page w/ specific single post template?
- Excluding a Custom Post Type with a specific tag using pre_get_posts
- hide specific div on single.php [closed]
- sort CPT on Custom Taxonomy Archive page
- ACF for custom post type archive pages: which hook to use?
- How do I find a way to create a global single.php for a custom post type?
- How to use single.php for creating, reading and editing Custom Posts with ACF
- CPT Archive pre_get_posts not working?
- add_action ‘init’ from inside a class for custom post types
- Custom post type archive – error in nav-menu-template.php
- CPT archive page – show one post from each taxonomy term
- Get single posts archive information
- Custom Post Type Date Based Archive URL rewrite [duplicate]
- Specifying a template for custom post type pages
- Conflict in function to allow single post template based on category
- Invalid content when I try to import custom post type from the old template wordpress
- Does this archive template part look like its making too many calls to the db?
- Finding the CPT archive template source
- Displaying all posts by category and showing content on click
- Custom post type single page 404
- Custom Post type page content (archive page)
- Posts per Page on custom Taxonomy Template
- 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
- Shortcode and get_template_part
- Tell wordpress to show a single page instead of an archive page
- Why custom post redirecting to index page?
- How to make “single post” permalink maintain it’s sub-page structure
- Custom post pagination not working
- Custom Post Type / Taxonomy / Term – what template to use to avoid 404-page?
- get_permalink() of page the enclosing page not posts
- How to manage a custom post type archive as a page?
- Custom post type post_type_link gives “page not found” on any other custom post type
- How do I get the posts from single page custom post type from a sidebar to display in a page?
- How to set class to “current-page” on the currently viewed single post within a CPT
- Custom Post Type shows pagination (w/404) or posts_per_page query, but not both
- How to display category wise posts on seprarate template
- Rewriting archive page slug to be different than custom post type slug
- Pulling in Related Posts based on Post Type array
- Custom post types archive
- Site loads very slow for archive custom post type page
- Have two (permalinks) urls for a same custom post type
- Single page problem when permalink type changed
- How to display the FAQ Archive page in my menu
- how to load custom single.php?
- Rewrite rules causing hole
- Single Page for two custom post types
- Create a Page Templete to Display Table Of Content for Custom Taxonomies
- How to have a dynamic slug and rendering the archive-{post_type}.php?
- Dynamic WordPress rewrite rules for multiple custom post types
- WordPress Multisite Network Shared Custom Post from Main Site using single-CPT.php
- WordPress CPT archive page display sticky post first and then display the rest of the posts in same Query