WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Child posts shows in the root of site (3 posts)

  1. AmeoCrisp
    Member
    Posted 2 years ago #

    Page "Program" is using a template I've created to show all posts that are in the category of the most recent post. The page is also added to the main menu of the site. But when I open the child post the url shows it is in the root, and not child of the page and category "Program". How does it work, where should I define child?

  2. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    posts are not children of any page;

    why do you want to show a hierarchy in the permalinks which does not exist?

    what are your permalink settings?

    http://codex.wordpress.org/Using_Permalinks

  3. AmeoCrisp
    Member
    Posted 2 years ago #

    I was thinking to structure content...

    Permalinks was set to Post name, I changed now to Custom structure: /%category%/%postname%/. Now it shows as I wanted, tnx a lot. :)

Topic Closed

This topic has been closed to new replies.

About this Topic