Hi, I tried to even unchecked, and checked NOFOLLOW and NOINDEX options, even all at default, and never couldn't get robots appear in html source, is there any help for this? Anyone the same problem? Many thanx

PS: at front page config I have x Use the default value... The default value is currently nofollow, noindex.
and still no output

Members fund testing for the Drupal project. Drupal Association Learn more


mashik’s picture

Category: support » bug

I have the same problem.
First I installed 6.x-1.x-dev, than changed to 6.x-1.11.
Can not get ROBOTS to appear in the source.
Tried all options. Nothing helped.
Moreover all settings that I make for custom pages disappear if I reopen them. Not only robots, all settings ( I have only basic meta tags installed). They get replaced with default values if set. All tags except to robots. robots get empty always. This is for 6.x-1.11
I have Drupal 6.13, if it matters.

kiamlaluno’s picture

Component: User interface » Code
Status: Active » Postponed (maintainer needs more info)

May you provide a screenshot of the module settings?

mashik’s picture

57.95 KB

Hi kiamlaluno.
Here is the screenshot .
Sorry for low quality.

mashik’s picture

Well, I have to say, that when I set robots tags editing particular page, the tags do appear in the source.

orican’s picture

same problem here
By testing it, I enabled everything "ABSTRACT, CANONICAL, COPYRIGHT, DESCRIPTION, ICBM, KEYWORDS, PICS-LABEL, REVISIT-AFTER, ROBOTS"...etc. only ROBOTS not shown in source.!

orican’s picture

yes it work fine when editing rebots tags for each node.
the problem seems to be editing at "admin/content/nodewords/meta-tags"

kiamlaluno’s picture

Is anybody able to verify if version 6.x-1.12-beta2 already solved the issue?

kiamlaluno’s picture

Title: can't get robots to appear in source.. » Can't get meta tag ROBOTS to appear in HTML HEAD
Domsware’s picture

324.99 KB

Hi !

Do not not work with 6.x-1.12-beta2.

Drupal 6.15.
Upgraded from Nodewords 6.x-1.8 to 6.x-1.12-beta2.
No meta tag robots in the header section on front page or the 2 or 3 others pages tested.

Here is attached a pdf files with configuration screenshots.

Hope it help you kiamlaluno.

kiamlaluno’s picture

I updated to version 6.x-1.12-beta3, and I cannot reproduce this issue.
I set the meta tag ROBOTS for the front page, and when visiting the front page the meta tag appear in the HTML output.

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link rel="schema.dc" href="http://purl.org/dc/elements/1.1/" />
<link rel="canonical" href="http://sunradio.local/dr61/" />
<meta name="abstract" content="Abstract: front page" />
<meta name="revisit-after" content="1 day" />
<meta name="robots" content="nofollow, nosnippet, noydir" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
kiamlaluno’s picture

Status: Postponed (maintainer needs more info) » Active
sotiris’s picture

Same problem here, with latest version 6.x-1.12-beta3. When i have all the checkboxes unchecked i don't have index and follow tags in my html output. If i check lets say noindex, i have normally a noindex tag in my output.

JamesKB’s picture

Have the "HEAD, ROBOTS" tag issue been resolved in version 6.x-1.11? Any known issues with this version?

Thanks for your time.

alexharries’s picture

As stupid as this suggestion may sound, have you ticked the option(s) to display the meta tags in the HTML HEAD?

I haven't noticed any problems as I'm an admin (so I see options to edit all tags), but non-admins and crawlers see nothing:

See http://www.kssdeanery.org/admin/content/nodewords

"Meta tags to output in HTML
Select the meta tags you want to appear in the HEAD section of the HTML pages."

I cannot BELIEVE that I've been using nodewords for the last 6 months and this is the first time I've come across this setting.

Can I PLEASE request better documentation/defaults? It's unbelievable I've been using this module for six months and have only just spotted this.

Grrrrrr! :(

funana’s picture

... and <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> is two times in the output. Same here...

kiamlaluno’s picture

and <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> is two times in the output.

That is done from Drupal core code, to be sure the charset is declared; differently, Drupal could make possible some XSS attacks.

Nodewords doesn't handle, nor change that meta tag. As a proof of this, check the source of any pages of Drupal.org (which doesn't use Nodewords), and you will notice that meta tag is repeated twice.

Anonymous’s picture

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <!-- Note: does not validate. We would like it to, but that would mean reduced user experience for the majority of our visitors. -->
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" href="/misc/favicon.ico" type="image/x-icon" />
  <title>Can&#039;t get meta tag ROBOTS to appear in HTML HEAD | drupal.org</title>
  <meta http-equiv="Content-Style-Type" content="text/css" />
  <link type="text/css" rel="stylesheet" media="all" href="/sites/all/modules/codefilter/codefilter.css?t" />
<link type="text/css" rel="stylesheet" media="all" href="/files/css/css_164ea913ecb53878de49f0cd1bc872cf.css" />
<link type="text/css" rel="stylesheet" media="print" href="/files/css/css_da53b860133951af135d3551f7eaf328.css" />
  <script type="text/javascript" src="/files/js/js_dc35f30b68e786c5f7accf3f32832743.js"></script>
<script type="text/javascript">
nhck’s picture

Title: Can't get meta tag ROBOTS to appear in HTML HEAD » Robots tag not displayed, but on <front>
Version: 6.x-1.8 » 6.x-1.11

The robots-tag is not displayed on any other page, but the page.

My current setting is to use those default values:
"The default value is currently noarchive, noodp, noydir."

The logic in nodeword_basic_robots_prepare doesn't take into account that one would expect the defaults to load if use_defaults has not been set yet.

tobiberlin’s picture

same here, subscribing: robots is set to be output but nothing appears

laja’s picture

same here, subscribing

poldi’s picture

Subscribing, too.

Anonymous’s picture

Status: Active » Fixed

There was an error in the code, which would show just part of the meta tag ROBOTS. The content of the meta tag is anyway shown in all the pages, with the latest developed code.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

sunward’s picture

Reply to:alexharries

very simple.

on admin - content management - meta tags - global settings
Meta tags to output in HTML
make sure you have Robots checked. This will output the meta tag.

webservant316’s picture

Working on two Drupal site with almost identical nodeword configurations and neither site displays the robots.
Screen shots of my nodeword configuration attached.

Thanks for any help,


sunward’s picture

I would look at the theme you are using.

Also, at the bottom on the the list - Meta Tag ROBOTS for lists. If the meta tags are used on other pages, uncheck this one and see if it has an effect. (comments says it doesn't show on first page)

webservant316’s picture

using zen theme on both webs, garland also configured. all meta info is in the html output except robots. I unchecked my meta settings for lists as you suggested, but no effect. hmmm. this was working at one point on both my sites. I remember tuning up the robot settings and verifying. I haven't touched this modules settings since, but at some point it quit working. I am using Drupal 6.16. I was motivated to double check the robots settings because my dblogs show too many hits on none-existent pages and so when this was working I had noindex turned for my error page. unfortunately that is not working anymore.

any other ideas of what to try?

webservant316’s picture

Status: Closed (fixed) » Active

opening to active again for feedback - I still see the problem

sunward’s picture

I was going to ask if you upgraded, but you are still in 6.16.

One last check.

I don't have any of the ones at the bottom checked, but my page does show noodp meta tag. So it is not configured there.

It is checked under admin-content management - meta tags - default and specific meta tags - default values. Same values listed. Try there.

webservant316’s picture

OK... found time to fight with this more this evening. I unchecked the 'use defaults' for the front page default and then checked it again and viola I got the robots back on the home page. The inspired me to unchecked, recheck, save, resave, disable the module, reenable the module, update, etc. hoping to notice a pattern. I only had so much time, but there clearly seems to be a snafu in this module, perhaps related to the modules ability to know what flags are set. Here is my current status. First all seems to be working just fine, EXCEPT the robot flags.

1. The main default settings for robots do not put the robot directives on my pages.
2. The robots settings for the specific defaults for the front page, 404, and 403 do work.
3. If I create 'other' page defaults the robot settings are not even remembered/stored by the form.

At this point I have to move on to other things. My key need is met in that I've turned on 'noindex' for my 403 and 404 pages.

brei9000’s picture

I'm having the same issue. I can't get the robots meta tag to show up on ANY page.

Orient’s picture

Category: bug » feature

I have the same problems :(

kiamlaluno’s picture

Priority: Normal » Minor
jelo’s picture

Category: feature » bug
TravisCarden’s picture

Title: Robots tag not displayed, but on <front> » Robots tag not displayed except on <front>
Priority: Minor » Normal


mr.j’s picture

Same problem.

I debugged this on a node page and found that the issue is that the robots tag only shows if you check the "Use the default value" under the robots settings on the node edit screen.

Obviously it is unreasonable to expect sites to go through and check this on every single node, not to mention that not all users/editors would even have permission to set it. The reverse should apply - use the default value unless the node has an explicit setting checked to say not to.

This bug is critical for sites like the one I am working on now which does not want google to cache any pages. ATM you can only stop the home page from being cached, or edit every single node and page one at a time.

For now I have added this to page.tpl.php just before the meta tags are normally printed:

// Workaround for nodewords bug
if (stripos($head, '<meta name="robots"') === FALSE) {
  print '<meta name="robots" content="noarchive, noodp, noydir" />';
print $head;
hagit’s picture

subscribe.. same problem..

FanisTsiros’s picture

Robots tag is not dislayed anywere in my site. Neither in front page nor any othet page, but when i checked the "NOODP" check box, robots displays all over my site. This might help debugging this issue. Thanks !

DamienMcKenna’s picture

Status: Active » Fixed

There was a logic error that ignored the site defaults for the ROBOTS tag, this was fixed in #792218: "Default robots meta tag" Missing.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.