How to Remove Parent Slug from Child Page’s Permalink

By default, WordPress adds parent page’s slug as a prefix to child page permalink which is good for search engine visibility. However, some web developers may not want parent page slug in the URL. So, let’s take a look at how to remove parent page slug from child page URL in WordPress.

What does a Parent Page Slug in WordPress mean?

WordPress comes with two main content types called posts and pages. Pages are hierarchical which means they can have child pages. By default, the URL of a child page in WordPress will have its parent page’s slug in the URL like:

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

This is a better way to organize content if you are using hierarchical page structure on your website. It is considered best practice for WordPress SEO, and it makes sense for your users as well.

Removing the parent page slug can potentially break the URL, but in some expert opinion, it also makes it less SEO friendly. Sometimes it may cause conflicts with the WordPress permalink structure.

If you don’t want parent page slug in your child page URL, you can simply create a page and use navigation menus to show that it belongs on this page.

However,  some users may still want to use child-pages for their own reasons.

That being said, let’s take a look at how to easily remove parent page slug from child page URL in WordPress.

Remove Parent Page Slug from Child Page URL

The first thing you need to do is install and activate the Custom Permalinks plugin.

Upon activation, you need to edit the child page you want to change. Under the page title, you will see the option to change the child page URL.

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

Don’t forget to save your page to store your URL changes.

After saving your changes, you can click on the view page button to view your child page URL without parent page slug.

Naina Roy

Naina Roy

Naina is a freelance writer.She specializes in best marketing practices and entirely fills in with deep research on cyberbullying, trolling, employee legal facts, social media and Instant messengers.
Naina Roy

Leave a Reply

Your email address will not be published.