WordPress.org

Ideas

Category Slug for Posts with specific categories

  1. gadgetcouncil
    Inactive

    I had to use multisite for this, which is resource intensive. I want to have category slug on specific categories, not all.

    Suppose I have 5 categories - A, B, C, D, E

    A and B are my main categories and I'd like the posts in those categories to have the category slug. So, it would be - domain.com/a/post

    But when I post to C, D or E, the URL should just be - domain.com/post

    Posted: 2 weeks ago #
  2. Adam Tran
    Member

    Hi Mohan,

    You can go to Settings, then click on Permalinks, choose Custom Structure, then changed to: domain.com/%category%/%postname%/
    Hope it helps.

    Posted: 2 weeks ago #
  3. Hello, this can solve by the plugin like custom permalinks
    https://wordpress.org/plugins/custom-permalinks/
    or anything else like this.

    Posted: 2 weeks ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.

  • Rating

    12345
    0 Votes
  • Status

    This is plugin territory

No tags yet.