Hi @polyplugins,
WordPress requires that all custom post types pages are preceded with a fixed slug.
The KB slug is set with the main Knowledge base page. You can change that if needed but it will apply to all the URLs:
http://www.your-domain.com/kb-slug/plugin-1/
http://www.your-domain.com/kb-slug/plugin-2/
I hope this answers your question!
Sorry I should have given more info. It shouldn’t have to do this for articles though correct?
Example
domain.com/documentation/plugin-1/getting-started/
domain.com/documentation/plugin-2/getting-started/
Currently I can not create 2 getting started sections even though I am under a different knowledgebase. If I try to do this, it changes it from /getting-started/ to /getting-started-plugin-2/
-
This reply was modified 5 years, 1 month ago by
Poly Plugins.
Hi,
that is how WordPress permalinks work. You cannot have two posts with the same slug. It is in fact WordPress that automatically adds the number after the slug if there is already a post with the same slug.
What you can do is prefix or suffix the slug:
domain.com/documentation/plugin-1/p1-getting-started/
domain.com/documentation/plugin-2/p2-getting-started/
Hi,
implementing this is not as trivial as it may seem.
We have not long ago rebuilt the logic for the permalinks and it is not possible to just change it again without risking to break other features.
I’ll add this the feature request but I cannot guaranty that it can be done or when it would be done.
I hope you understand!
Awesome thank you! Would love to use this!
Also I was able to migrate WeDocs to your plugin, but I had to use the Permalink Manager Pro plugin to get the urls the way I wanted. It was very cumbersome, but I have it where I like it now.