WordPress blank wp-admin/post.php page

After a recent server move I had an issue where I kept getting a blank page after publishing a post to the blog, after turning on PHP error’s is became obvious there was actually a permissions issue and PHP was just hiding the error. The error was because the sitemap.xml file I use for SEO was not editable by the web server, therefore it couldn’t update this with my new post information.

Basically it’s a simple fix, just go to the root of your website and chown to the web server user, in my case ‘nginx’ 🙂

sudo chown nginx sitemap.xml

Technology enthusiastic with many ongoing online projects one of which is this personal blog PingBin.
While also working full time within a data center designing and maintaining the network infrastructure.

Leave a reply:

Your email address will not be published.