prevent duplicated URLs when language prefix is ON

Refs #98