Skip to content

URL Rewriting Knowledgebase docs

Mayeenul Islam edited this page Jun 6, 2017 · 3 revisions

After Issue #20 we were informed that, the Knowledgebase (KB) Doc URLs were acting like below:

http://example.com/knowledgebase/{document-url}

But the user did nest the article under KB Category and might be under one or multiple sub-categories. So the user's desired URL structure was:

http://example.com/knowledgebase/{category}/{sub-category}/{document-url}

After version 0.4.0 the feature was introduced.

So the following checkbox (Add Categories to the URL) will enable the feature:
kb-url-rewrite

The URL rewrite will enable n numbers of KB Categories nesting before a {document-url}:

http://example.com/knowledgebase/{category-1}/{document-url}
http://example.com/knowledgebase/{category-1}/{category-2}/{document-url}
http://example.com/knowledgebase/{category-1}/{category-2}/.../{category-n}/{document-url}

But Red Alert:

⛔ CAUTION ⛔
Changing public URL might lead huge amount of 404 errors, and can affect SEO, if not properly redirected.

So, if you use the feature, use it before it's too late, or take proper action to redirect KB Document URLs to the newly created URLs.

Above all, use it with caution.