Whenever I edit any theme code in my Dashboard -> Appearance -> Editor and try to save it, the file is not saved and it automatically redirects me to the homepage.

I don't know why is this happening. I cleared the cache through the W3-Total Cache plugin.

A few hours before I did the same process, it was working perfectly.

But now, I can't tell what the problem is.

I also tried the same process in a different browser: the result is the same.

I'm using the latest version of WordPress (Version 3.0.4).

  • 1
    Are you using the redirection plugin? What other plugins are installed?
    – Chris_O
    Commented Jan 28, 2011 at 17:47
  • @Chris_O I was not using any redirection plugin, but after changing the name of 3 pages, this is happening, I tried the solution provided by @Jonnybojangles but still not working Commented Jan 29, 2011 at 4:37

1 Answer 1


I experienced an issue similar to this several months ago. I was using a plugin to kill query strings from the URL for SEO purposes. Long story short the plugin was killing search pages and admin pages as well.

As Chris_O mentioned the redirection plugin I encountered a similar redirection issue when track modify posts is enabled.

The plugin is smart enough to realize when you edit a post or page and will set up a redirect if the post or page's permalink has changed. However, when creating a new page this feature will create a redirect back to the root because the page has never existed before. More found here (http://www.blakeimeson.com/wordpress-redirection-plugin-home-page-redirect-problem-bug/ and http://tulsawebresults.com/solution-wordpress-redirection-plugin-error ).

  • I tried both, but when I did as per this link tulsawebresults.com/solution-wordpress-redirection-plugin-error still same thing happens, no change, but when I tried the next link, and deleted the posts, it gets deleted, when I come back to that group, the links are still there, Its not getting deleted. Commented Jan 29, 2011 at 4:35
  • @everyone I solved this by just adding some few lines in .htaccess file, the actual reason was, sometimes server changes some mod_security.c due to which, this was happening, this blog helped me to figure it out, nirajmchauhan.blogspot.com/2011/01/… Commented Jan 30, 2011 at 14:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.