You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hey @joedakroub , that's actually a bug. it shouldn't be hardcoded. working on a fix. will reach out to you once i open a PR for the team to review. thanks for raising this!
hey @joedakroub , PR is open at #608. as a drashland rule, we can't release this fix/feature without documentation. i'll be writing that documentation sometime tomorrow. again, thanks for bringing up this issue!
@joedakroub , documentation is written. will have this released soon after the docs are approved. ill ping you once we release and will close out this issue afterward
Summary
What:
When calling
this.redirect(url, response)
, the status code is hard-coded to 302.It would be beneficial to be able to set the status code to 301 as well for permanent redirects.
Why:
From an SEO perspective, it is considered a good practice to use 301 instead of 302 for redirecting pages.
Acceptance Criteria
Below is a list of tasks that must be completed before this issue can be closed.
Example Pseudo Code (for implementation)
Or possibly alter the method signature:
The text was updated successfully, but these errors were encountered: