if message url equal slash use index as a message url