For speed optimalisation reasons I want to change the wordpress upload folder to a subdomain, but wordpress keep telling me the write permissions are not correct.
Absolute path:var/www/vhosts/domain/httpdocs/wpfolder/wp-content/uploads
Url:http//domain.ext/wpfolder/wp-content/uploads
Changed into:
Absolute path:var/www/vhosts/domain/subdomains/img/httpdocs/img
Url:http//img.domain.ext/img
The permissions are:
var/www/vhosts/domain/subdomains(755)/img(755)/httpdocs(755)/img(777)
Could it have something to do with the directory owner of the subdomain dir? If the apache user needs to go back into before /httpdocs(user ftpuser, group psaserv)/, maybe the apache user user is not able to write thru the directory /subdomains(user root, group psaserv)/img(user root, group root)/httpdocs(user ftpuser, group psaserv)/
Do I need to change the dir owner, and if so, how do I do?
I have a VPS with CentOS and root access.