• Resolved niel

    (@nielfernandez)


    Hi, How can I make the blog post as a child appear in the URL?

    I have no idea about this, and This is heck but thank you to your time for helping me.
    Reference: https://www.screencast.com/t/tQqX0sFz

    The blog post should be like:

    From
    https:// < domain > .com/titlePost

    To
    https:// < domain > .com/blog/titlePost

    • This topic was modified 2 years, 7 months ago by niel. Reason: more clear
    • This topic was modified 2 years, 7 months ago by niel. Reason: additional info
    • This topic was modified 2 years, 7 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Developing with WordPress topic

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Manually stick the /blog/ in your permanent structure (followed by the post name) at SETTINGS => PERMALINKS.

    Thread Starter niel

    (@nielfernandez)

    Look it does not work: https://www.screencast.com/t/PCv8hxkI4P

    When I click the single page the URL displayed as FROM example above
    : https:// < domain > .com/titlePost

    What I need to achieve is like this
    : https:// < domain > .com/blog/titlePost

    Any more idea?

    Let’s be clear with our terminologies.

    Are you referring to a WordPress POST or PAGE?

    PAGEs are hierarchical. So a page will always be at example.com/page, unless it’s a child page (child pages take on their parent page’s slug eg example.com/parent/child).

    For POSTs, the instruction I gave above certainly works. Check the links below for an example setup I just created to demonstrate this.

    Homepage URL: https://zohiru.us6.instawp.xyz/

    Single post URL: https://zohiru.us6.instawp.xyz/blog/cloned-local-array/

    Permalink setting /blog/%postname%/

    If this is not working on your site, then something on your site or server (I can’t say what!) is messing with core WordPress functionality and breaking this custom permalink structure.

    Thread Starter niel

    (@nielfernandez)

    Hi, Thank you this is very appreciated! : )))

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Make Post Title as Child in URL’ is closed to new replies.