fixes #4555 dotCMS uses redirect 301 instead of 302
Merge pull request #4646 from dotCMS/issue-4555-dotCMS-uses-redirect-301-instead-of-302

fixes #4555 dotCMS uses redirect 301 instead of 302