Change permalinks of custom post type ‘question’ as post id or any random number once July 1, 2022 by Tarik Billa If you need a easy solution, you can try out the Custom Post Type Permalinks plugin. Hope this helps.