Title: stackers's Replies | WordPress.org

---

# stackers

  [  ](https://wordpress.org/support/users/stackers/)

 *   [Profile](https://wordpress.org/support/users/stackers/)
 *   [Topics Started](https://wordpress.org/support/users/stackers/topics/)
 *   [Replies Created](https://wordpress.org/support/users/stackers/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/stackers/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/stackers/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/stackers/engagements/)
 *   [Favorites](https://wordpress.org/support/users/stackers/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Clicking ‘Update Page’ results in a 404](https://wordpress.org/support/topic/clicking-update-page-results-in-a-404/)
 *  [stackers](https://wordpress.org/support/users/stackers/)
 * (@stackers)
 * [17 years ago](https://wordpress.org/support/topic/clicking-update-page-results-in-a-404/#post-1060914)
 * Hi
 * The problem was any time that the _wp_original_http_referer parameter was in 
   a URL I was getting a 404. I think the only time I was getting this was when 
   hitting update on a page or post. I don’t know enough about apache security or
   my host’s set up to say why. I tried the SecFilterInheritance thing in .htaccess
   but that didn’t work.
 * Hacking out the line in post.php prevents the route cause of the problem i.e.
   when the post.php is cooking up the redirect URL after I hit update post, it 
   no longer includes _wp_original_http_referer and hence no more 404 error.
 * Still no adverse problems so I’m quite happy. I’ll keep an eye out for a proper
   solution but I’ve seen so many posts on this issue and none of the other solutions
   worked for me.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Clicking ‘Update Page’ results in a 404](https://wordpress.org/support/topic/clicking-update-page-results-in-a-404/)
 *  [stackers](https://wordpress.org/support/users/stackers/)
 * (@stackers)
 * [17 years ago](https://wordpress.org/support/topic/clicking-update-page-results-in-a-404/#post-1060903)
 * ‘Fixed’ it by commenting out the following line in wp-admin\page.php and wp-admin\
   post.php as shown:
    `/*'_wp_original_http_referer' => urlencode( stripslashes(
   $_POST['_wp_original_http_referer'] ) ),*/`
 * Not seen any adverse effects yet…
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Clicking ‘Update Page’ results in a 404](https://wordpress.org/support/topic/clicking-update-page-results-in-a-404/)
 *  [stackers](https://wordpress.org/support/users/stackers/)
 * (@stackers)
 * [17 years ago](https://wordpress.org/support/topic/clicking-update-page-results-in-a-404/#post-1060897)
 * Hi
 * I’m getting this problem also – exactly the same effect where the update commits
   but I get redirected to the 404 page or home page depending on how my permalinks
   are set up. I’m also in the same boat – I can live with it but the guys who will
   use it may freak out.
 * I’ve scoured through the other forum posts similar to this – I’ve messed around
   with .htaccess as suggested and no joy e.g.
 *     ```
       <ifmodule mod_security.c>
       SecFilterEngine Off
       SecFilterPost Off
       </ifmodule>
       ```
   
 * I’m using [http://www.eukhost.com](http://www.eukhost.com) for hosting – I’ve
   seen eukhost mentioned in other posts with similar issues.
 * Cheers
    Stef

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