Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Comment Fragment

Security covered Maintenance fixes only 66 sites

This module improves SEO by changing the format of comment permalinks from `/comment/[comment-id]#[comment-id]` to `/node/[node-id]#[comment-id]` or `/[node-alias]#[comment-id]`. It then redirects the old URLs to the new format, preventing duplicate content issues for nodes with many comments.

The default Drupal comment permalink has the following format, /comment/[comment-id]#[comment-id], if a node has 10 comments, each page with the URL /comment/[comment-id] loads identical content to the node itself.

10 comments is just fine but how about 1000 comments? 1000 duplicate contents is very bad for SEO and our website may be the target of Google's sandbox.

So this module rewrite the comment URL format to /node/[node-id]#[comment-id] or /[node-alias]#[comment-id] and than redirect the old URL format to new one.

Note: this module only rewrite the comment permalink generated by core comment module, comments generated, let say by Views module not changed but redirected to proper URLs.

Ask your assistant about Comment Fragment

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Jun 2024
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

Releases

Version Type Core PHP Release date
1.0.0-rc2 Pre-release 9–10 Jun 20, 2024