Drupal 6: Define SEO Meta Tags dynamically using hook_nodewords_tags_alter
Ever wanted to implement or alter meta tags on a custom page or a view? As most of you would have already heard of the excellent nodewords 6.x-1.11 (module which allows users to define their own meta tags for nodes and much more), we will use some of the very useful API functions of this module.
You can actually use the nodewords API to alter, inject and define your own meta data on virtually any page.
Say you have a view and you want to dynamically set the meta tags for that view? easy..
Step 1: Implement the hook_nodewords_tags_alter() hook
Adding Meta Tags to taxonomy_term override view with Pathauto, Nodewords and Views
If you are using the wonderful Views module to override the default taxonomy_term pages, you will have noticed that it no longer displays the meta data defined for the term. This is due to the way nodewords handles Views and Taxonomy. It has no way of knowing that we are overriding the taxonomy term page so it can display the term data correctly.









