Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 days ago.
Improve this questionI’d like to have shorter URLs (e.g. /cars/registration) than the actual breadcrumb or page hierarchy (e.g. guides > cars > registration) for SEO reasons. I’m using WordPress, Bricks, and Rank Math. The issue is WP always adds the parent slug to the URL if you use parent/child pages.
So I see 2 options:
Use a plugin like Permalink Manager to remove parent slugs from the URL
Pros
- still get the parent/child relation in the backend
- easy to set up breadcrumbs, schema, and navigation via Rank Math
Cons
- not sure how stable/reliable it is longterm
- dependent on the plugin
Or manually build the hierarchy in Rank Math (and ignore WPs internal parent/child structure)
Pros
- no plugin dependency
Cons
- manual work and coding to set this up, manual work to populate and more room for inconsistency
So my question is how do people usually handle this problem when they want shorter URLs than the actual schema/navigation path (see my example from the beginning)?
And is there a smart way to avoid repeating the same hierarchy setup across WP parent/child settings, menus, breadcrumbs, and schema? Like maybe define a json or so and use that to generate everything else?
Any help or ideas much appreciated!
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 days ago.
Improve this questionI’d like to have shorter URLs (e.g. /cars/registration) than the actual breadcrumb or page hierarchy (e.g. guides > cars > registration) for SEO reasons. I’m using WordPress, Bricks, and Rank Math. The issue is WP always adds the parent slug to the URL if you use parent/child pages.
So I see 2 options:
Use a plugin like Permalink Manager to remove parent slugs from the URL
Pros
- still get the parent/child relation in the backend
- easy to set up breadcrumbs, schema, and navigation via Rank Math
Cons
- not sure how stable/reliable it is longterm
- dependent on the plugin
Or manually build the hierarchy in Rank Math (and ignore WPs internal parent/child structure)
Pros
- no plugin dependency
Cons
- manual work and coding to set this up, manual work to populate and more room for inconsistency
So my question is how do people usually handle this problem when they want shorter URLs than the actual schema/navigation path (see my example from the beginning)?
And is there a smart way to avoid repeating the same hierarchy setup across WP parent/child settings, menus, breadcrumbs, and schema? Like maybe define a json or so and use that to generate everything else?
Any help or ideas much appreciated!
1 Answer
Reset to default 0Recommendation :