Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Canonical returns duplicate lang value #489

Open
MargaritaBusyginaCa opened this issue Nov 4, 2024 · 0 comments
Open

Canonical returns duplicate lang value #489

MargaritaBusyginaCa opened this issue Nov 4, 2024 · 0 comments

Comments

@MargaritaBusyginaCa
Copy link

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:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant