WordPress.org

Ready to get started?Download WordPress

Forums

Prevent URL From Being Based Off Certain Categories? (1 post)

  1. newyorkcity
    Member
    Posted 1 year ago #

    When creating a new post, typing in a title + selecting a category will generate the pages URL:

    Title: Post Name
    Category: Category1
    URL: site.com/category1/post-name

    I have a "Featured" Category that will add the featured image of the post to an image slider.. so for category I have to select 2 Categories:

    Title: Post Name
    Category: Category1, Featured
    URL: site.com/category1/post-name

    What I'm trying to do, is prevent the "Featured" category from ever altering the URL incase its selected Before Category1 so the URL does not ever become:

    site.com/featured/post-name.

    How do I do this?

Topic Closed

This topic has been closed to new replies.

About this Topic