As usual, I quickly search for solution on Google and I found the answer. It is due the folder permission doesn’t allow me to do any update on the ‘wp-content’ folder. You can fix this problem easily by changing the folder permission to allow read and write access.
I am going to show you how to change the folder permission here. In my case, my WordPress is hosting on a Linux server, thus this guide is relevant to Linux environment only.
First, you need to login to the hosting server. I assume you have access to the WordPress hosting server.
Using the following command to change your current directory to your WordPress root document directory.
In my case, my root document directory is /var/www/mywebsite/
cd /var/www/mywebsite
Next, you will be changing the ownership of the all the folders, sub-folders and files to the user and group that running the webserver service. In this case, the user and group that running the webserver service is apache. You can change the ownership with the following command.
chown -R apache:apache *
Lastly, you will be changing the permission of all the folders, sub-folders and files to have read and write access. You can change the permission with the following command.
chmod -R g+w *
To Your Success,
Kwah Choon Hiong
Do you know that you can use your mobile phone to scan documents? Of course,…
Today, I want to show you how to cast your mobile phone to your PC.…
In this article, I will show you how to install and configure Fail2ban service on…
Have you ever want to bulk delete to your WordPress posts records and you have…
Perhaps you hear about the terms “Landing Page”. Sometimes, we also call it as “Lead…
In this article, you will be learning how to embed Google Forms in WordPress. Google…