By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
WPExpertPro
SUBSCRIBE
WPExpertProWPExpertPro
Aa
Search
Have an existing account? Sign In
Follow US
All Rights Reserved by Homethagan.
WPExpertPro > WP Plugins > How to Remove Parent Slug From Child Page URL in WordPress
WP Plugins

How to Remove Parent Slug From Child Page URL in WordPress

Homethagan
Last updated: 2022/08/16 at 6:12 AM
Homethagan 3 Min Read
Share
SHARE

In WordPress, do you want to delete the parent page slug from the child page url? WordPress prefixes child page URLs with the slug of the parent page by default, which is beneficial for SEO. The parent page slug may not be desired by everyone, though. This article will demonstrate how to change the URL of a child page in WordPress to remove the parent page’s slug.

Delete the parent page's slug from the child page's URL.

What does a WordPress Parent Page Slug mean?

Posts and pages are the two primary content kinds included with WordPress. Pages can have children because they are hierarchical. In WordPress, a child page’s URL will by default include the slug of its parent page, such as:

http://example.com/parent-page/child-page/

If the page structure on your website is hierarchical, this is a better approach to arranging the material. It makes sense for your users and is regarded as the best practice for WordPress SEO.

The URL may become broken if the parent page slug is removed, however some SEO professionals believe it also degrades its SEO friendliness. On sometimes, it might interfere with the WordPress permalink system.

In our opinion, the best course of action is to avoid creating a child page altogether if you don’t want the parent page slug in your child page URL. Instead, you can just make a page and indicate its placement within this page using the navigation menus.

adding menu items for children

We are aware that some users may still choose to use child pages for personal reasons, though.

In light of this, let’s examine an easy method for removing the parent page slug from a child page’s URL in WordPress.

Removing Parent Page Slug from Child Page URL in WordPress

First thing you need to do is install and activate the Custom Permalinks plugin. For more details, see our step by step guide on how to install a WordPress plugin.

The child page you want to update must be edited after activation. You can modify the child page URL by clicking the link under the page title.

the URL of the child page

The default URL for your page will be displayed in the placeholder box. To utilize a custom URL for your child page, you must click on it and input it.

unique page URL

To save your URL changes, don’t forget to save your page.

You may view your child page’s URL without the parent page slug by clicking the view page button once you’ve saved your modifications.

We trust that this post has shown you how to change the URL of a child page in WordPress to eliminate the parent page’s slug.

TAGGED: Remove Parent Slug, wordpress
Homethagan August 16, 2022 August 6, 2022
Share this Article
Facebook Twitter Email Copy Link Print
By Homethagan
Follow:
Hello, my name is Homethagan. This is my personal blog. It is focused on “building businesses online” where I share my journey and experiences with you. My goal is to create insightful and relevant content that you can put to work in your personal and professional life. If you have an online business — or want to have one, then this blog is for you.
Previous Article Why Can’t I Add or Install Plugins in WordPress?
Next Article How to Create Temporary Login for WordPress (No Passwords)

You Might Also Like

WP Plugins

How to Allow Your Users to Subscribe to Comments in WordPress

Do you wish to offer WordPress comment subscriptions to your…

6 Min Read
WP Plugins

How to Add a Login Form in Your WordPress Sidebar

Do you wish to add a login form to the…

7 Min Read
WP Plugins

How to Use GTMetrix Plugin to Improve WordPress Site Performance

Would you like to check the speed of your WordPress…

9 Min Read
WP Plugins

How to Create a Table of Contents in WordPress Posts and Pages

Would you like your WordPress posts or pages to have…

9 Min Read
Follow US

All Rights Reserved by Homethagan.

Welcome Back!

Sign in to your account

Lost your password?