Adding Metadata to Drupal Nodes

Enable Drupal Nodewords

This week’s tutorial explains how to add metadata to your Drupal site. By default, Drupal has no fields for metadata. Check the source code at http://drupal.org and you’ll see what I mean. To fix that issue, we recommend a module called Nodewords.

Installing Nodewords to Your Drupal Site

  • Step 1: Visit http://drupal.org/project/nodewords to download the latest version of “Nodewords”.
  • Step 3: Extract the files into a folders on your desktop. The folder will be called “nodewords”.
  • Step 4: Login to your site’s files via FTP and navigate to /sites/all/. If there isn’t a folder called /modules/ here, create one.
  • Step 5: Upload the “nodewords” folder to /sites/all/modules/
  • Step 6: Go to Administer >> Site building >> Modules. You’ll need to check only the first two of the four boxes if you’d like to add regular metadata:

    Enable Drupal Nodewords

  • Step 7: Go and create a new node. When you do, you should notice a new area labelled “Meta tags” and you’ll be able to add metadata to all your nodes:

    metadata

  • Step 8: You can also give the search engines information about how this page should be crawled, by using the “Robots” checkboxes. These are the messages you can send to Google or Yahoo: robots
    • NOARCHIVE … don’t store a cache version of this page in your search results.
    • NOFOLLOW … don’t give any value to the outbound links on this page.
    • NOINDEX … don’t index this page in search results.
    • NOODP … don’t use any information from DMOZ.org to describe this site.
    • NOSNIPPET … don’t show any of this text on this page in your search results.
    • NOYDIR … don’t use any information from Yahoo Directory to describe this site.

Configuring Nodewords

The default Nodewords settings might not be to everyone’s taste. There is no short cut to the Nodewords editing page, unless you to to Administer >> By Module >> Nodewords >> Meta tags. There you can choose global settings for your site’s metatdata.

{loadposition drupalnewsletter}

Author

  • Robbie Adair

    Robbie started her career in corporate training until starting her own custom training and media company almost seventeen years ago. In 2010, she began doing classroom training for OSTraining while running Media A-Team. She is often presenting about various tech topics such as Joomla, Fabrik, Web Development, Social Media, and Augmented Reality. She loves seeing that "ah-ha" moment in peoples eyes in her sessions and workshops. She lives in Houston, Texas, but enjoys all the travel for client work and speaking gigs.

0 0 votes
Article Rating
Subscribe
Notify of
guest

2 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
RmrJmrGrl
12 years ago

There isn’t a Drupal 7 version of this module. How can you do this for D7?

riishi
riishi
12 years ago

Hi Steve,

I am a newbie to web development. Is there anyway by which i can automate the linking of metadata with page content. If yes please lemme know how i can do that.

Regards,

Riishi

2
0
Would love your thoughts, please comment.x
()
x