Problem:
I'm receiving reports indicating that the hreflang annotations in my custom post type "corsi" contain URLs that are not canonical. The URLs include parameters such as https://example.it/corso/nomecorso?subject=test. I need to set the canonical URL to https://example.it/corso/nomecorso.
Solution:
Toolset doesn't provide direct customization for canonical URLs in the page head. Consider using an SEO plugin that allows setting canonical URLs.
You can get started here:
https://www.hallaminternet.com/avoiding-the-seo-pitfalls-of-url-parameters/
https://clicknathan.com/web-design/wordpress-canonical-urls-done-right/
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
This topic contains 1 reply, has 2 voices.
Last updated by 8 months, 2 weeks ago.
Assisted by: Christopher Amirian.