Question
I created/moved vhost directories and now WordPress permissions are screwed up
When I check the folders in my WordPress directory, the permissions are defined as they should be, but WordPress/wp-admin is unable to do things like install plugins…instead it prompts me for my FTP credentials.
This all started after I created some vhosts on my server and moved my WordPress site into a new directory within /var/www/? I assume this must have something to do with apache, but I don’t know how to proceed.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×
Is the URL the same or different after moving the vhost directories to the new location?
If it is different, than you will need to modify the sql database and make the appropriate changes.
Also, check the appropriate permissions for files and folders. And depending how Apache was installed, the permissions should be
Files
Directories
Gio