Hreflang Implementation
Permalink
Dear all,
I saw for the hreflang Tags to appear on the sourcecode, you need to add following line to the concrete.php in the config folder:
but i don't see any change in the sourcecode. do i need to add it somewhere else too?
thanks in advance
I saw for the hreflang Tags to appear on the sourcecode, you need to add following line to the concrete.php in the config folder:
'multilingual' => [ 'set_alternate_hreflang' => true, ]
but i don't see any change in the sourcecode. do i need to add it somewhere else too?
thanks in advance
What concrete5 version are you using?
Hi mlocati,
sorry for not providing the information from the beginning:
8.3.2
thanks
sorry for not providing the information from the beginning:
8.3.2
thanks
The correct file where the set_alternate_hreflang setting must be saved is /application/config/site.php.
If this file does not exist, you can create it with the following content:
If this file does not exist, you can create it with the following content:
<?php return [ 'sites' => [ 'default' => [ 'multilingual' => [ 'set_alternate_hreflang' => true, ], ], ], ];
That worked like a charm!
Thanks a lot!
Thanks a lot!
Hi Michele
How and where can I implement the hreflang tags in version 8.5.2 and above?
Tx
How and where can I implement the hreflang tags in version 8.5.2 and above?
Tx
As I described two messages above:https://www.concrete5.org/community/forums/internationalization/href...