Can't access general settings in wordpress

January 10, 2015 3.9k views

I am using WordPress 4.1. My server runs on Ubuntu 14.10. Everything seems OK except the General Settings. When I try to go to general setting from the Dash board the browsers connection resets. Any kind of help is appreciated.

  • sounds like you might have a funky plugin installed that is causing a conflict.

  • I’ve deactivated all of my plugin, but still the same.

  • I have the same problem. Connection also resets when running “Update Translations” from Dashboard->Updates. It is a fresh 1GB RAM Ubuntu Droplet.

  • Are you seeing anything recorded in your apache log files when this happens?

  • @ryanpq no. But I have found what causing this problem. When I follow this and complete every step then this problem occurs. Don’t know why this happening.

    by Justin Ellingwood
    WordPress is the most popular content management system (CMS) on the web currently. While WordPress can be a great way to manage you content, there are some very insecure configurations that are given throughout the internet. This article will cover how to set up secure updates and installations using SSH keys instead of FTP, which is an inherently insecure protocol.
1 Answer

The issue is caused by the fact that the folder is owned by wp-user (per the instructions in the linked article), while the web service is ran as www-data

In the future, run this before updating/installing plugins/templates:

chown www-data:www-data /var/www -R

And once you’re complete:

chown wp-user:wp-user /var/www -R

Basically, this will stop people from uploading harmful files/code to your site. You can only modify when you allow it via a permission change.

Have another answer? Share your knowledge.