Skip to content

Incorrect component link generation in a space #10876

@furilo

Description

@furilo

Currently the menu of components in a space produces a link to a component that does not include the last bit of the slug as can be seen in the screenshot.

This means that both

https://meta.decidim.org/processes/roadmap/f/122/
and https://meta.decidim.org/processes/roadmap/f/122/proposals

are serving the same content (for SEO reasons we shouldn't have two URLs with exact same content). The correct link is the second one. The one without the component name should not be generated, and/or we should create a redirection (in cases there are existing external links pointing to that "incorrect" URL)

In the redesign, this is also meaning that the component name is not being shown in the breadcrumb (if the link contains the component name, it works ok)

So, once the link generation in the menu is fixed/redirection is implemented, the breadcrumb redesign problem will be fixed as well #two_for_the_price_of_one

cc'ing @decidim/maintainers since this is an existing issue.

image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions