Page Address Filter

The module "Page Address Filter" shortens the page address that identifies a comment page, so that variants of an address share the same comments.

Compatible with:

The module is included in the script package. Install it in the admin area under Modules, then switch it on in its settings.

How this module works

The Comment Script uses the address of a page to tell comment pages apart. Apple.html and pear.html are different pages, and so are the following two addresses:

/article.php?id=1
/article.php?id=1&sort=asc

Both addresses show the same article, but the comments would be split between them. The module cuts off the part of the address that does not matter, so that both addresses appear as the same page to the script.

What you can cut off

  • Parameters: /a/page.html?x=1 becomes /a/page.html
  • File name and parameters: /a/b/page.html?x=1 becomes /a/b/
  • File name and the last directories: /a/b/c/page.html becomes /a/b/
  • Everything except the first directories: /a/b/c/page.html becomes /a/
  • Everything: one comment page for the whole website

For the two options with directories you set the number of directories.

All modules