fixes #3894
#3894
Merge pull request #3900 from dotCMS/issue-3894-links-broken-in-copied-host

fixes #3894