Title: action_code=0
Last modified: August 13, 2017

---

# action_code=0

 *  Resolved [gotcha5832](https://wordpress.org/support/users/gotcha5832/)
 * (@gotcha5832)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/action_code0/)
 * i’m using this module for couple of years, and dicover today many redirection
   with an action_code=0
 * i guess it’s kind of desactivation of redirection
    if some of theme seems logical
   as natively it will be manage as /cat1/post_amazing -> /cat2/post_amazing
 * but some are also in action_code=0
    /cat1/post-1/ -> /cat2/post-2/ if the redirection
   will be done, the code will be an 302

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

 *  Plugin Author [John Godley](https://wordpress.org/support/users/johnny5/)
 * (@johnny5)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/action_code0/#post-9407154)
 * I’m a bit confused – can you explain what the problem is?
 *  Thread Starter [gotcha5832](https://wordpress.org/support/users/gotcha5832/)
 * (@gotcha5832)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/action_code0/#post-9411187)
 * thanks to take time for answer and sorry about my explanation.
 * I’ll try to be more clear
    As you know on /wp-admin/tools.php?page=redirection.
   php, in redirection tab we got a left column “type” (301, 302…) In my table I
   got many type=”0″ wich mean in database action_code=0
 * An example is a post which have been moved
    /cat1/post_amazing -> /cat2/post_amazing
   the type of redirection is 0, but if I check is a 302
 * if i edit it, with “show advanced option we got
    _When matched URL only with 
   HTTP code 301_
 * If I save it, still the same.
 * I have to change to 302, then save, then edit again, change to 301 and save in
   order to get 301,
    OR just disable or remove redirection in order to get a 301
 *  Plugin Author [John Godley](https://wordpress.org/support/users/johnny5/)
 * (@johnny5)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/action_code0/#post-9411850)
 * Ohh, weird.
 * Does this happen for new redirects, or just some of your existing ones?
 * Could you send me a JSON export? That should contain enough data for me to see
   what you have stored, and maybe figure out what happened. You can contact me 
   through the website on my profile.
 *  Thread Starter [gotcha5832](https://wordpress.org/support/users/gotcha5832/)
 * (@gotcha5832)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/action_code0/#post-9413164)
 * It’s seems this happen only on new post move.
 * But I got 10’s websites, after check this happen only on 1.
    Today, I cannot 
   send you an export as I done ;
 * Update wp_redirect_item Set `action_code`=301 WHERE Set `action_code`=301
 * But I’ll try to send you as soon as i got some more action_code=0

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

The topic ‘action_code=0’ 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/)

 * 4 replies
 * 2 participants
 * Last reply from: [gotcha5832](https://wordpress.org/support/users/gotcha5832/)
 * Last activity: [8 years, 9 months ago](https://wordpress.org/support/topic/action_code0/#post-9413164)
 * Status: resolved