MySQL-inserted custom taxonomy term lead to 404, flush rewrites doesn’t help

EUREKA! My taxonomy name is ‘store-category’. When i used ‘rewrite’ = true or ‘rewrite’ = array(‘slug’ => ‘category’) it was giving me a 404 error. When I changed it to ‘rewrite’ => array(‘slug’ => ‘group’) the problem just went away! So, the problem turned out to be a rewrite conflict. WordPress had been looking for … Read more

Creating a custom rewrite for a single page

Thanks to the help of the link provided by @q-studio I was able to determine the correct course of action. Firstly I setup an action to load the code in the init using the ‘init’ tags in an add_action(); within my functions.php file. add_action( ‘init’, ‘wpteaminfo_init’ ); Then i created the function to setup my … Read more