How one can Take away Dad or mum Slug From Kid Web page URL in WordPress

by | Nov 20, 2023 | Etcetera | 0 comments

Are you wondering how to remove the mum or father internet web page slug from a child internet web page URL in WordPress?

By way of default, WordPress supplies the mum or father internet web page’s slug as a prefix to toddler internet web page URLs, and that is superb for SEO. Alternatively, some other folks won’t want the mum or father internet web page slug throughout the URL.

In this article, we will be able to show you techniques to remove the mum or father internet web page slug from a child internet web page URL in WordPress.

How to Remove Parent Slug From Child Page URL in WordPress

What Is a Father or mother Internet web page Slug in WordPress?

Your WordPress site comes with two number one content material subject material types referred to as posts and pages.

Pages are hierarchical, as a result of this they are able to have little one pages. The ones toddler pages are relying on their mom or father pages and maximum continuously quilt subtopics related to the mum or father.

For example, you’ll have a ‘Products’ mom or father internet web page with ‘Pricing’, ‘Strengthen’, and ‘Choices’ toddler pages.

By way of default, the URL of a child internet web page in WordPress may have its mom or father internet web page’s slug throughout the URL. Proper right here’s an example:

See also  What Is a Possibility Review? My Whole Information [+ Free Template]

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

Using URLs like this is one of the best ways to prepare content material subject material within a hierarchical internet web page development to your web site. The ones URLs are considered highest conceivable follow for WordPress Search engine marketing and will make sense to your consumers once they be informed them.

It’s maximum continuously not a good idea to remove the mum or father internet web page slug. It will in all probability potentially ruin the URL, and a couple of experts consider it’s a lot much less Search engine marketing-friendly. Every now and then, it’s going to even function conflicts with the WordPress permalink development.

In our revel in, if you happen to don’t want a mom or father internet web page slug to your toddler internet web page URL, then the most productive means isn’t to create a child internet web page the least bit. As an alternative, you’ll simply create a standard internet web page and use a navigation menu to show that other pages belong underneath that internet web page.

Adding Child Items to a Menu

Alternatively, we keep in mind that some consumers may nevertheless need to use toddler pages and not include the mum or father internet web page slug all through the URL.

That being said, let’s take a look at how you’ll merely remove the mum or father internet web page slug from a child internet web page URL in WordPress.

Disposing of Father or mother Internet web page Slug From Child Internet web page URL in WordPress

The first thing you want to do is ready up and switch at the Customized Permalinks plugin. For added details, see our step-by-step data on how you can set up a WordPress plugin.

See also  8 Guidelines for Writing An Efficient and Compelling E-mail

Upon activation, you want to edit the child internet web page that you want to change. Beneath the content material subject material space, you’ll see a ‘Custom designed Permalinks’ field where you’ll trade the child internet web page URL.

Change child page URL

The permalink field will show your internet web page’s provide default URL. You merely need to click on on it and enter the custom designed URL you want to use on your toddler internet web page.

In our example, the hollywood-boulevarde internet web page is a child internet web page ofputs, so the default permalink is puts/hollywood-boulevarde.

We deleted the puts mom or father slug from the URL, as you’ll see throughout the screenshot underneath.

Custom page URL

Don’t disregard to click on at the ‘Change’ button to save lots of a number of your internet web page and store your URL changes.

After saving your changes, the plugin will routinely redirect the former permalink to the new handle. This means your visitors received’t see a 404 error within the match that they click on on a link or bookmark to the internet web page’s earlier handle.

When you view the child internet web page, you’ll now take into account that its URL does not include the mum or father slug.

Our Highest Guides on Pages and Child Pages

Now that you understand how to customize a child internet web page’s URL in WordPress, it’s conceivable you’ll need to be informed additional about how you’ll use pages and toddler pages in WordPress:

See also  Get a FREE Toy Retailer Format Pack for Divi

We hope this newsletter helped you learn how to remove the mum or father internet web page slug from a child internet web page URL in WordPress. You might also need to see our data on how you can create a customized web page in WordPress or our professional possible choices for the best possible drag and drop web page builder plugins for WordPress.

While you appreciated this newsletter, then please subscribe to our YouTube Channel for WordPress video tutorials. You’ll be capable to moreover to search out us on Twitter and Fb.

The post How one can Take away Dad or mum Slug From Kid Web page URL in WordPress first gave the impression on WPBeginner.

WordPress Maintenance

[ continue ]

WordPress Maintenance Plans | WordPress Hosting

read more

0 Comments

Submit a Comment

DON'T LET YOUR WEBSITE GET DESTROYED BY HACKERS!

Get your FREE copy of our Cyber Security for WordPress® whitepaper.

You'll also get exclusive access to discounts that are only found at the bottom of our WP CyberSec whitepaper.

You have Successfully Subscribed!