revert permalinks