checking URL as well