Hi there,
I would like to set my WordPress permalink settings to custom structure "/blog/category/postname."
I would like this to NOT affect my Custom Post types, which right now have the permalink structure "/post-type/postname."
So blog posts would show up like this:
"/blog/magic-loop/switch-needles-on-magic-loop"
Whereas my Custom Post type Knitting Videos would show up like this:
"/knitting-video/knit-faster-on-magic-loop"
Can you advise me as to how to safely do this?
Thank you!
Hello,
There isn't such a built-in feature within Toolset Types plugin, you can add a feature request for it:
https://toolset.com/home/contact-us/suggest-a-new-feature-for-toolset/
Our developers will evaluate it.
And when you edit the custom post type, in section "Options", there is an option to setup static text in rewrite rule: Use a custom URL format
Thank you so much for this workaround. I will add the feature request.
I ran into one issue that did not allow me to implement this workaround. As I was changing all my Custom Post Types' and Custom Taxonomies' rewrite settings, I came across a Custom Taxonomy that did not allow me to save changes to it.
I got the error "You cannot use this slug because it is already used or a reserved word. Please choose a different slug."
However, this slug was already the existing slug when I went to modify the Custom Taxonomy. I'm not sure how it can be "already used" if that is the current slug.
Is there any way to track down where the conflict is? The slug is "my-classes" and it's a very important one to the structure of my site.
Thanks for any help you can provide.
Cheers,
Liat
Please check if there is any other page is using the same slug "my-classes".
If there is, then it will conduct the problem you mentioned above:
You cannot use this slug because it is already used or a reserved word. Please choose a different slug.
You will need to consider change the slug to something else, for example:
- my-classes-cpt
- my-classes-tax
Thank you, Luo. It didn't occur to me to look outside Types. Of course I had a page with the slug "my-classes." I was able to change that URL, save my Custom Taxonomy, and then change the page URL back.
Thank you for helping me get my permalinks exactly how I want them!
-Liat