permalinks - How to get shorter urls than schemanavigation hierarchy

admin2025-05-31  0

Closed. This question is opinion-based. It is not currently accepting answers.

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 question

I’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!

Closed. This question is opinion-based. It is not currently accepting answers.

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 question

I’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!

Share Improve this question asked May 20 at 5:26 MatthiasMatthias 1
Add a comment  | 

1 Answer 1

Reset to default 0

Recommendation :

转载请注明原文地址:http://conceptsofalgorithm.com/Algorithm/1748628261a313635.html

最新回复(0)