How Do I Create Subpages in WordPress?

Creating subpages in WordPress is a breeze. All you need to do is create a new post, and then add a “subpage” attribute to the post’s slug. Here’s an example:

My New Subpage

This is my new subpage.

It’s just a test page.

Go to the main page

.

The result of this simple markup will be a new page called “My New Subpage” that resides at the same URL as the original post. If you want to create a new subpage that is separate from the main content of the blog, you can use the same approach but add a second “title” attribute to the post’s slug:

My New Subpage Title

This is my new subpage title.

This will create a page called “My New Subpage Title” that is separate from the main content of the blog and has a different title than the original post.