最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

plugins - 404 errors when updating options in admin dashboard

programmeradmin6浏览0评论

Whenever I try to update my Permalink settings or use the Theme Editor to modify some file, I am redirected to a 404 page. This also happens when I update the All-In-One SEO Pack plugin's settings. This does not happen in the case of other settings pages or plugin options. I have tried re-uploading WordPress from a fresh local copy, and have also tried deactivating all plugins. My hosting provider has given up, blaming WordPress. What is wrong here?

Some things I suspect:

  • My .htaccess file. I am not using anything extra, other than turning off mod_security.
  • Suhosin. After a recent security breach, my provider recompiled PHP with Suhosin. I have disabled it currently, which solved a lot of compatibility problems with other plugins.
  • File/folder permissions.
  • PHP memory issues, maybe?

Whenever I try to update my Permalink settings or use the Theme Editor to modify some file, I am redirected to a 404 page. This also happens when I update the All-In-One SEO Pack plugin's settings. This does not happen in the case of other settings pages or plugin options. I have tried re-uploading WordPress from a fresh local copy, and have also tried deactivating all plugins. My hosting provider has given up, blaming WordPress. What is wrong here?

Some things I suspect:

  • My .htaccess file. I am not using anything extra, other than turning off mod_security.
  • Suhosin. After a recent security breach, my provider recompiled PHP with Suhosin. I have disabled it currently, which solved a lot of compatibility problems with other plugins.
  • File/folder permissions.
  • PHP memory issues, maybe?
Share Improve this question asked Nov 23, 2010 at 5:53 GPXGPX 3276 silver badges14 bronze badges 2
  • 1 Are you using a commercial theme or something homemade? I've seen a couple of themes that hook into awkward places in the admin area leaving broken pages and unintended redirects. A site I looked at this morning was redirecting users to a wp_die message when they tried to edit links. – goldenapples Commented Nov 23, 2010 at 6:22
  • I am using a commercial theme from Smashing Magazine. Fact is, I've been using it for almost 2 years now, and have never had these issues. Recently, the shared server where my website was hosted was breached and they had to reinstall their stuff, and only after that am I experiencing such problems. So I'm quite sure that the theme is not the culprit! – GPX Commented Nov 23, 2010 at 7:48
Add a comment  | 

1 Answer 1

Reset to default 1

Double check mod_security and ask hosting to check its logs. It can be configured to ignore .htaccess and obscure 404 in admin seems like something it does at times.

I had to ask my hosting to explicitly whitelist WP core files some files in mod_security on their end for everything to work properly.

发布评论

评论列表(0)

  1. 暂无评论