Redirect user to correct index file