2

I would like to add a section on my website (Drupal 7) which consists of articles with external links (as source). To avoid spam and duplicated content, I would like to avoid that users may add a URL more than one time. Basically, I need something which checks if the external URL is unique and not being used more than once.

I've looked for modules on Drupal.org, and tried googling some information. But I couldn't really find a solution. The Link checker module seems fine for checking if the URL is still available, but it doesn't avoid the same URL is used more than once.

1 Answer 1

4

You should take a look at the Unique Field module:

This module performs additional validation when a node is created or updated by a user to require that a node's title, author, language, and CCK fields are unique within a given context.

2
  • Considering the module has a setting for the scope of the unique values (e.g. content type, all nodes, the single node), this is the module I would suggest too.
    – avpaderno
    Commented Nov 25, 2012 at 21:30
  • Bit of a shame that I didn't looked into that direction. Anyway I did some testing seems to do the job so far, thanks for your help!
    – Avelino
    Commented Nov 27, 2012 at 14:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.