My page is now getting 404 error when activating your plugin

getting-404

Are you getting a 404 error on some of your wordpress pages after activating our plugin? Well the answer is in, short and simple.

The Theme or Plugin Developer is not adding flush_rewrite_rules(); to the custom post type function.

Here is what our plugin function looks like for the custom post type creation. Notice the 3rd line from bottom that says flush_rewrite_rules();

Screen Shot 2013-07-15 at 1.06.02 PM

Now look at this particular theme developers code on line 573. They are missing the flush rewrite at the bottom.

Screen Shot 2013-07-15 at 2.31.13 PM

Photo showing how we added code to theme on line 583

Screen Shot 2013-07-15 at 2.31.34 PM

And now we all have smiles!

If you’re having a problem like this and would like us to fix your website please email the details of your problem to info@slickremix.com, and we’ll see what we can do.

Main photo courtesy: http://huwshimi.com/404/

2 Responses to My page is now getting 404 error when activating your plugin

  1. SlickRemix

    Awesome thanks for the tip and link! We’ll be updating this post to show the proper method.

    January 17, 2014 at 11:53 am

Leave a Reply