Skip to content

Make schema breadcrumb urls absolute

What does this MR do?

In !46991 (merged) we include the logic to create the schema markup for breadcrumbs. For that we use the same info we use to build the regular HTML breadcrumb, including the link. These links are usually relative ones.

Although it's not totally certain, it seems tools that check schema markup, like the Google one, indicates that the url is invalid because it's relative.

In this MR we ensure to convert all relative links to absolute ones when creating the schema markup for the breadcrumb.

Does this MR meet the acceptance criteria?

Conformity

Related to #281378 (closed)

Merge request reports