Changing permalink for tags (3 posts)

  1. Scorpiono
    Posted 3 years 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
    Posted 3 years 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
    Posted 3 years ago #

    Thank you!

Topic Closed

This topic has been closed to new replies.

About this Topic