Skip to content

Canonical returns duplicate lang value #489

Open
@MargaritaBusyginaCa

Description

@MargaritaBusyginaCa

Description

For example, if my current Craft entry URL is https://my-website/en/plans
using {{ seo.canonical }} return https://my-website/en/en/plans

This issue is also mentioned here: #481

Steps to reproduce

  1. in your twig template, put {{ seo.canonical }} inside of your HTML. You will see incorrect link displayed in the UI.

Additional info

  • Craft version: 4.12.8
  • SEO version: 4.2.4
  • PHP version: 8.2
  • Database driver & version:
  • Other Plugins:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions