domlink() function behaves similarly as the domUrl
however, while domUrl does not support dot convention, in domlink,
dots are converted to slashes. Hence, this method are mostly used for links that
have no dots within them
echo domlink('res.some-link.item');
http://domain/res/some-image/item