• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

CPT & Custom Taxonomy URL structuring

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › CPT & Custom Taxonomy URL structuring

This topic is: resolved

Tagged: CPT, URL

  • This topic has 2 replies, 1 voice, and was last updated 12 years, 7 months ago by vajrasar.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • June 11, 2013 at 3:22 am #45190
    vajrasar
    Member

    for a recent project I had to make a CPT titled 'classifieds'. Then I created 'classifieds-category' and 'classifieds-tags' custom taxonomies.

    Now the problem is, the URLs are as follows ->

    • CPT Archive -> xyz.com/classifieds
    • Custom taxonomies -> xyz.com/classifieds-category/gadgets
    •                                              -> xyz.com/classifieds-tags/to-sell
    • Post in CPT -> xyz.com/classifieds/Sell-my-iPad

    Whereas we want the URLs as ->

    • Custom taxonomies -> xyz.com/classifieds/classifieds-category/gadgets
    •                                          -> xyz.com/classifieds/classifieds-tags/to-sell
    • Post in CPT -> xyz.com/classifieds/gadgets/Sell-my-iPad

    How can I achieve the desired URL structure? I looked into 'with_front' and 'hierarchical' in rewrite rules with hope, but no success.

    Code of CPT ->

    Code of Custom Taxonomies ->

    https://gist.github.com/5755598.git


    I make WordPress websites using Genesis Framework.

    WordPress/Genesis Development | Customizations

    June 11, 2013 at 3:25 am #45194
    vajrasar
    Member

    Ps. Code of custom taxonomies ->

    https://gist.github.com/anonymous/5755598


    I make WordPress websites using Genesis Framework.

    WordPress/Genesis Development | Customizations

    June 13, 2013 at 5:34 am #45642
    vajrasar
    Member

    I somehow managed to achieve following URLs

    - CPT Archive - xyz.com/classifieds

    - Custom Taxonomy - xyz.com/classifieds/automobiles

    - Single Post - xyz.com/classifieds/automobiles/Sell-My-Benz

     

     

    If anybody can please tell me I did the right thing in this whole procedure. Thanks a ton.


    I make WordPress websites using Genesis Framework.

    WordPress/Genesis Development | Customizations

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble