Title: Same slug
Last modified: November 22, 2020

---

# Same slug

 *  Resolved [Poly Plugins](https://wordpress.org/support/users/polyplugins/)
 * (@polyplugins)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/same-slug-2/)
 * When using documentation for multiple products you can’t use the same slugs for
   example plugin-1/faq and plugin-2/faq. Is there a way to fix this? I believe 
   this is a limitation of WordPress, but didn’t know if this plugin took this into
   account and had a solution.

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [BasePress](https://wordpress.org/support/users/codesavory/)
 * (@codesavory)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/same-slug-2/#post-13694318)
 * Hi [@polyplugins](https://wordpress.org/support/users/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-1/)
   
   [http://www.your-domain.com/kb-slug/plugin-2/](http://www.your-domain.com/kb-slug/plugin-2/)
 * I hope this answers your question!
 *  Thread Starter [Poly Plugins](https://wordpress.org/support/users/polyplugins/)
 * (@polyplugins)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/same-slug-2/#post-14297206)
 * 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](https://wordpress.org/support/users/polyplugins/).
 *  Plugin Author [BasePress](https://wordpress.org/support/users/codesavory/)
 * (@codesavory)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/same-slug-2/#post-14297947)
 * 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/
 *  Thread Starter [Poly Plugins](https://wordpress.org/support/users/polyplugins/)
 * (@polyplugins)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/same-slug-2/#post-14301556)
 * WeDocs is able to do this. I believe they are doing it by using pages because
   WordPress considers child page slugs to be unique. Is this something that could
   be implemented or if I add in this functionality would you accept a PR? I like
   y’alls plugin more, and this helps with SEO.
    -  This reply was modified 5 years, 1 month ago by [Poly Plugins](https://wordpress.org/support/users/polyplugins/).
    -  This reply was modified 5 years, 1 month ago by [Poly Plugins](https://wordpress.org/support/users/polyplugins/).
    -  This reply was modified 5 years, 1 month ago by [Poly Plugins](https://wordpress.org/support/users/polyplugins/).
 *  Plugin Author [BasePress](https://wordpress.org/support/users/codesavory/)
 * (@codesavory)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/same-slug-2/#post-14302116)
 * 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!
 *  Thread Starter [Poly Plugins](https://wordpress.org/support/users/polyplugins/)
 * (@polyplugins)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/same-slug-2/#post-14303333)
 * Awesome thank you! Would love to use this!
 *  Thread Starter [Poly Plugins](https://wordpress.org/support/users/polyplugins/)
 * (@polyplugins)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/same-slug-2/#post-14303467)
 * 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.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Same slug’ is closed to new replies.

 * ![](https://ps.w.org/basepress/assets/icon-256x256.gif?rev=2817400)
 * [Knowledge Base documentation & wiki plugin - BasePress Docs](https://wordpress.org/plugins/basepress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/basepress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/basepress/)
 * [Active Topics](https://wordpress.org/support/plugin/basepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/basepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/basepress/reviews/)

## Tags

 * [permalink](https://wordpress.org/support/topic-tag/permalink/)
 * [slug](https://wordpress.org/support/topic-tag/slug/)
 * [url](https://wordpress.org/support/topic-tag/url/)

 * 7 replies
 * 2 participants
 * Last reply from: [Poly Plugins](https://wordpress.org/support/users/polyplugins/)
 * Last activity: [5 years, 1 month ago](https://wordpress.org/support/topic/same-slug-2/#post-14303467)
 * Status: resolved