WordPress permission settings
-
I am a complete newb and trying to figure out how to set correct permissions for WordPress folders in order to be able to update/install plugins and themes.
I installed WordPress on my desktop and playing around creating a website on localhost. The local website is installed in the /opt/lampp/htdocs/site_name/ folder.
Right now I am showing owner as www-data with permissions set as 755. This does not seem to work as I cannot install/delete plugins. In WordPress admin Tools –> Site Health it shows that none of the folders are writable.The main WordPress directory Not writable
The wp-content directory Not writable
The uploads directory Not writable
The plugins directory Not writable
The themes directory Not writableWho should the owner of all these folders be? Is it apache www-data or my login account?
Directories information as reported in WordPress:
wordpress_path: /opt/lampp/htdocs/site_name
uploads_path: /opt/lampp/htdocs/site_name/wp-content/uploads
themes_path: /opt/lampp/htdocs/site_name/wp-content/themes
plugins_path: /opt/lampp/htdocs/site_name/wp-content/pluginsThere is also a WordPress folder in /usr/share/wordpress
- The topic ‘WordPress permission settings’ is closed to new replies.