Remove unwanted part of permalink custom structure from CPT url?

You need to set the ‘with_front’ parameter in the rewrite argument for the custom post type to false.

'rewrite' => array('slug' => 'reports', 'with_front' => false)

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)