php – Forbidden You don’t have permission to access this resource. Apache/2.4.41 (Ubuntu) Server

Question

WordPress permission issues. I’m getting Forbidden You don’t have permission to access this resource even after setting the below permissions. This happens while trying to access pages like wp-admin/plugins.php. The site itself is ok

sudo chown -R www-data:www-data /var/www/site
sudo find /var/www/site/ -type f -exec chmod 640 {} \;
sudo find /var/www/site/ -type d -exec chmod 750 {} \;

After this it was still not working. I decided to give the directory full permissions chmod -R 777 but still it didn't work
enter image description here

0
asega 1 week 2022-08-02T02:44:07-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse