How to set custom slug for core post type “post” and core taxonomy “category”?

Question

I am looking for solution to set specific slug for posts and categories.

I have default post type and taxonomies (category, tags).

Permalink settings – “/%category%/%postname%/”

I need slugs like:

Post:
/news/postname…(regardless of category name)

Category/tag:
/categoryname/

P.S.

I tried to set permalink “/news/%postname%/” and it solved problem with news but it added “/news/” preffix to another post types (custom).

P.S. 2

I tried to create custom post type and custom taxonomy but in this case post archive (calendar) doesnt work… I need calendar whith archive of posts and that’s why I’m using default post type.

Thanks for help!

0
, , , Eugene 3 months 0 Answers 44 views 0

Leave an answer