WordPress – /wp-admin/post.php page goes blank when you try to edit a post and save it
Ajay on November 19th, 2008I’ve been facing a strange problem in WordPress. When I try to edit a post and then save it the page /wp-admin/post.php goes blank, the post was saved though.
However I could go back to the Admin and access other menus normally.
It happened when I moved my blog from one host to another.
First I thought it might be file permission problem but it turned out not to be a file permissions problem.
With Internet search and some debugging I discovered that All in SEO plugin was causing problem which I discovered by disabling all the plugin and enabling them one by one.
Updated on 24-Nov-11
When I posted this problem I didn’t realize that there are many people out there facing similar issues. I’ve moved hundreds of blogs between hosts since then but I never faced this problem again.
But looking at the comments below it seems it is a common problem.
So I’m providing few more tips on solving this issue.
If you see the page goes blank after updating or posting a new post then the first thing you have to do is to do soul searching on what exactly you changed in the past.
1) Did you move your blog from one host to another?
If you have moved the blog from one host to another then the problem might be with the extra lines after the closing ?> tag in the php files.
To check it, open all the php files in root folder in any text editor/Dreamweaver place cursor after ?> and press and hold DEL key on your keyboard till you see nothing is getting deleted. This will clear out any extra spaces or lines.
Do it for the theme files as well.
If this doesn’t solve the problem then you need to find any script which can clear out extra spaces/lines after closing ?>
I don’t know any such script but you can find it easily by Googling
2) Plugins
There might be some plugin causing this problem, or some files in the plugin causing this issue. The actual cause might be moving blog from one host to another or some corruption during plugin update or WordPress update.
The solution is to disable all plugins and enable them one by one and check for the problem till you find the culprit plugin.
You can remove the culprit plugin and re install it.
To sump up this is not a very serious issue and it is more or less file corruption. So keep your head cool and sort it out with above instructions.

thank you so much!
[Reply]
Thanks so much for your wisdom! I was pulling my hair out trying to figure out what happened and as soon as I deactivated this, it worked! Thanks again!
[Reply]
I am having the same problem too, only it is likely a result of the something I did to the functions.php. I am sure whoever wrote All in SEO plugin made a similar mistake and that is what is causing the problem. I am not skilled enough to be able to pinpoint the issue or even scan my code to look for the error because most of it was based off of tutorials – so my understanding is basic. It would be great to know if there is a common oversight in php code that might be causing this issue. Something specific I should be looking for…?
[Reply]
Ajay Reply:
November 24th, 2011 at 1:41 pm
@Inksaint,
If disabling plugin doesn’t solve the problem then try these.
you should be looking for extra space after last ?> in php files. Now you will have to figure out which php file.
I normally check all the php files in the root and then in the theme folder.
Such kind of error happens when you move your blog from one host to another or you upload any file using any ftp program.
[Reply]
thank you so much! great!!
[Reply]
Cheers mate been bugging me for a few days now to the point of me hitting google for an answer… fixed it a treat
[Reply]
But not fix for me.
[Reply]
Ajay Reply:
November 24th, 2011 at 1:39 pm
@den,
Try disabling all plugins and see if it works.
If not then you will have to check the php files for any space after closing ?> towards the end.
[Reply]