Tagged: Hreflang
Dear support,
i edit the function.php and the function-enfold.php with this:
<?php
add_action(‘wp_head’, ‘ava_add_your_stuff’);
function ava_add_your_stuff() {
?>
<link rel=”alternate” hreflang=”de” href=”http://mydomain24.com/” />
<link rel=”alternate” hreflang=”at” href=”http://mydomain24.com/” />
<link rel=”alternate” hreflang=”ch-DE” href=”http://mydomain24.com” />
<?php
}
this code is on first in the php data! But after safe is the hrflang not in source code from the site visible?! But this code: og:ocale and lang=”de_DE”
Where is the code from functions.php???
I will country specific for germany, schweiz, austria (DACH)
Can you help??
Hello? Can anybody help me?
Pleeeeease….
Is my question to stupid? Or what is happend that i get no answer???
Hi,
Please send us a temporary admin login so that we can have a closer look. You can post the details in the Private Content section of your reply. Please note that when you reply to your own thread it will send it to the back of our support queue so please try not to do so from now on.
Regards,
Rikard
Dear Rikard,
here is the login in the privat content area.
I add 2 x the href rules in functions.php and functions-enfold.php….Not happends…Whats is wrong?
Please look and say what is wrong.
Thanks!!!! :)
PS: Yes i should work with child theme….that come later…. :))
Please wait….my site is down again…..
I’ll get back!!!!
Soooo Rikard,
my site is back! Please login and look to hreflang and say me whats wrong.
Thanks!!! :)
Hi,
what exactly are you talking about? can you highlight the issue using screenshots please? use your code inside of functions.php only, otherwise it will cause issues. Your website seems to be fine for me. Could you fix it already?
Best regards,
Andy