adjust permalinks and post name