custom post single page September 19, 2022 by Tarik Billa You can flush the rewrite rules with this code flush_rewrite_rules();