WebCraft Tools

  • News
  • WordPress
    • WordPress Basics
    • WordPress Advanced
    • WordPress Performance
    • WordPress Security
    • WordPress Commerce
    • WordPress Troubleshooting
    • WordPress Themes
  • SEO and Analytics
WebCraft Tools › WordPress Troubleshooting › Fix 404 Page Not Found error on new custom post types

Fix 404 Page Not Found error on new custom post types

Last updated on April 19, 2017 by Editorial Staff

So you’ve created a custom post type with a custom slug and you’ve added some content and viewed the post only to find a 404 Page Not Found Error page. This is because although you registered your new post type WordPress doesn’t know how to handle it yet.

Simply go to settings>permalinks and choose a permalink structure if you haven’t done so already. Once done click “save changes” and make any changes to .htaccess if prompted to do so. Now view you custom post again and all should be right with the world.

Tweet
Pin
Share
0 Shares

Filed Under: WordPress Troubleshooting

Comments

  1. Dexter says

    October 10, 2011 at 11:10 pm

    Thanks man! I almost gave up in fixing this problem only to find out its that simple! Thanks Again!

    Reply
  2. Shawn Mulligan says

    March 9, 2013 at 3:42 pm

    After hours of troubleshooting I found this. THANK YOU! I thought I was going insane.

    Reply
  3. Jamie @ hands on : as we grow says

    July 29, 2013 at 10:21 am

    Awesome! So simple and effective. My kind of fixin’!

    Reply
  4. Justin says

    November 14, 2014 at 11:02 am

    What if your using custom taxonomies with the custom post type? I can’t find a solution…

    Reply
    • James Laws says

      November 20, 2014 at 8:31 am

      Providing your taxonomies have proper slugs associated with them this should work for that as well.

      Reply
  5. Ahmad says

    March 18, 2016 at 3:41 pm

    Thank you!

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Site Links

  • Contact Us
  • Disclosure Statement
  • Privacy Policy

About WebCraft.tools

WebCraft.tools is your free resource for building, maintaining, and improving your WordPress website. Whether you are building your first site or have been building them for years, WebCraft.tools aims to provide you with tips, tricks, tutorials, and reviews to take your WordPress site to the next level.

© 2017 - 2026 · WebCraft Tools · Built by the WP Ninjas, LLC