How to create a subpage in WordPress

Loading

WordPress can create a hierarchical structure, that is, a page can have subpages. In this article, we will show you how to create subpages in WordPress.

Animal repellent with a loudspeaker and control unit
Repellents (or deterrents) are chemical substances, mixtures, or electronic and mechanical devices designed to repel or deter unwanted animals, insects and other pests, or prevent their access to a defined area. Their main purpose is to protect human dwellings, gardens, crops or property in a humane way, without the need to kill or injure the animal. They work by creating unpleasant stimuli that prompt pests to leave the protected area voluntarily.

What is a subpage?

Posts and pages are two different types of content. Posts should be part of a blog. They appear with the newest first and are organized using categories and tags.

Pages form separate content that is not part of the blog. Examples include About Us or Contact pages. Pages can be hierarchical, meaning you can set parent pages and child pages.

How to create a subpage?

To create a subpage, you must first create a parent page. If that is the case, you can continue.

First go to the WordPress administration to Pages → Create page. In the right column, find a box called Page Attributes.

Parent page

It contains a Parent page item. If you want to set the page you created as a subpage, simply select an existing page from the list and save everything.

Note that the URL of the subpage is changed and a slug of the parent page is inserted before the SLUG of the created page.

If you go to the list of all pages in the administration under Pages → All Pages, you can see the hierarchical structure displayed here too.

Hierarchical structure of pages in administration

The hierarchical structure of pages in WordPress does not end at the first level. Sub-pages can also have other child pages set, etc. So you can work with the hierarchy as you need.

Advertisements
AliExpress

Leave a Reply

Your email address will not be published. Required fields are marked *