I’ve installed ClassicPress on my server but having problems installing themes. What directory (s) do I need to change permissions on?
I’ve tried changing a few and now when I upload and hit install theme, all I get is a form coming up asking for ftp login.
Thanks
Usually, directories need 755 and files need 644 permissions. PHP must be able to write to disk for the theme/plugin installer to work correctly. So you want to make sure directories/files are owned by the correct user, in addition to proper permissions.
On some occasions, depending on your server/hosting, you may need to set this in your wp-config.php
:
define('FS_METHOD', 'direct');
If you still have issues, tell us more about your hosting/server setup so we can provide more tailored advice.
1 Like
Added the define(‘FS_METHOD’, ‘direct’);
And that solved it. Thanks so much for your help!
2 Likes
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.