Permalinks are great for making the current url of an article or page reflect the context.
WordPress has it’s own built in permalink options, available from the WordPress dashboard under Settings > Permalinks. You can read more about permalinks here.
For those with Heroic Knowledge Base powered products, you can configure the ‘slug’, the unique part of the permalink that identifies the knowledge base section from Knowledge Base > Settings > Slugs.
If there are issues with a custom Knowledge Base slug, this is usually because there is a conflict with another slug, post or taxonomy . It is recommended you visit the url of the new slug – eg. yoursite.com/your-new-kb-slug before you change the slug to verify that a page doesn’t already occupy this permalink. A 404 page will indicate it is safe to use this new slug.
If you want a more advanced configuration, such as using an article category name in an individual article permalink (WordPress only provides support for it’s own in-built categories from the permalink options) you can do, but will need to make use of additional plugins, detailed below.
Using article category names in permalinks
Using the Custom Post Type Permalinks plugin, additional options are available from Settings > Permalinks.
Upon activation of the Custom Post Type Permalinks plugin, navigate to the Permalink Setting for custom post type section and set the ht_kb permalink to /%ht_kb_category%/%postname%/, will add the article category. Click save. Note that the kbpart is the slug set in the Knowledge Base > Settings > Slugs. Your Knowledge Base article permalinks will then include the knowledge base categories in the url.
Removing the Knowledge Base slug completely
If you want to remove the knowledge base slug completely and just use the article title as the permalink, you can use Remove Slug from CPT plugin. It has been reported that this approach may not work on subpages/subarticles.