group similar tags.

Where similar is defined as 'maps to the same url'