0

I already have a 'custom structure' for my 'Posts', e.g. example.com/newsarchive, so my 'Posts' follow: example.com/newsarchive/welcometonovember

Now I am expanding and created a new custom post type called: Movies

I want the permalinks for these items to be:

example.com/moviearchive/favouritemoviepost

However, at the moment I am getting:

example.com/newsarchive/moviearchive/favouritemoviepost

How can I change that?

0

1 Answer 1

0

If you are not calling flush_rewrite_rules() in your activation hook, try it.

Not the answer you're looking for? Browse other questions tagged or ask your own question.