WordPress.org

Ready to get started?Download WordPress

Forums

Changing permalink for tags (3 posts)

  1. Scorpiono
    Member
    Posted 1 year ago #

    Hello fine folks,

    I have a custom post type called "tees" where I list my t-shirts. It's different from the classic posts.
    Tags assigned to "tees" go by the permalink http://www.mysite.com/teetag/awesome-tshirt

    I can't seem to find where to customize from /teetag/ to something different.

    Any suggestions?

  2. cubecolour
    ɹoʇɐɹǝpoɯ
    Posted 1 year ago #

    You can rewrite the CPT's slug by setting the rewrite argument in the register_post_type() function

    for details of this, see http://codex.wordpress.org/Post_Types#URLs_of_Namespaced_Custom_Post_Types_Identifiers

  3. Scorpiono
    Member
    Posted 11 months ago #

    Thank you!

Topic Closed

This topic has been closed to new replies.

About this Topic