Make Post Title as Child in URL

[ad_1]

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:

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:

Single post URL:

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! : )))

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer