Remove duplicate permalink replacement