You may not like this answer, but it’s a quite simple, and probably most recommended. Don’t set these pages as child pages.
There are numerous ways of getting pages to list out in a child-like order – WP Menus.
Use that instead, and you will cause less stress on your WordPress installation – having to set and forget things is much worst than setting them somewhere else.
The only downside would be organization in the back end, but you can either customize the List Table, or create a custom post type to hold all your products in their own area.
Related Posts:
- Remove parent slug for child pages
- Change author slug and functionality
- How can I add a page’s ID to its permalink using WP_Rewrite?
- Share same Slug for a Custom Post Type and 2 Taxonomies
- wordpress how to replace url /bar with foo/bar for custom post type
- Bulk append URL (add word to slug)
- add_rewrite_rule – Page Slug from “/foo-bar/” to “/foo/bar/”
- Custom child page permalink
- Need help with add_rewrite_rule
- How do I add /blog/ as a prefix to permalink structure for blog posts, tag pages, etc.?
- Permalink format: singular or plural
- How to get pretty URLs with add_query_arg in permalinks
- Custom post type permalink endpoint
- Removing the redirect after changing a page’s slug
- Must slugs be unique?
- How does wordpress keep track of post id when post id is not used in permalinks?
- Prevent WordPress from abbreviating-long-slugs…-in-the-admin
- URL rewrite based on a custom field value
- Why don’t WordPress post slugs allow accents?
- How to change author base without front
- How to create a permalink structure for posts in a specific category
- How to map permalinks with accented letters to sanitized slugs?
- Prepend meta_value to permalink of post
- Add custom directory in URL
- Using two permalinks for one post
- Custom rewrite rules for a $_GET request
- Put post ID on the custom post type URL
- Random Alphanumeric Key URLs
- Change permalink for a single post entry
- Remove the Parent category from the permalink but leave the child category
- Rewrite URL for results of a custom WP_Query
- Apostrophe in permalink results in page not found
- custom permalink/shortlink with base62 encoded post ID
- Change permalinks with ACF values
- How to generate random numeric slugs for a custom post type?
- template_include not loading -instead goes to index.php
- Share parent path between Custom Post Types and Pages?
- Multilanguage URLs
- Filter string like a slug
- I need a custom permalink for my website
- Attachment Page Permalink/URL Rewrite Issue. How to change the actual rewriting?
- Does changing a post title of a published post automatically change permalink?
- Remove custom taxonomy base from URL
- Add custom post type name in term link?
- Editing URL character replacement
- Force wordpress to display page with same url structure as categories
- How can i have a custom post type with more slugs for each post?
- URL rewriting: removing the site’s basename for a specific category
- How can I get this custom post type permalink structure? %custom_post_type%-%taxonomy%-%term-postname%
- get_permalink returning site home url instead of the url of slug being passed
- Rewrite rule intended for CPTs gives 404 for pages
- Unable to get /%postname%/ permalinks working, 404 on all links
- Permalink structure between 2 custom post types and a taxonomy
- Pre-populate Slug / Permalink with URL
- 404 error using Meta for Permalink rewrite
- Disable date based archives for all categories except one
- How to rename ‘Tag Base’ with WPeC 3.8?
- Custom rewrite rule ignored
- mod-rewrite exception? keep #hash in matching urls?
- How to handle paging/pagination with a custom permalink?
- Remove parent page from url
- How to Custom Edit Post Title & Permalink Slug?
- Custom URL rewrites for templates
- How to change custom post type, blog post and page permalink by template?
- Access or edit custom generated permalinks with WP_Rewrite
- optional parameter in permalink structure
- Custom permalink structure with %postname% in front of domain name
- How to get raw unwritten querystring
- All in One Seo and Permalinks
- rewrite based slug standar post wp
- assets aren’t loading on a page but loads on others? slug permalink conflict?
- remove SLASH on single_post but KEEP on categories and parent pages
- Adding a ‘blogs’ prefix in the URL structure but only for blogs
- How do I use the same Tag slug for different Tags?
- Extra url paths as variable
- How to create a standard WP Page that has the same url as an archive
- Add slug to default post permalinks ONLY
- a way to support totally different url structure
- Pretty Filter URL
- How to change URL of my pages?
- Removing or hiding slug/permalink from htaccess
- Automatically remove repeated words in slug
- Dynamically populate permalinks
- Converting WP Page to use full explicit paths?
- Prevent guessing slug
- Once redirected by Rewrite rules, how can WordPress know the page?
- Customize category permalinks
- Update permalinks
- Losing the original URL when using add_rewrite_rule
- Custom Permalink Base
- My wordpress site must be being affected by outside sources [duplicate]
- URL to an image in a post is changing when permalink is set to custom. Can I avoid this?
- How can i edit all posts slug in bulk keeping WP native redirect?
- Permalinks, how to show them in post
- Post/page without slug
- permalinks url with woocommerce
- How to get the perfect WordPress, WooCommerce, Custom Post Type pretty permalinks?
- Blog url disappears
- Add additional URL variations for a Post
- How to make my custom permalink pull up the correct post