I was not able to update plugin in my wordpress so I followed a tutorial that said I should run the following command: chown -R www-data:www-data *
After running the command, the following was all I can see when i visit my site:
Forbidden You don’t have permission to access / on this server. Apache/2.4.29 (Ubuntu) Server at vplaya.com Port 80
Any help will be appreciated
Thank you, Thebe
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.
Hi Unixynet,
I figured out that hat command that I ran initially actually deleted the entire www folder, so I had to replace content with the backup. It’s all good now and I guess I will have to find an easier way to update plugins that to destroy my site with some nasty commands like I did.
Thanks for the reply though, much appreciated.
Regards, Thebe
What do these commands return:
And run this after you’ve visited the site so the error is logged right then: