modify function url_to_domain
for example:
http://domain?y old=>domain?y new=>domain
http://domain:80 old=>domain:80 new=>domain
http://domain#s old=>domain#s new=>domain
http:/domain;x old=>domain;x new=>domain