In my website everybody can send some links to other nice websites. All links in my database must by unique, but some links are with 'www.' prefix, and some without. Some ends for '/', some not. For example:
|http://www.example.com
|http://example.com
|http://example.com
|http://example.com/
and other problems can be with https or http.
I know that I should change address before saving to database, but what standard I should use?