• Hi, I need some help with this.

    I have one custom post type i.e. properties but I want to able to use permalink of /property/slug and then leased/slug, the same property will be in both locations, they will also have different templates.

    I have manually set up the links ( i.e. https://www.site.com/leased/slug) but wordpress is resolving them from what I presume is the slug to https://www.site.com/property/slug and rewriting the url.

    Do I need to add a add_rewrite_rule to my functions?

    I hope this is clear enough
    Cheers

Viewing 1 replies (of 1 total)
  • Set up the custom post type properties and use one category called leased and one category called property. You can also put them into both categories and then code your category theme pages based on the template hierarchy to display differently. Pretty straight forward stuff.

Viewing 1 replies (of 1 total)
  • The topic ‘one custom post type two urls’ is closed to new replies.