<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>WordPress &#8250; Support Topic: 404 Error after edit -&#62; Update Post</title>
<link>http://wordpress.org/support/</link>
<description>WordPress &#8250; Support Topic: 404 Error after edit -&#62; Update Post</description>
<language>en</language>
<pubDate>Thu, 26 Nov 2009 05:28:39 +0000</pubDate>

<item>
<title>atimoda on "404 Error after edit -&#62; Update Post"</title>
<link>http://wordpress.org/support/topic/224111#post-1273450</link>
<pubDate>Sat, 07 Nov 2009 16:45:13 +0000</pubDate>
<dc:creator>atimoda</dc:creator>
<guid isPermaLink="false">1273450@http://wordpress.org/support/</guid>
<description>&#60;p&#62;None of these solutions works for me, but i think my problem is the same: &#60;a href=&#34;http://wordpress.org/support/topic/329309&#34; rel=&#34;nofollow&#34;&#62;http://wordpress.org/support/topic/329309&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>cyberfrogz on "404 Error after edit -&#62; Update Post"</title>
<link>http://wordpress.org/support/topic/224111#post-1254797</link>
<pubDate>Thu, 22 Oct 2009 05:33:11 +0000</pubDate>
<dc:creator>cyberfrogz</dc:creator>
<guid isPermaLink="false">1254797@http://wordpress.org/support/</guid>
<description>&#60;pre&#62;&#60;code&#62;SecFilterEngine Off
SecFilterScanPOST Off&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;It's works for me...,thanks alot dude...
&#60;/p&#62;</description>
</item>
<item>
<title>shubhamoy on "404 Error after edit -&#62; Update Post"</title>
<link>http://wordpress.org/support/topic/224111#post-1172712</link>
<pubDate>Wed, 12 Aug 2009 19:19:03 +0000</pubDate>
<dc:creator>shubhamoy</dc:creator>
<guid isPermaLink="false">1172712@http://wordpress.org/support/</guid>
<description>&#60;p&#62;@ Jo0lz&#60;br /&#62;
I'm facing exactly the same problem and applied the fix suggested by you but everything was in vain since I'm still getting 404 page on posting an article.
&#60;/p&#62;</description>
</item>
<item>
<title>tvdsluijs on "404 Error after edit -&#62; Update Post"</title>
<link>http://wordpress.org/support/topic/224111#post-1050758</link>
<pubDate>Mon, 20 Apr 2009 09:19:28 +0000</pubDate>
<dc:creator>tvdsluijs</dc:creator>
<guid isPermaLink="false">1050758@http://wordpress.org/support/</guid>
<description>&#60;p&#62;This&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;SecFilterEngine Off
SecFilterScanPOST Off&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Works for me to !
&#60;/p&#62;</description>
</item>
<item>
<title>PressClick on "404 Error after edit -&#62; Update Post"</title>
<link>http://wordpress.org/support/topic/224111#post-1002994</link>
<pubDate>Mon, 02 Mar 2009 18:13:23 +0000</pubDate>
<dc:creator>PressClick</dc:creator>
<guid isPermaLink="false">1002994@http://wordpress.org/support/</guid>
<description>&#60;p&#62;This is the solution that worked for me:&#60;/p&#62;
&#60;p&#62;Upload an .htaccess with the following 2 lines:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;SecFilterEngine Off
SecFilterScanPOST Off&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>Hanenwurger on "404 Error after edit -&#62; Update Post"</title>
<link>http://wordpress.org/support/topic/224111#post-973977</link>
<pubDate>Mon, 02 Feb 2009 22:17:27 +0000</pubDate>
<dc:creator>Hanenwurger</dc:creator>
<guid isPermaLink="false">973977@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Thanks for that, novada. Sheds a very clear light on the matter. &#60;/p&#62;
&#60;p&#62;Ok, Jo0lz, let's do that then. Thanks.
&#60;/p&#62;</description>
</item>
<item>
<title>novada on "404 Error after edit -&#62; Update Post"</title>
<link>http://wordpress.org/support/topic/224111#post-972958</link>
<pubDate>Sun, 01 Feb 2009 19:20:05 +0000</pubDate>
<dc:creator>novada</dc:creator>
<guid isPermaLink="false">972958@http://wordpress.org/support/</guid>
<description>&#60;p&#62;I stumbled across the same problem after moving to a host that uses Mod Security. In my case my post was triggering a SQL Injection attack warning so Mod Security was 404 redirecting the request. &#60;/p&#62;
&#60;p&#62;Mod Security was concerned because my post contained the word &#34;select&#34; followed by the word &#34;from&#34;. It did not seem to care that these words were 2 paragraphs apart? &#60;/p&#62;
&#60;p&#62;Has WordPress worked with Mod Security on this issue and do they have any recommendations? Is disabling Mod Security the best option. If so should it be done in the directory that WordPress is installed in or should it be done just in the /wp-admin directory? I would hope that WordPress does not have any SQL Injection vulnerabilities. If so is it safe to tell Mod Security to not worry about POSTS/GETS to /wp-admin/page.php
&#60;/p&#62;</description>
</item>
<item>
<title>Jo0Lz on "404 Error after edit -&#62; Update Post"</title>
<link>http://wordpress.org/support/topic/224111#post-966276</link>
<pubDate>Sun, 25 Jan 2009 21:15:22 +0000</pubDate>
<dc:creator>Jo0Lz</dc:creator>
<guid isPermaLink="false">966276@http://wordpress.org/support/</guid>
<description>&#60;p&#62;You can try putting in the following code&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;# BEGIN 404 Fix

&#38;lt;IfModule mod_security.c&#38;gt;
SecFilterEngine Off
SecFilterPost Off
&#38;lt;/IfModule&#38;gt;

# END 404 Fix&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;instead of&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;# BEGIN 404 Fix

&#38;lt;IfModule mod_env.c&#38;gt;
SetEnv MODSEC_ENABLE Off
PassEnv MODSEC_ENABLE
&#38;lt;/IfModule&#38;gt;

# END 404 Fix&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>jonathanlimusic on "404 Error after edit -&#62; Update Post"</title>
<link>http://wordpress.org/support/topic/224111#post-962881</link>
<pubDate>Thu, 22 Jan 2009 02:23:58 +0000</pubDate>
<dc:creator>jonathanlimusic</dc:creator>
<guid isPermaLink="false">962881@http://wordpress.org/support/</guid>
<description>&#60;p&#62;editing the .htaccess file didn't work for me either
&#60;/p&#62;</description>
</item>
<item>
<title>jonathanlimusic on "404 Error after edit -&#62; Update Post"</title>
<link>http://wordpress.org/support/topic/224111#post-962879</link>
<pubDate>Thu, 22 Jan 2009 02:19:18 +0000</pubDate>
<dc:creator>jonathanlimusic</dc:creator>
<guid isPermaLink="false">962879@http://wordpress.org/support/</guid>
<description>&#60;p&#62;editing the .htaccess file didn't work for me either
&#60;/p&#62;</description>
</item>
<item>
<title>Hanenwurger on "404 Error after edit -&#62; Update Post"</title>
<link>http://wordpress.org/support/topic/224111#post-958012</link>
<pubDate>Fri, 16 Jan 2009 19:41:12 +0000</pubDate>
<dc:creator>Hanenwurger</dc:creator>
<guid isPermaLink="false">958012@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Editing a comment works fine, unlike the post.
&#60;/p&#62;</description>
</item>
<item>
<title>Hanenwurger on "404 Error after edit -&#62; Update Post"</title>
<link>http://wordpress.org/support/topic/224111#post-957053</link>
<pubDate>Thu, 15 Jan 2009 20:28:55 +0000</pubDate>
<dc:creator>Hanenwurger</dc:creator>
<guid isPermaLink="false">957053@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Unfortunately the .htaccess modifications didn't work for me, same goes for the avatar-plugin. &#60;/p&#62;
&#60;p&#62;From what I heard, modifying the .htaccess file can solve a lot of issues, but it's advised to leave this file as it is. It &#60;em&#62;did&#60;/em&#62; solve some of the WP-issues I had before 2.7, but it seems like the bugs got resistant now :)&#60;/p&#62;
&#60;p&#62;I'm sure your method will help a lot of users struggling with this issue, but as you mentionned: answers from WP-experts might give a fully waterproof solution.&#60;/p&#62;
&#60;p&#62;Eitherway, thanks for the time and energy you've put in this fix - I think it will help most of the people out who are landing on this page.
&#60;/p&#62;</description>
</item>
<item>
<title>Jo0Lz on "404 Error after edit -&#62; Update Post"</title>
<link>http://wordpress.org/support/topic/224111#post-956535</link>
<pubDate>Thu, 15 Jan 2009 10:46:39 +0000</pubDate>
<dc:creator>Jo0Lz</dc:creator>
<guid isPermaLink="false">956535@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Okay, I've found a fix, but I'm no server expert, so I don't know if I just created a security issue, but here goes.&#60;/p&#62;
&#60;p&#62;I've been having this problem for a while now, and I am convinced that it's a server configuration issue. This is because on my home server and several other Wordpress installation, this error does not occur. It's strange however, that this problem only arises after installing WP 2.7.&#60;/p&#62;
&#60;p&#62;There are a few changes I made to the .htaccess file, in order to find a solution by using a &#34;trial and error&#34; method. (Thanks Hanewurger, your post helped me out A LOT!)&#60;/p&#62;
&#60;p&#62;Here's what I added to the .htaccess file:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;# BEGIN 404 Fix

&#38;lt;IfModule mod_env.c&#38;gt;
SetEnv MODSEC_ENABLE Off
PassEnv MODSEC_ENABLE
&#38;lt;/IfModule&#38;gt;

#END 404 Fix&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;The original (Wordpress generated) .htaccess looked like this:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;# BEGIN WordPress

&#38;lt;IfModule mod_rewrite.c&#38;gt;
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
&#38;lt;/IfModule&#38;gt;

# END WordPress&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;So, after my edit, the .htaccess looks like this:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;# BEGIN WordPress
&#38;lt;IfModule mod_rewrite.c&#38;gt;
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
&#38;lt;/IfModule&#38;gt;

# END WordPress

# BEGIN 404 Fix

&#38;lt;IfModule mod_env.c&#38;gt;
SetEnv MODSEC_ENABLE Off
PassEnv MODSEC_ENABLE
&#38;lt;/IfModule&#38;gt;

#END 404 Fix&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;The 404 errors after updating posts are now solved. However, I'm not an expert, but why does this happen, and why do I have to make this adjustment? I wonder if this causes any security problems on my domain... Is there anyone who can shed some light on this issue?&#60;/p&#62;
&#60;p&#62;@Hanewurger, maybe you can try this solution and see if that Avatar Plug-in issue is solved as well?&#60;/p&#62;
&#60;p&#62;@Danielbachhuber, in the link that Hanewurger provided is some information on other possible solutions. You might want to try them out, because the post was really there to help solve &#34;Error 500&#34; issues.&#60;/p&#62;
&#60;p&#62;Hope anyone is helped by this, and I hope someone can shed some light on the security questions ;)&#60;/p&#62;
&#60;p&#62;Regards,&#60;br /&#62;
Jo0Lz.
&#60;/p&#62;</description>
</item>
<item>
<title>danielbachhuber on "404 Error after edit -&#62; Update Post"</title>
<link>http://wordpress.org/support/topic/224111#post-946606</link>
<pubDate>Tue, 06 Jan 2009 06:05:00 +0000</pubDate>
<dc:creator>danielbachhuber</dc:creator>
<guid isPermaLink="false">946606@http://wordpress.org/support/</guid>
<description>&#60;p&#62;I've got the same problem on two instances of Wordpress, although they're exhibiting different behavior. On my personal site, I only get &#34;Error 500&#34; right after I publish a post and when I try to delete a post. On an organizational site, I get &#34;Error 500&#34; on every URL including /wp-admin/. That problem occurred when I tried to reactivate the plugins after a manual upgrade.
&#60;/p&#62;</description>
</item>
<item>
<title>Hanenwurger on "404 Error after edit -&#62; Update Post"</title>
<link>http://wordpress.org/support/topic/224111#post-945037</link>
<pubDate>Sun, 04 Jan 2009 21:54:06 +0000</pubDate>
<dc:creator>Hanenwurger</dc:creator>
<guid isPermaLink="false">945037@http://wordpress.org/support/</guid>
<description>&#60;p&#62;It doesn't have anything to do with activated plug-in's either, eventhough the &#60;a href=&#34;http://wordpress.org/extend/plugins/add-local-avatar/&#34;&#62;avatar plug-in&#60;/a&#62; suffers from this issue.
&#60;/p&#62;</description>
</item>
<item>
<title>Hanenwurger on "404 Error after edit -&#62; Update Post"</title>
<link>http://wordpress.org/support/topic/224111#post-942505</link>
<pubDate>Fri, 02 Jan 2009 12:56:17 +0000</pubDate>
<dc:creator>Hanenwurger</dc:creator>
<guid isPermaLink="false">942505@http://wordpress.org/support/</guid>
<description>&#60;p&#62;&#60;a href=&#34;http://abing.gotdns.com/posts/2006/wordpress-error-404-when-publishing-or-saving-post/&#34;&#62;This&#60;/a&#62; looks similar...
&#60;/p&#62;</description>
</item>
<item>
<title>Jo0Lz on "404 Error after edit -&#62; Update Post"</title>
<link>http://wordpress.org/support/topic/224111#post-941661</link>
<pubDate>Thu, 01 Jan 2009 09:58:51 +0000</pubDate>
<dc:creator>Jo0Lz</dc:creator>
<guid isPermaLink="false">941661@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Ok, weird thing. I've posted a &#34;happy new year&#34; blog post.&#60;br /&#62;
I can update that post fine, it returns to the edit screen, with the message &#34;post updated&#34;.&#60;/p&#62;
&#60;p&#62;But, a post about christmas presents, still gives me the 404 after updating... :D&#60;/p&#62;
&#60;p&#62;Navigating away from the admin panel, and moving back in, editing the same &#34;happy new year&#34; post, again gives me that 404 error.&#60;/p&#62;
&#60;p&#62;In the case of error 404, it redirects to message=1, but earlier it was redirecting to message=6...&#60;/p&#62;
&#60;p&#62;I'm at a loss here...
&#60;/p&#62;</description>
</item>
<item>
<title>Hanenwurger on "404 Error after edit -&#62; Update Post"</title>
<link>http://wordpress.org/support/topic/224111#post-941447</link>
<pubDate>Wed, 31 Dec 2008 22:33:37 +0000</pubDate>
<dc:creator>Hanenwurger</dc:creator>
<guid isPermaLink="false">941447@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Cheers man, keep us posted!
&#60;/p&#62;</description>
</item>
<item>
<title>Jo0Lz on "404 Error after edit -&#62; Update Post"</title>
<link>http://wordpress.org/support/topic/224111#post-940436</link>
<pubDate>Tue, 30 Dec 2008 18:34:10 +0000</pubDate>
<dc:creator>Jo0Lz</dc:creator>
<guid isPermaLink="false">940436@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Okay, I found out the piece of URI produced by pressing the &#34;update post&#34; button, that doesn't work, but do not yet know how to fix it.&#60;/p&#62;
&#60;p&#62;The URI that I get redirected to:&#60;br /&#62;
&#60;a href=&#34;http://mysite.x/wp-admin/post.php?action=edit&#38;#38;post=27&#38;#38;_wp_original_http_referer=http%3A%2F%2Fmysite.x%2Fwp-admin%2Fedit.php&#38;#38;message=1&#34; rel=&#34;nofollow&#34;&#62;http://mysite.x/wp-admin/post.php?action=edit&#38;#38;post=27&#38;#38;_wp_original_http_referer=http%3A%2F%2Fmysite.x%2Fwp-admin%2Fedit.php&#38;#38;message=1&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;The URI that works:&#60;br /&#62;
&#60;a href=&#34;http://mysite.x/wp-admin/post.php?action=edit&#38;#38;post=27&#38;#38;_wp_original_http_referer=http%3A%2F%2Fmysite.x%2Fwp-admin%2Fedit.php&#34; rel=&#34;nofollow&#34;&#62;http://mysite.x/wp-admin/post.php?action=edit&#38;#38;post=27&#38;#38;_wp_original_http_referer=http%3A%2F%2Fmysite.x%2Fwp-admin%2Fedit.php&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;But it doesn't show the &#34;Post updated. Continue editing below or &#34;go back&#34; message, which I figure is added by the &#38;#38;message=1 ...&#60;/p&#62;
&#60;p&#62;Going to digg into this.
&#60;/p&#62;</description>
</item>
<item>
<title>Hanenwurger on "404 Error after edit -&#62; Update Post"</title>
<link>http://wordpress.org/support/topic/224111#post-940181</link>
<pubDate>Tue, 30 Dec 2008 12:22:02 +0000</pubDate>
<dc:creator>Hanenwurger</dc:creator>
<guid isPermaLink="false">940181@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Same here... It's been doing that for a long while now. Quite irritating.&#60;/p&#62;
&#60;p&#62;&#38;lt;i&#38;gt;Quick edit&#38;lt;/i&#38;gt; works fine though.
&#60;/p&#62;</description>
</item>
<item>
<title>procdaddy on "404 Error after edit -&#62; Update Post"</title>
<link>http://wordpress.org/support/topic/224111#post-930949</link>
<pubDate>Fri, 19 Dec 2008 15:12:23 +0000</pubDate>
<dc:creator>procdaddy</dc:creator>
<guid isPermaLink="false">930949@http://wordpress.org/support/</guid>
<description>&#60;p&#62;same exact thing is happening to me, i had installed RC2 and it has happened ever since.
&#60;/p&#62;</description>
</item>
<item>
<title>Jo0Lz on "404 Error after edit -&#62; Update Post"</title>
<link>http://wordpress.org/support/topic/224111#post-926961</link>
<pubDate>Tue, 16 Dec 2008 10:13:23 +0000</pubDate>
<dc:creator>Jo0Lz</dc:creator>
<guid isPermaLink="false">926961@http://wordpress.org/support/</guid>
<description>&#60;p&#62;I've just tested this on a clean install of 2.7, and after pressing &#34;Update Post&#34; I get redirected to the edit page. So, the problem might be related to updated install's of wordpress...&#60;/p&#62;
&#60;p&#62;I'll be upgrading some other blogs this week, going to see if they have the same problem. If so, I might try a clean install, and importing everything into that install.
&#60;/p&#62;</description>
</item>
<item>
<title>iSimone on "404 Error after edit -&#62; Update Post"</title>
<link>http://wordpress.org/support/topic/224111#post-922407</link>
<pubDate>Fri, 12 Dec 2008 14:02:26 +0000</pubDate>
<dc:creator>iSimone</dc:creator>
<guid isPermaLink="false">922407@http://wordpress.org/support/</guid>
<description>&#60;p&#62;I don't get the 404 error, though I'm redirected to &#60;a href=&#34;http://wordpress.org/support/topic/224691?replies=1&#34;&#62;white pages&#60;/a&#62;. It's a pity. This problem and the &#60;a href=&#34;http://wordpress.org/support/topic/224402?replies=7&#34;&#62;feed problem&#60;/a&#62; make it a bit painful.
&#60;/p&#62;</description>
</item>
<item>
<title>Jo0Lz on "404 Error after edit -&#62; Update Post"</title>
<link>http://wordpress.org/support/topic/224111#post-922401</link>
<pubDate>Fri, 12 Dec 2008 13:56:59 +0000</pubDate>
<dc:creator>Jo0Lz</dc:creator>
<guid isPermaLink="false">922401@http://wordpress.org/support/</guid>
<description>&#60;p&#62;No-one with the exact same problem?&#60;/p&#62;
&#60;p&#62;I'm going to install a test wordpress (development server) to see if it's related to my site.
&#60;/p&#62;</description>
</item>
<item>
<title>Jo0Lz on "404 Error after edit -&#62; Update Post"</title>
<link>http://wordpress.org/support/topic/224111#post-920390</link>
<pubDate>Thu, 11 Dec 2008 09:40:26 +0000</pubDate>
<dc:creator>Jo0Lz</dc:creator>
<guid isPermaLink="false">920390@http://wordpress.org/support/</guid>
<description>&#60;p&#62;I just tested to see if this was a template fault, but it seems that even with the default theme this error occurs.&#60;br /&#62;
I've adjusted permalink structure, set it to default, but that doesn't matter either. The 404 error persists.&#60;/p&#62;
&#60;p&#62;I'm going to update another blog, hope that the error won't appear there... If it doesn't, it still is going to be a pain to find out what is causing it. Weird because I haven't seen any forum posts on this, so it might be just me having this error.
&#60;/p&#62;</description>
</item>
<item>
<title>Jo0Lz on "404 Error after edit -&#62; Update Post"</title>
<link>http://wordpress.org/support/topic/224111#post-920296</link>
<pubDate>Thu, 11 Dec 2008 07:31:36 +0000</pubDate>
<dc:creator>Jo0Lz</dc:creator>
<guid isPermaLink="false">920296@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Hi everyone!&#60;/p&#62;
&#60;p&#62;I've had this problem, ever since I installed 2.7 RC1.&#60;br /&#62;
Whenever I edit an existing post, save some tags, make some adjustments to the post, etc. And then click &#34;Update Post&#34;, I get a 404 not found error.&#60;/p&#62;
&#60;p&#62;I get redirected, after pressing &#34;save&#34; and the url generated is something like this:&#60;br /&#62;
&#60;code&#62;&#60;a href=&#34;http://mysite.com/wp-admin/post.php?action=edit&#38;#38;post=934&#38;#38;_wp_original_http_referer=http%3A%2F%2Fmysite.com%2Fwp-admin%2Fedit.php&#38;#38;message=1&#38;#038;quot&#34; rel=&#34;nofollow&#34;&#62;http://mysite.com/wp-admin/post.php?action=edit&#38;#38;post=934&#38;#38;_wp_original_http_referer=http%3A%2F%2Fmysite.com%2Fwp-admin%2Fedit.php&#38;#38;message=1&#38;#038;quot&#60;/a&#62;;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;This generates the 404. The post is there, I can view it in the list, and as a single post just fine. Any ideas as to what's causing this?&#60;/p&#62;
&#60;p&#62;Thanks.
&#60;/p&#62;</description>
</item>

</channel>
</rss>
