Remove duplicate permalink replacement

Removed a duplicate permalink replacement