1
votes

I wanted to add following meta tag:

<meta name="google-site-verification" content="XXXXXXXXXXXXXXXXXXXXXXXXXXX" />

For that I used Admin > Config > Search and Metadata > Custom Meta tags Setting

And created meta tag there.

But the meta tag is not visible in page source code in browser.

What step am I missing?

Version: 7.35 The meta tag i added appears in list of meta tags here.

Picture: enter image description here

1
what version of Drupal do you talk about? have you cleared cache? Can you provide a screenshot with what you have done?Dmytro Pastovenskyi
@DmytroPastovenskyi the picture and version are added to question. RegardsAnusha
And yes the cache is cleared.Anusha
once you debug issue, please post information about it. So we can help from there.Dmytro Pastovenskyi

1 Answers

0
votes

Here is a way for you to find an issue.

Below you will find a screen of function that adds tags to header.

enter image description here

According to conditions you have possibly next issues:

  1. $meta_tags is null. It means that this query return nothing

    $result = db_query("SELECT * FROM {custom_meta}");

  2. you have 'admin' as an argument.

Please debug those 2 variables ($meta_tags and arg(0) and provide us feedback.

dpm($meta_tags);
dpm(arg(0));

I believe you will figure out during debug the issue.