stackers
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Clicking ‘Update Page’ results in a 404Hi
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
In reply to: Clicking ‘Update Page’ results in a 404‘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
In reply to: Clicking ‘Update Page’ results in a 404Hi
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 for hosting – I’ve seen eukhost mentioned in other posts with similar issues.
Cheers
Stef