permalinks pretty with redirect for legacy urls