Update index.php

Added diff redirect option.