I'm using a us/news/%postname%/ structure for my permalinks. This works great for regular posts.
However, I have a few different custom post types, and I don't want the us/news part in their slug.
How do I have it both ways?
|
I'm using a us/news/%postname%/ structure for my permalinks. This works great for regular posts. However, I have a few different custom post types, and I don't want the us/news part in their slug. How do I have it both ways? |
|||
|
|
|
You can do this by setting E.g.
Reference - |
|||
|
|
|
You could change your permalink structure to If you don't always want US in the URL, I suppose you could make a US category as a parent, then add the News category to it as a child. You'd have to duplicate for every country though. So you'd have to have UK -> News, then CA -> News, etc. |
|||
|
|