Revert permalinks