linklog and permalinks fixed