Closed (duplicate)
Project:
Nodewords: D6 Meta Tags
Version:
6.x-1.12-beta9
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Apr 2010 at 16:45 UTC
Updated:
14 Apr 2011 at 11:32 UTC
Jump to comment: Most recent
Comments
Comment #1
eule commentedfrontpage and views
<meta name="robots" content="noindex,nofollow" />detailpages
<meta name="robots" content="indexfollow" />Comment #2
Anonymous (not verified) commentedI 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.
Comment #3
eule commentedhi
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.
Comment #4
philsward commentedI'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...
Comment #5
philsward commentedFor 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...
Comment #6
Anonymous (not verified) commentedThe 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.
Comment #7
eule commentedso this issues seems to be a problem with http://drupal.org/node/774864
add * Custom pages meta tags and save
works
Comment #8
Vuds commentedI'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!
Comment #9
Druppy-dupe commentedTo 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.
Comment #10
Anonymous (not verified) commentedSee #786270: The default value for the meta tag ROBOTS is not used.
Comment #11
Anonymous (not verified) commentedComment #12
iori57 commentedFollowed 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...
Comment #13
abrucker commentedis 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!
Comment #14
Wojciech Fornal commentedHi,
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.
Comment #15
vacilando commentedI'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.Comment #16
Jack2010 commentedI 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.
Comment #17
bloke_zero commentedWas having the same problem, Wojciech's fix #14 worked for me.
Comment #18
Zvone commentedDue 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?
Comment #19
adanelova commented#14 solved it for me, not #12
Comment #20
asb commentedThis 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:
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?
Comment #21
Apfel007 commentedsubscribe # 14 works
Comment #22
bethakoch1 commentedI'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');
Comment #23
Ela commentedThis got me really angry.. who knows how long I had the noindex, nofollow :(
Switching to .dev version worked for me.
Comment #24
Meeker commented