Fix absolute URL generation