Title: Change default Redirect HTTP Code
Last modified: November 19, 2022

---

# Change default Redirect HTTP Code

 *  Resolved [datverse](https://wordpress.org/support/users/datverse/)
 * (@datverse)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/change-default-redirect-http-code/)
 * Hi,
    Default when create a redirect default HTTP Code is 301. How can I change
   the default code 302 or something else (by Hook, PHP code)?
 * Thanks
    -  This topic was modified 3 years, 6 months ago by [datverse](https://wordpress.org/support/users/datverse/).

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [John Godley](https://wordpress.org/support/users/johnny5/)
 * (@johnny5)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/change-default-redirect-http-code/#post-16214876)
 * There is no option to change the default. You will need to change it when you
   create a redirect.
 *  Thread Starter [datverse](https://wordpress.org/support/users/datverse/)
 * (@datverse)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/change-default-redirect-http-code/#post-16214883)
 * Hi,
    Thanks for your reply ❤️
 * Can you add a Hook to do this in feature?
 * Thanks
 *  [Michael Habib](https://wordpress.org/support/users/michaelhabib16/)
 * (@michaelhabib16)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/change-default-redirect-http-code/#post-16217392)
 * +1
 * I came here to ask the exact same question . All our redirects are temporary 
   and forgetting to change one is a huge problem (now stuck with a perm redirect
   page that’s hard to fix )

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Change default Redirect HTTP Code’ is closed to new replies.

 * ![](https://ps.w.org/redirection/assets/icon-256x256.jpg?rev=983639)
 * [Redirection](https://wordpress.org/plugins/redirection/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/redirection/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/redirection/)
 * [Active Topics](https://wordpress.org/support/plugin/redirection/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/redirection/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/redirection/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [Michael Habib](https://wordpress.org/support/users/michaelhabib16/)
 * Last activity: [3 years, 6 months ago](https://wordpress.org/support/topic/change-default-redirect-http-code/#post-16217392)
 * Status: resolved