fixing domain for published pages