Atuo-detect urls