http://www.airlinestaffrates.com/
Hi,
Where do I add this code:
<html>
<head>
<meta name=”google-site-verification” content=”L_W-R4ZoDJoupzK4yYXZ2yM0C8mpEOvpjiUJYkCnDC8″ />
<title> My title </title>
</head>
<body>
page contents
</body>
</html>
Thanks
Charlotte
Hey Charlotte,
Please try this in your functions.php file:
function google_site_verification(){
?>
<meta name=”google-site-verification” content=”L_W-R4ZoDJoupzK4yYXZ2yM0C8mpEOvpjiUJYkCnDC8″ />
<?php
}
add_action('wp_head', 'google_site_verification');
Best regards,
Rikard
Thanks Rikard,
I have done that now but I get this from Google.
Verification failed for https://www.airlinestaffrates.com/ using the Meta tag method (less than a minute ago). We couldn’t find the verification meta tag.
What is wrong?
Example from Google:
<html>
<head>
<meta name=”google-site-verification” content=”-W4nYgSqaWrhPUWw6WTVccgXm-4qIuIoNYjm4giiCc8″ />
<title> My title </title>
</head>
<body>
page contents
</body>
</html>
Best regards
Charlotte
Hi Charlotte :)
Please try copying Rikard’s code from below
function google_site_verification(){
?>
<meta name="google-site-verification" content="L_W-R4ZoDJoupzK4yYXZ2yM0C8mpEOvpjiUJYkCnDC8" />
<?php
}
add_action('wp_head', 'google_site_verification');
I believe it might not haven taken affect because of double quotes. Please try once again :)
Best regards,
Yigit
Thanks Yigit :)