For permissions, files should be 644 and directories should be 755. You can also try 664 and 775 if that doesn’t work.
If that makes no difference, specifically how did you do the reinstall?
Thread Starter
bjadig
(@bjadig)
well, it is 755 on directories, and mostly 640 on the files, witch is the same I have on another website on the same host (domeneshop.no). So therefor I don’t believe in changing from 640 to 644, why working there and not here? And there’s a lot of files to change!
The site was originally developed locally on my pc (ampps) – installed with Duplicator. After a week or two the host (domeneshop.no) closed the site, saying there was a security hole and claiming that files were compromised/infected. Then I did a job with cleaning up, deleting infected files and copying originally files from my local pc, deleting all not-active themes and plugins, changing all passwords for users, and more…
The reinstall was done by deleting all of the in-use-plugins-and theme- directories, then updating them locally, where such thing works normally, and then uploading them from my local pc to the site (filezilla).
Then the host was satisfied and opened the site again. But as said, updating and installing buttons does not show up, I cant install or update themes or plugins from within the control-panel.
Ok, let’s try a full proper re-install.
Try downloading WordPress again, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel (consult your hosting provider’s documentation for specifics on these), and delete then replace your copies of everything on the server except the wp-config.php file and the /wp-content/ directory with fresh copies from the download. This will effectively replace all of your core files without damaging your content and settings.
If you’d like to manually make a backup of your site first, please follow the steps at https://ww.wp.xz.cn/documentation/article/wordpress-backups/
Some uploaders tend to be unreliable when overwriting files, so don’t forget to delete the original files before replacing them.