WordPress.org

Ready to get started?Download WordPress

Forums

Custom post parents and search engine friendly Url's (1 post)

  1. gazzwi86
    Member
    Posted 2 years ago #

    So I have a page with a custom template. The template queries a custom post type I have created. This was done so that we could get the parent pages Url
    eg. http://myurl.com/about/creatives

    The issue is, when I navigate to an individual item within the custom post type it looses the parent pages slug and becomes http://myurl.com/creatives/creative

    Is there a solution for this that would attribute the parent pages slug? Am I doing this the right way or should I use a category and mask the url?

Topic Closed

This topic has been closed to new replies.

About this Topic