change urls of permalinks