: How to add category in URL for Wordpress theme We are having trouble getting the category name into the URL. We want to use the following structure: example.com/knowledge-base/category-name/article-name
We are having trouble getting the category name into the URL.
We want to use the following structure:
example.com/knowledge-base/category-name/article-name
For some reason our wordpress theme (HelpGuru) is not pulling these changes through.
Is there any way to override the theme's settings and force the URL to include the Category?
More posts by @Sarah324
1 Comments
Sorted by latest first Latest Oldest Best
This is not an issue generated by the theme, in order to add categories into you URL you'll need to to change your URL structure. In order to do this you'll need to navigate to:
wp-admin => Settings => Permalink
Where you'll find a section like this:
By selecting the Custom Structure option you can modify your URL the way you want, for example:
Custom Structure - domain.com /%year%/%monthnum%/%postname%/
In this case, what you need is add the %category% to this input, for example:
Custom Structure - domain.com %category%/%postname%/
Please note: You never, ever put your site url in the permalinks slot. You must use one of the structure tags, or a combination of tags only.
You can use a variety of tags here, check them out on codex.wordpress.org/Using_Permalinks
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.