Rewrote absolute URL determination