#1140 Posted in ‘Route 66’

Latest post by Lefteris Kavadas on Tuesday, 09 January 2024 12:03 EET

Gijs Lamon
Hi

I got errors from ahref that my pages don't include a self-referencing href lang. It appears that activating the "canonical" option in your component, the self-reference href lang gets replaced by a canonical ref.

Apparently (found this in the code of 4SEO trying to find out why this is happening), Joomla's AddHeadLink only allows one line per URL so adding "canonical" to the page overwrites the self-referencing tag. This means the canonical href lang needs to be added another way.

Kinds regards
Gijs

Lefteris Kavadas
Hi Gijs,

This is an issue of Joomla. As far as I know this has been fixed in Joomla 4/5.
Can you please check that your multi-language setup is correct? The plugin that handles that is named "System - Language Filter". Please check the settings there.
Finally, keep in mind, that you can always disable the Route 66 canonicals through component options.

Regards

Note: An active subscription is required in order to get support for our paid extensions. For our free extensions, if you don't have an account, register and then submit your support request.  In case you just want to ask a question, you can also use the contact form .

Firecoders
Are you using our extensions? Please post a review at the Joomla extensions directory!
Post a review