How to Set Up Parent and Child Pages in WordPress

Table of Contents

Below are all the correct ways to create a parent URL in WordPress, step-by-step

Method 1: Create Parent & Child Pages (Most Common)

Step 1: Create Parent Page

  1. Go to WordPress Dashboard

  2. Click Pages → Add New

  3. Enter page title (example: Services)

  4. Click Publish

Parent URL created:

example.com/services/

Step 2: Create Child Page

  1. Go to Pages → Add New

  2. Enter title (example: SEO Services)

  3. On the right sidebar, find Page Attributes

  4. Under Parent Page, select Services

  5. Click Publish

 Child URL becomes:

example.com/services/seo-services/

✔ This is the correct & SEO-friendly way

 Method 2: Set Parent Page for an Existing Page

If page already exists:

  1. Go to Pages → All Pages

  2. Hover on the page → Click Edit

  3. In Page Attributes, choose Parent Page

  4. Click Update

Method 3: Change URL Using Permalink Slug

  1. Edit the page

  2. Click on Permalink

  3. Add slug like:

services/seo-services

Not recommended unless you understand URL hierarchy
Better to use Parent Page option

Method 4: Parent Category URL (For Blog Posts)

For posts (not pages):

Create Parent Category

  1. Go to Posts → Categories

  2. Add category (example: Digital Marketing)

Create Child Category

  1. Add new category (example: SEO)

  2. Select Parent Category → Digital Marketing

 URL:

example.com/category/digital-marketing/seo/

Method 5: Parent URL in Custom Post Type (Advanced)

If using CPT (like services):

  1. Register CPT with rewrite

  2. Enable hierarchical => true

Example:

'hierarchical' => true,
'rewrite' => array('slug' => 'services'),
Facebook
Twitter
LinkedIn
Pinterest

Interested in website maintenance for your company.?We can help. 

RECENT FAQs