How to Remove Parent Slug From Child Page URL in WordPress? 2 Simple Methods – Best of 2021

Removing a Parent Slug can be challenging as slug which is a part of the URL of a website can be used as to be removed from the Child page URL.  As, When it comes to rank websites, permalinks are the first things that should come into your mind.

Permalinks are the permanent URLs of your individual weblog posts, as well as categories and other lists of weblog postings. The URLs also known as file paths. These paths are used largely in operating systems for representing the file and directory relationships.

Dealing with WordPress; seems to be interesting – As we all know that – the WordPress always comes with posts & pages as the content type. where posts are the articles posted by the admin of a WordPress site  and pages are like posts.

Whenever you will add a new page within the parent page’s tag, so the WordPress will consider it as a child page. However, this child page could be recognized easily by looking at the URL. We have noticed that most of the visitors might want to remove this parent slug from the child page URL as it could make it longer.

But, do you know – having the parent slug in permalink is the best thing for SEO. Search Engine Optimization is derived from the search engine as a service which allows all internet user to search for any content, query, and product throughout the world wide web.

Because it shows the hierarchical structure of a post or page. Still, a few people believe that it is not bad for SEO. If you want to redirect the old page (Parent Slug) to the new one (child page URL), this feature can be also disabled in future.

So, it’s possible to make compatible our plugin with WordPress Multiple Plugin. Usually, Parent page slug will be added to WordPress as a prefix of child page URL, which is beneficial for SEO. But, sometimes people don’t want to get parent slug in the URL. Thereafter, a question is arises – What Parent Page Slug is?

Hence, keep reading this guide as we will show you What is parent slug & How to remove parent page slug from child page URL in WordPress.

What is a Parent Page Slug in WordPress?

WordPress is having two main types of content such as – pages and posts. Pages – That are graded in a hierarchical manner. Means, they can have child pages. By default, In WordPress the child page’s URL having its parent pages’ slug in the URL like – http://abc.com/parent_page/child_page/.

However, it is the best way to recognize the content in case you are using hierarchical page structure on your site. Where a single item related to any content is known as the post. Further, it is reviewed (considered) liked practice for WordPress SEO, and it is a good manner to present for your users.

Possibly, removing parent slug can break the URL, even in the presence of expert opinion, it makes it less friendly with SEO. Sometimes it may the source of disagreement with the WordPress permalink structure.

In accordance with our knowledge skills, it is not necessary to you that parent page slug in your child page URL, then the best way does not create a child page at all. Alternatively, you can directly create a page and use it in navigation menus for showing the related content of under this page.

Menu structure
Remove Parent Slug From Child Page URL

However, you notice that the users are still want to use child-pages for their own reasons. Let’s see how we can remove or redirect the parent page slug from child page URL in WordPress.

Methods To Remove Parent Slug From Child Page URL in WordPress

Method 1: Via Custom Permalinks Plugin

The very first thing, you need to install and activate the Custom Permalink plugin. Take a look at how to install a Plugin in WordPress.

After the activation process, edit the child page that you want to change. Now, you’ll see the option to change the URL of child page under the web page title.

edit child page url
Remove Parent Slug From Child Page URL

However, the placeholder area will show yours at present web page’s default URL. Click on it and input the custom URL you need to make use of on your child page.

Custom page url
Remove Parent Slug From Child Page URL

Remember to save your page to save your URL changes.

At last, after saving your changes, tap on the view web page button to see your child page URL without parent page slug.

Method 2: Via Permalinks Manager

There is also a plugin that might help you for the same. This plugin can make a massive change to your site by adding new functionality to your WordPress site. Here, in this method, you also have to install and activate the Permalinks Manager plugin. To install the plugin – Follow the same process as we have discussed above.

After the activation process, you have to navigate to your WordPress admin dashboard and open the Tools>>Permalink Manager page that will open the setting of the plugin.

Thereafter, in the plugin’s settings page, enable the Add redirects for old URLs and remove duplicates option automatically. Where redirect is a technical word which is used to redirect one domain to another domain.

As if you have multiple domains pointing to the same website you’re using a different hosting provider and the registrar or you’re using WordPress Multisite with Domain Mapping.

After the enabling process, see the Disable Slug Appendix & choose the page option. Now, you will see that – the pages field will be empty, there is no slug mentioned in it.

As you wish to use the child slug only, but you should use the %postname_flat% in the permalink structure.

Remember to press the Save Changes button to store your changes,

Now that you have created the new permalink structure successfully, then you have to reflect the changes to your site’s existing pages.

Thereafter, go to the WordPress admin dashboard and visit the Permalink Manager settings. The admin dashboard is the dashboard for administrators where a WordPress administrator has full power over the site and can do everything related to the administration of the site.

Admin area is also known as the administration area in WordPress website where only an authenticated user can make changes. Generally, to access it, visit wp-admin directory in your web browser. The administrator is the only user role that has the ability to boost a WordPress blog. You can read our beginner’s guide to start blogging here.

They are capable of changing themes and edit core WordPress files by using the built-in theme editor. WordPress administrator can create more administrators, invite new users,  remove users, and change user roles. Here you will see the four different configuration tab, but you have to open the Tools tab for this settings.

In the tools tab, look out for the Regenerate/Rest segment & change the mode to Custom URLs. Then, choose the content type to post type. Now you have to activate the pages option. And in the Select Post Statuses section, choose the published status. Once you have done along with all the configuration, then you will have to press the regenerate button.

Finally, you have successfully removed the parent slug from your child page.

Permalink Manager Tools, Remove Parent Slug From Child Page URL in WordPress

Remove Parent Slug From Child Page URL

Should You Remove the Parent Slug?

If we talk about the page’s permalink, then the WordPress follows a hierarchical structure. However, this permalink structure is not only best for your site’s SEO, this will also help your users to search the parent of the current page.

You should know that – the permalink play the most important role to rank a site. By default, the WordPress provides the five various options to create the post or page’s permalink. However, there is the limitation of WordPress is – It does not allow its own users to edit the link once it has been published.

That’s All!

Conclusion

As you should know that, having the parent slug in permalink is the best thing for SEO. Because it shows the hierarchical structure of any pages or posts. But, some of the users want to remove the parent slug.

Hence, we have discussed the two way of removing the same. If you liked the content, then share it with your peers.

Hope this beginner guide for Remove Parent Slug From Child Page URL in WordPress & structure is helpful for you. In case of any related problem, contact our WordPress tech Support team now to get instant help. Dial +1-855-945-3219 (Toll-Free).

Some of our Popular Blogs:



Leave a Reply