Hi,
We have Custom Permalink Category-Base and Tag-Base configured. We have created Categories, Sub-Categories, and a Menu. We have Posts both in Category and Sub-Category.
When we hover over the Menu, it links to the Categories and Sub-Categories. That is fine. But when we open any Post, it does not show the Category-Base in the URL. It shows the URL in the following format:
https://domain-name.com/category-name/post-title/
Is it working fine? Shouldn’t it be like:
https://domain-name.com/category-base/category-name/post-title/
Or is it a theme issue? Or that’s how WordPress works and shows Category and Posts?
Hello,
Did you save the permalinks? Also, did have you set a custom format there-> https://wordpress.com/support/change-the-permalink-structure/#:~:text=Create%20a%20Custom%20Permalink%20Structure,-You%20can%20adjust&text=has%20been%20activated.-,From%20your%20dashboard%2C%20go%20to%20Settings%20%E2%86%92%20Permalinks.,you%20want%20them%20to%20appear?
Thank you!
Obviously we have save the Permalink. As mentioned earlier:
“We have Custom Permalink Category-Base and Tag-Base configured. We have created Categories, Sub-Categories, and a Menu. We have Posts both in Category and Sub-Category.”
We have Custom Structure: /%category%/%postname%/
We have customized Category-Base and Tag-Base also.
Hi,
If the permalinks are set to /%category%/%postname%/ and you are on an article that is part from a subcategory, then the link should be:
https://domain-name.com/parent-category/sub-category/post-title/
example – https://i.imgur.com/JnWU7bf.png – https://i.imgur.com/7RrZoPS.png
Thank you!
So, what’s the use of Category-Base? Any particular advantage or disadvantage of showing or not showing Category-Base along with Category and Blog Post Title?
And, it does not matter if both Category and Sub-Category have blog posts?
Is it possible to show the Category-Base also like:
https://domain-name.com/category-base/category-name/post-title/
Hi,
In my above example the main category and the subcategory and after that the article title are display. This is only a nice and good structure and it can help users to understand that the current article is part of a subcategory on a main category, but it is not a must to have this structure.
Thank you!
Hi Calin,
1) Any particular advantage or disadvantage of showing or not showing Category-Base along with Category and Blog Post Title?
2) Is it possible to show the Category-Base also like:
https://domain-name.com/category-base/category-name/post-title/
Hi Cloud Hosting,
Just a simple user here, but hope these answers will help you.
What’s the use of Category-Base?
As mentioned on the “Permalinks” admin page, the category base is used only for links specific to category archive pages, not to single posts: https://prnt.sc/PHuWkYZb02TC
The default WP link structure for a category archive page is “/category/category-name/”.
If you prefer a different base instead of “/category/”, then you can place a custom term in that section. For instance, your category archive pages could be “/news/category-name/”.
For single posts, the links include only the category name, without the category base.
Is it possible to show the Category-Base also like: https://domain-name.com/category-base/category-name/post-title/?
If you want to display the category base in the single post link as well, you can set that base directly in the “Custom Structure” section: https://prnt.sc/zD7ceyJs0nbP
Any particular advantage or disadvantage of showing or not showing Category-Base along with Category and Blog Post Title?
It depends on each case whether your link structure could affect your website’s SEO.
You could probably check out this article which can help you make the right decision:
https://www.wpbeginner.com/wp-tutorials/seo-friendly-url-structure-for-wordpress/
Hi Cloud Hosting ,
1. Show Category Base – Pros & Cons
Advantages:
Prevents URL conflicts.
Clear content structure.
Safe and SEO-stable (default WordPress behavior).
Disadvantages:
Longer, less clean URLs.
Slightly less user-friendly.
Removing it gives cleaner URLs but risks slug conflicts and requires plugins or custom code.
2. Can You Show This URL Format?
Yes – WordPress supports this:
https://domain.com/category-base/category-name/post-title/
Go to Settings > Permalinks.
Use structure: /%category%/%postname%/
Set a custom Category base (like topics or blog) under “Optional” – https://i.imgur.com/U5WNNGm.png
Result:
https://domain.com/topics/tech/how-to-speed-up-wordpress/
Hi Calin,
As mentioned earlier, we already have the Category-Base, Category, Sub-Category, and Post Titles.
When we view the Post, it does NOT show the Category-Base. It only shows the Category-Name, Sub-Category Name, and the Post Title, like this:
Hi Cloud Hosting, maybe you have something that is interfering, because for me is working, I set the “Category base” – and I saved the permalinks – https://i.imgur.com/8j68ITx.png now when I go on a category the link is like this – https://i.imgur.com/Eft6I95.png also on a subcategory – https://i.imgur.com/gI975nh.png so it should be the same for you (please notice that the “Category base” will be apply only on categories if you’ll go on articles will no longer work like that, this is how it’s works with a default theme from WordPress).
Thank you!
Thank you Calin.
That was our very first question, whether it is the default functioning or something is not working. Category and Sub-Category were showing perfectly fine. It was only Posts for which we had a question.
That has now been answered by you and mottoyou.
Hi,
The following elements are not clear in their implementation:
Column Text
Text with Title
Inline Text
Column Content
Column Title
Is there any reference where we can find the use case and where to use which of these elements with example?
Hi,
The “Column Text” if providing on page/template the classic editor (as is the classic editor on backend one articles – https://i.imgur.com/1OBKPpR.png – like – https://i.imgur.com/cdkzOzH.png
The element Text with Title is the same as Column Text but provides the title incorporate in the element – https://i.imgur.com/Py8es61.png
The element “Inline Text” will display only text and the initial settings for display the element is inline to the other elements – https://i.imgur.com/tQ6c0pz.png
Thank you!
Column Text also has a title like Text with Title. So, what’s the difference and the use case?
Hi,
It seems that after the last updates to the theme, the Column text and title element was added and most likely it was done when the “display restrictions” section was added. This can be used with the opt-n builder plugin to set restrictions (for example, you have text that you want to be visible only to users who have purchased a certain plan), or you can use the option to hide the column text if the user is not logged in. This options are available only on column text.
https://i.imgur.com/HiE9AYN.png – https://i.imgur.com/tQJHRtI.png
Thank you!