check url rewrite on code example Example: cpt url rewrite 'rewrite' => array('slug' => 'projects','with_front' => false),