get current website url and type