Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
This tiny module will redirect comment permalink to their corresponding node paths.
For an example,
Imagine there are 3 comments for the node with ID 123. The node URL would be http://example.com/node/123.
If there are 3 comments to the node(with comment IDs 145, 156 and 175), they will have URLs like http://example.com/comment/145 , http://example.com/comment/156 and http://example.com/comment/175.
But all 4 URLs (http://example.com/node/123, http://example.com/comment/145, etc)give the same content to the end user. This raises a possibility that search engines will detect duplicate content in your site.
This module will redirect all comment/x paths to their corresponding node-path.
http://example.com/comment/145 to http://example.com/node/123#comment-145
http://example.com/comment/156 to http://example.com/node/123#comment-156
This module can handle pagers as well. If your comment is in the second page (when you have set a comments-per-page value in node type settings),
http://example.com/comment/156 to http://example.com/node/123?page=1#comment-156
This module extends the Tripal Analysis Module and provides a method for loading of KEGG ortholog assignments derived from the KEGG Automated Annotation Server (KAAS).