Try updating your permalinks 3 times. Make sure you have set it correct. Also you should look into http://wordpress.org/plugins/super-cpt/ , makes it a lot easier to add custom post types.
Related Posts:
- Slash is being stripped in my post_name when using wp_insert_post
- What is the right way to clean up $title before wp_insert_post?
- permalink not showing correctly using wp_insert_post and post_name
- Get the current page URL (including pagination)
- What is the difference between get_post_permalink and get_permalink?
- WordPress matching URLs with trailing tildes
- Rewrite Rule for Multilingual Website, Like qTranslate?
- How to use relative links on my pages?
- How to filter to output of the get_permalink() function
- Change slug on post creation
- Is there a user-facing interface to edit an attachment’s permalink?
- URL Rewrite + Page + Custom Post Type = Unusual Redirect
- WordPress on a subdirectory of Laravel – WordPress pretty permalinks inner page shows laravel
- Custom Permalink: /year/month/post-goes-here/?
- Get post title with link
- WooCommerce permalinks [closed]
- Menu Link Redirect Based on Username or User ID
- Redirect short-form URL to long-form URL (post_id to post_id + post_name)
- Does a parent page’s post_title have to appear in a child page permalink?
- Enable Minify in W3Total Cache using NGINX [closed]
- Can’t change permalink url after hitting ‘ok’ and ‘update’
- Rewrite user profile URL to be human friendly
- How to make variables in URL look like the permalink structure?
- Why I can’t change the permalink of this page?
- Sub-category and category in permalink structure
- Permalinks changed with WordPress 4.9
- Permalinks broken regularly
- How can I add a page’s ID to its permalink using WP_Rewrite?
- Debugging permalink issue
- How to change the permalink option to post name on theme activation?
- Does rename of page slugs create 301 redirects from old slug to new (same as for posts)?
- Changing post content on save, using updated fields
- Change blog segment of URL
- Change in permalink structure made javascript cookie not work correctly
- Making permalinks to /%postname%/ by default in installation
- Multiple taxonomies on same permalink rule [closed]
- How to bulk edit image url in featured image and product description?
- WordPress category base not in post permalink
- What’s actually happening when permalinks for custom post types suddenly stop working
- Images in media library have suddenly disappeared
- Post with Custom Permalinks
- Can’t select blog month within archive category
- Conditional permalink structure
- Auto setup “permalink” or request notice
- How to add .html to the end of the permalink
- IIS 7 Rewrite with parent categories
- Press-This stopped redirecting to permalink after post publish
- Permalinks on post is working, on pages 404 error
- Giving a new page an existing URL
- When do i need to get permalink structure of a specific post?
- implement separate templates for 1 post type
- encoded search terms with %20
- Permalinks not working on new site
- WordPress author.php template does not work with custom permalink structure! Help!
- Adding URL prefix for foreign language support
- Links in post content don’t work on home page
- Remove all stop words from old permalinks
- Arabic permalink redirect to home page
- Changing permalink settings causes 404
- 404 error on all pages but custom post types are working OK
- using wp_redirect to redirect to a permalink
- old permalinks not found
- WordPress permalink from the database?
- How can I see a list of all pages my WordPress site has generated?
- Can I change the URL structure for a CPT only?
- Display parent page URL for child page
- How to set add_query_arg properly for home page?
- Make a post inaccessible without a unique ID in the URL
- archive by year and category: permalink support doesn’t work on pagination
- Code snippet to add filter pre_post_link to change Media URL (post_type attachment permalink/slug)
- iFrame permalinks on WordPress
- Change permalink structure in all sites of a multisite
- Custom permalink structure with a prefix just for posts
- Changing permalink stops me from creating webpages
- Make query parameter an endpoint
- WP adding noopener and noreferrer to all links
- Added a prefix in URL permalink structure but the old structure still working!
- Permalink of post redirect to uncategorized category
- create user’s view profile link with username
- How to rewrite a folder in WordPress?
- The Permalink doesn’t work after the foreach ended
- Force/Limit the post/page slug to accept only url friendly characters
- Make Permalinks have a custom format?
- Permalinks setting raises 500.0 error
- permalinks of subcategory and posts
- Define a Permalink Structure by Post and Page
- After changing permalink settings, everything works fine except for the two most recent posts
- Installing WordPress in another Install?
- using post meta data as permalink tags [duplicate]
- permalink repeated
- .htaccess not working in WordPress
- Incorporate single WordPress page into an existing static website [duplicate]
- How to configure WordPress to be a subdirectory of my main site as mymainsite.com/blog?
- How to avoid duplicate Url for the home page
- Display a custom slug in URL depending on user variable
- Removing parent page in URL for one page
- Remove index.php from URL
- htaccess strip url
- Problems loading stylesheet and permalinks after rebooting
- Custom Permalink Structure For a Specific Category