I know I can add metadata detail and keywords on a per node basis, but how to I do so for the entire site itself? I see no way to add such coding to my site http://www.technotimmy.com so that search engines will be able to properly index it. I was at the top of the Google search list (when searching for "technotimmy") until a few days ago when I was bounced from the top by a myspace.com user -- and I suspect the problem is directly related to my missing meta info in the main headers of the site.

Do I make any sense? Perhaps you can look at the site code and you will see that there is no meta info in the headers, and understand and maybe be able and kind enough to tell me how I can access that to change it. Even my IT/web developer has no idea.

Thanks for any assistance/advise.

Comments

casey’s picture

Here's a small module for implementing keywords (drupal 4.7). not (yet) in projectlist.


/**
 * Display help and module information
 * @param section which section of the site we're displaying help
 * @return help text for section
 */
function taxonomy_keywords_help($section='') {
  $output = '';
  switch($section) {
    case "admin/modules#description":
      $output = t("Makes it possible to show selected terms as keywords at node view.");
      break;
  }
  return $output;
}

/**
 * Valid permissions for this module
 * @return array An array of valid permissions for the onthisdate module
 */
function  taxonomy_keywords_perm() {
  return array('administer taxonomy keywords');
}

/**
 * Module configuration settings
 * @return settings HTML or deny access
 */
function taxonomy_keywords_settings() {
  if(!user_access("administer taxonomy keywords")) {
    return message_access();
  }

  if(module_exist('taxonomy')) {
    foreach(taxonomy_get_vocabularies() as $vid => $voc) {
      $vocs[$vid] = $voc->name;
    }
    if($voc) {
      $form['access']['taxonomy_keywords_vocabs'] = array(
        '#type' => 'select', 
        '#multiple' => true,
        '#title' => t('Select vocabularies'), 
        '#default_value' => variable_get("taxonomy_keywords_vocabs", array()),
        '#options' => $vocs,
        '#description' => t('Select the vocabularies you want its terms to be shown as keywords at node view.'),
      );
    }
  }
  
  return $form;  
}

/**
 * Implementation of hook_nodeapi().
 */
function taxonomy_keywords_nodeapi(&$node, $op, $teaser = NULL, $page = NULL) {
  if($op == 'view') {
    if($page) { 
      $vocabularies = variable_get("taxonomy_keywords_vocabs", array());
      
      foreach($node->taxonomy as $term) {
        if(in_array($term->vid, $vocabularies)) {
          $keywords[] = $term->name;
        }
      }
      if(is_array($keywords)) {
        drupal_set_html_head('<meta name="Keywords" content="'.implode(', ', $keywords).'" />');
      }
    }
  }
}
styro’s picture

Google ignores meta keywords anyway.

Meta tags aren't going to help you reclaim the throne of the ultimate technotimmy in Google. You'll have to get better (quality and quantity) incoming links than the other site.

If the other technotimmy has more people from more popular sites linking to him properly, why shouldn't he rank higher in Google? After all, if thats the case then isn't Google doing its job properly by figuring out that people searching for technotimmy are more likely to want the other one?

--
Anton
New to Drupal? | Forum posting tips | Troubleshooting FAQ
Example Knowledge Base built using Drupal

andre75’s picture

I put one meta tag in the template file because a web directory wanted it this way.
Simply open your page.tpl.php and put it in the html header.
That should do.

Otherwise I agree with styro. Google doesn't care.
Just submit a few posts to a bunch of forums with your link attached. That should do.
Just don't do it here, drupal.org adds a nofollow tag anyways, so it won't do much good.

Andre

-------------------------------------------------
http://www.opentravelinfo.com
http://www.aguntherphotography.com

andre75’s picture

You should do some search engine optimization. Meta tags don't do much good anymore.
Search engines constantly change their algorithms.
Inbound links used to be very important, but now they are looking more at the source.
This means link farms and links pages don't do much good anymore.
So you have to think how about how to get meaningful inbound links, from within content pages.
One way to do this is to guest-write an article for someone.
An example would be my travel page. When someone writes an article, they get to put their links at the end.
Since it is not a reciprocal link (it does not require you to link) and since it is from within a page with lots of content
google will value this higher. Then you wait for the next pagerank update (when google re-evaluates the PR for indexed sites) and you will outrank the myspace guy again.
Check the PR of the site you are going to submit your article to:
(The travel website shows 5 and sometimes 4 depending on the google server that is being checked).

-------------------------------------------------
http://www.opentravelinfo.com
http://www.aguntherphotography.com

budda’s picture

Nodewords module provides per node meta data, as well as providing default global meta data based on your sites mission statement IIRC.

However, like others have said, its not used so much these days -- although Google was picking it up recently for some of our sites - probably during its being data re-jig.

--
Drupal consultancy

andre75’s picture

Probably trying to find out if you are a honest guy and have matching keywords. If not ... DING ... , LOL

-------------------------------------------------
http://www.opentravelinfo.com
http://www.aguntherphotography.com

cmejo’s picture

As others have said, don't bother, it isn't worth your time and effort anymore.

And nodewords is having some compatibility issues with the db. I don't recommend using it for 6.x at the current time.

http://eafepro.com