Robustified Index URL replacement