handle duplicate links due to trailing / on domain