fixes #5589 htmlpage redirect not working with external links
Merge pull request #5606 from dotCMS/issue-5589-htmlpage-redirect-not-working-with-external-links

fixes #5589 htmlpage redirect not working with external links