hi

i will say something must be strong with the meta name="robots"
my startpage gets now

<meta name="robots" content="noindex,nofollow" /> i set it up for index,follow ;) so it seems not to save and standart is noindex
this problem shows for me on the startpage and views.

the detailpages shows me <meta name="robots" content="indexfollow" />
it seems hi miss the spelling and comma
thanks

[Edited by kiamlaluno to show the meta tags]

Comments

eule’s picture

frontpage and views
<meta name="robots" content="noindex,nofollow" />
detailpages
<meta name="robots" content="indexfollow" />

Anonymous’s picture

Status: Active » Postponed (maintainer needs more info)

I cannot reproduce this on version 6.x-1.12-beta9. I tried with different views, but the shown value is always correct; the result is the same also for custom pages created by a third-party module.

Are you sure you installed the version you reported? The issue you reported was present in a previous version, but the code has been changed to fix the problem.

eule’s picture

hi

yep i am sure,

detailpages must new save..and then the value shows correct. but i cant save values in the default metatags. i try also to noarchive - save and nothing appers.

philsward’s picture

I'm having the same problem... noindex,nofollow is the Default for all of my pages, unless I specifically go in and set them to index,follow...

I've gone in and set the "Default meta tags" to index,follow but this does absolutely nothing...

Views, same as other folks, noindex,nofollow but I can go into the node that is referenced (change) to index,follow and the node itself is then followed, but the view isn't...

After reading about the 1.12-beta upgrade process, I decided to blow away the module completely, uninstalled and brought in 1.12-beta9 from scratch but end up with the same problem...

I'm not sure, but I'm wondering if this has been an unnoticed problem for a few weeks... about a week ago, my site index through google went from 10 pages or so, to the home page only... Being a recreation of the site, I just figured google was re-indexing everything but now i'm thinking it has to do with nodewords acting up... I can't tell you the exact dev version I think this started with, but I want to say it was roughly a month ago...

philsward’s picture

For some reason, I was also thinking that meta tag defaults could be changed at the "content type" level... I don't see this option any more?? (Or was it ever there? Maybe I'm just getting senile...) I have vertical tabs enabled in-case that makes a difference...

Anonymous’s picture

Status: Postponed (maintainer needs more info) » Active

The module does not allow to set the default values on a content type context; the feature will be added in branch 6.x-3.
There is a module that implement such feature, but it is not part of Nodewords.

eule’s picture

so this issues seems to be a problem with http://drupal.org/node/774864

add * Custom pages meta tags and save
works

Vuds’s picture

I'm also having this problem for the frontpage. Even if I setup default page (where is the frontpage config page?), the INDEX tag doesn't alter in any way, it remains "NOINDEX,NOFOLLOW" everytime.

My NodeWords installation is pretty new also, that was not an upgrade, I'm using Meta Tags Content Type module also, but it doesn't seem to be this module.

My frontpage is a Views based page, which has it's own address (let's say, /X), and it was the frontpage link that was changed in the Site Information config (from /node to /X). But in my tests, it also doesn't do anything with the problem (noindex,nofollow for /X or /node pages).

Thanks for attention!

Druppy-dupe’s picture

To change the default robot tag for all pages to "index, follow", you can go to

nodewords/nodewords_basic/includes/nodewords_basic.nodewords.tags.inc

line 255

and change

'#default_value' => empty($content['index_follow']) ? 'noindex,nofollow' : $content['index_follow'],

to

'#default_value' => empty($content['index_follow']) ? 'index,follow' : $content['index_follow'],

(This is for 6.x-1.12-beta9).

I think it would be better if default would be index follow.

Anonymous’s picture

Status: Active » Closed (duplicate)
Anonymous’s picture

Title: meta name robots default noindex,nofollow » Meta tag ROBOTS default is noindex,nofollow
iori57’s picture

Followed Druppy's advice by changing the code below:

'#default_value' => empty($content['index_follow']) ? 'noindex,nofollow' : $content['index_follow'],

to

'#default_value' => empty($content['index_follow']) ? 'index,follow' : $content['index_follow'],

but front page and views pages are still noindex,nofollow....
is there a cache somewhere that I need to clear?

Thanks!

PS: follow eule's advice by adding a * custom pages meta tag do work... however each pages' keywords/description could not be set and will all be the same...

abrucker’s picture

follow eule's advice by adding a * custom pages meta tag do work... however each pages' keywords/description could not be set and will all be the same...

is there any other solution planed?

working with the same meta's for all the content is not a very smart solution so far!

nodewords is a great tool since years but it start's bothering me!

Wojciech Fornal’s picture

Hi,

Look at nodewords/nodewords_basic/includes/nodewords_basic.nodewords.tags.inc and line 293:

$value = !empty($content['index_follow']) ? explode(',', $content['index_follow']) : array('noindex', 'nofollow');

for a front page somehow $content['index_follow'] is empty so the above statement makes an assignment: $value = array('noindex', 'nofollow');

I haven't got time to do some serious research on why it works as it works but changing "array('noindex', 'nofollow')" to "array('index', 'follow')" resolved my problem.

Hope this will help you.

vacilando’s picture

I've been watching the number of a site pages dwindling in Google Webmaster Tools, from a thousand down to 49 today! I spent a good deal of time to craft good meta tag settings via Nodewords, but now I have found out that it is indeed Nodewords that caused the problem: all pages on the site are set to <meta name="robots" content="noindex,nofollow" />. And setting "Meta tag ROBOTS for lists" to "INDEX,FOLLOW" does not change that, despite cache clearing etc.; the website pages still show "noindex,nofollow". Going to try the dev as concluded by #786270: The default value for the meta tag ROBOTS is not used...

EDIT: well, that did not work. I got all sorts of errors during /update.php, e.g. warning: preg_match_all() expects at least 3 parameters, 2 given in /var/www/vhosts/uia.be/httpdocs/sites/all/modules/nodewords/nodewords_basic/nodewords_basic.install on line 129. Since websites without Nodewords are doing very well, I am switching off and uninstalling Nodewords on all sites, waiting for a stable, more promising version.

Jack2010’s picture

I was having the same issues.

If you go to the meta tags settings and enable Robots under the "Meta Tags Enabled on Other Edit Forms" then when you edit content and click on meta tags you'll get all the index, follow etc choices in a drop down menu.

bloke_zero’s picture

Was having the same problem, Wojciech's fix #14 worked for me.

Zvone’s picture

Due to error in module I have around 500 records in nodewords table with ...'indexfollow'... value. As I am not mysql man can somebody help me with method or sql query to change this values to 'index,follow' in one step?

adanelova’s picture

#14 solved it for me, not #12

asb’s picture

This is an obscene bug, and whoever closed this issue as duplicate missed to make a pointer to the actual issue number - there seem to be numerous reports about this and related problems floating around: http://drupal.org/project/issues/nodewords?text=noindex%2Cnofollow&statu...

The current dev release claims to have solved this. However, as far as I have seen, with the dev release I'm getting no robots tags anymore. According to http://www.robotstxt.org/meta.html this behaviour is correct:

If there is no robots <META> tag, the default is "INDEX,FOLLOW", so there's no need to spell that out.

The missing comma is a different issue: #785654: Commas missing in ROBOTS tag for previously created nodes, closed as "fixed" by kiam on June 15, 2010, but there was no new beta release for 6.x-1.12 in the meantime.

These issues seem to have been introduced in or around nodewords 6.x-1.12-beta9 from 2010-Apr-18, which is the latest beta release for 6.x-1.12 available for the past half year. This release is totally broken and harmful for SEO; Nodewords is a SEO module, however 6.x-1.12-beta9 results in worse rankings than not providing keywords. E.g. I just noticed that one of my sites has been kicked off Google's index completely - practically every page submitted this bloody "NOINDEX,NOFOLLOW" to the search engines, and I was wondering why my sitemaps were ignored...

Since there is no update to 6.x-1.12-beta9 (yes, #14 fixes some of the symptoms), we have to jump to nodewords -6.x-1.x-dev which was recently updated on 2010-Nov-08. Does anyone know if this dev release is safe?

Apfel007’s picture

subscribe # 14 works

bethakoch1’s picture

I'm using drupal 6.x and this change allowed my front page to allow the index,follow setting:

function nodewords_basic_robots_prepare(&$tags, $content, $options) {
if ($options['type'] == NODEWORDS_TYPE_PAGER) {
$index_follow = variable_get('nodewords_list_robots_index_follow', 'noindex,nofollow');
$robots = variable_get('nodewords_list_robots_value', array());
$value = explode(',', $index_follow);
$value = array_merge($value, !empty($robots) ? array_values(array_filter($robots)) : array());
}
else {

$value = !empty($content['index_follow']) ? explode(',', $content['index_follow']) : array('noindex', 'nofollow');

change this last line to:

$value = !empty($content['index_follow']) ? explode(',', $content['index_follow']) : array('index', 'follow');

Ela’s picture

This got me really angry.. who knows how long I had the noindex, nofollow :(
Switching to .dev version worked for me.

Meeker’s picture