How to Remove Parent Slug From Child Page URL in WordPress

Would you like to remove the parent page slug in WordPress from child page url? By default, WordPress adds the slug of the parent page to child page URLs as a prefix that is good for SEO. Some people may not want to slug the parent page in the URL, however. In this article we’ll show you how to remove the parent page slug in WordPress from the child page URL.

What is a Parent Page Slug in WordPress?

WordPress has two main types of content called posts and pages. Pages are hierarchical, meaning that they can have pages for children. By default, the URL of a child page in WordPress will have the slug of its parent page in the URL like: http:/example.com/parent-page/child-page/This is a better way to organize content when you use a hierarchical page structure on your site. It is considered best practice for WordPress SEO and it is also meaningful for your users. The removal of the parent page slug may break the URL, but it also makes it less SEO friendly in some experts ‘ opinion. Sometimes it can create conflicts with the permanent WordPress structure.

In our experience, if you don’t want a sluggish parent page in your child’s page URL, the best approach is not to create a child’s page. You can simply create a page and use browser menus to show that it below this page.

We understand, however, that some users may still like to use children’s pages for their reasons. In other words, let’s look at how parent page slug can be easily removed from child page URLs in WordPress.

Removing Parent Page Slug from Child Page URL in WordPress

You must first install and activate your Custom Permalinks plugin. See our step- by- step guide on installing a WordPress plugin for further details. When you activate, you need to edit the child page you want to edit. Under the title of the page, you will see the option to change the URL of the child page.

The placeholder area will show the current default URL of your page. You must click on it and enter the custom URL you want your child’s page to use.

Do not forget to save your page to save the changes in your URL. After you save your changes, you can click the view page button to view the URL of your child’s page without slugging the parent page. We hope that this article has helped you learn how to remove parent page slug in WordPress from child page URL. You might also like to see our list of the best WordPress drag and drop page building plugins.

Add a Comment

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