Automatically figure out the site path and url