You are here

Robots tag not displayed except on <front>

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

Comments

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.

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.

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.

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.

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:

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 !