Setting Up Parent Pages in WordPress

Written By Minh

Last updated 1 day ago

In WordPress, pages can be organized into a parent-child hierarchy. This lets you create sections on your site without using categories (which only exist for posts, not pages). For example:

yoursite.com/home/services/my-page-slug

  • home = parent page

  • services = child page acting as a section

  • my-page-slug = the published page

This is useful for organizing content into sections, enabling breadcrumb navigation, and helping search engines understand how your pages are related.

How to Set It Up

  1. In your SEOmatic project, go to the field editor and open the Advanced Fields section.

  2. Find the Parent field and select the WordPress page you want as the parent. All pages generated from this project will be published under that parent.

  3. Set up the rest of your template, generate your content, and publish as usual.

Tips

  • The Parent field shows existing pages from your WordPress site. The parent page must already exist before you can select it.

  • To publish pages under different parent pages, create a separate SEOmatic project for each parent. For example, one project for "Services" pages, another for "Locations" pages.

  • Parent pages only work with the WordPress Pages post type. Posts use categories, which is a different system.

  • If your theme supports breadcrumbs (or you use an SEO plugin like Yoast or Rank Math), the parent-child relationship will automatically show in your breadcrumb navigation.