akosthurzo/liferay-portal — pull request #7 by ZoltanTakacs (2013-11-18 21:19:05+00:00)
Title: LPS-42203 - Virtual hosts in robots.txt not updated

Hi Ákos,

I've fixed the use case as well when the robots.txt was saved even if the Site URL wasn't set to the default public site.

To sum up: This issue comes from the fact that the robots.txt is saved in the groups's typeSettings when the site get updated even though it wasn't altered on the UI, thus the portal won't use the default template in which the $HOST$ would be resolved.

Thanks