Make index redirect correctly.