Open fernandolucchesi opened 9 months ago
Todo:
[ ] Test really good on staging
[x] move the getRedirect logic into own vanillajs file, similar to securityHEaders
[x] Document js as if ts
[ ] Change redirects documentation on wiki.
@padms @millianapia Can you test redirects in staging environment? Needs to be checked:
@BorghildSelle - nothing for me to test here I assume? :smile:
@meols not yet, developers must test first :)
@BorghildSelle - will this fix issues in the siteimprove reports linked below? We see a spike around 25 April in several of the reports, and don't understand why why we have a sudden increase. https://my2.siteimprove.com/SEOv2/550893/Recommendations/RedirectsChain https://my2.siteimprove.com/SEOv2/550893/Recommendations/Redirects301 https://my2.siteimprove.com/SEOv2/550893/Recommendations/RedirectsNot301 https://my2.siteimprove.com/SEOv2/550893/Recommendations/RedirectsMixed
@padms Put this back in to do, so we can do the suggestion we talked about with returning after all conditions have been checked
Potential fix is fetching redirects during build time