permalinks - Separate link structure for specific posts (blogglossary in stead of just blog)

admin2025-06-04  5

I would like to create the following link structure:

my.domain/blog/'postname': this is the standard structure for blog posts my.domain/blog/glossary/'postname': this is a separate structure for specific posts

'blog' is the main category for both types of posts and 'glossary' could be a second category or a tag (whichever works best for what I'm trying to accomplish).

How can this be done?

Thanks!

I would like to create the following link structure:

my.domain/blog/'postname': this is the standard structure for blog posts my.domain/blog/glossary/'postname': this is a separate structure for specific posts

'blog' is the main category for both types of posts and 'glossary' could be a second category or a tag (whichever works best for what I'm trying to accomplish).

How can this be done?

Thanks!

Share Improve this question asked Jan 4, 2019 at 15:37 JiverJiver 213 bronze badges 2
  • Create a separate custom post type called "glossary" and set with_front to true. – Jacob Peattie Commented Jan 4, 2019 at 15:48
  • Thank you. Isn't true the default setting for with_front? – Jiver Commented Jan 4, 2019 at 16:25
Add a comment  | 

2 Answers 2

Reset to default 1

I just found out that what I want can be easily accomplished by creating a category 'glossary' which is a subcategory for 'blog'.

You can try using Custom Permalinks. It enables you to assign custom permalinks for specific posts. Follow these steps:

  1. Install and activate Custom Permalink.
  2. Go to the post where you want to use custom permalink.
  3. In the Permalink field, type in your custom URL. You can even include the "/" character to replicate a folder structure.
  4. Finally, save the changes.
转载请注明原文地址:http://conceptsofalgorithm.com/Algorithm/1749041305a315857.html

最新回复(0)