Last day worked on a project BWL Knowledgebase Manager that has some custom functionality developed by WordPress custom post type features. Everything was going fine in Admin section. But, I found a sudden error while checking custom post type pages in front end of my website.
Something was going wrong and custom post type pages return 404 page error. It’s wired! After doing research on this issue more than 2 hours and finally I found the solution to solve 404 issue and realize It’s not a big deal to solve that custom post type 404 issue 🙂
Follow the steps described in below.
1. Logged In your WordPress admin panel.
2. Go to Settings>Permalink section. Select Default Radio button and press Save Changes button.
3. Then again Select Post Name Radio button and press Save Changes button.
4. Go to front end of your site and check. Your issue will be solved.
Hope you enjoyed this small tricks to solve 404 page issue for your custom post type functions. For more tips and tricks of WordPress you check our WordPress snippet section.