404 error on custom post type May 23, 2022 by Tarik Billa Removing 'query_var'=> false solved this. Thanks to @PedroCoitinho