Last few weeks, I found a 403 Forbidden error when I was trying to enter to my WordPress blog, this made me so worry and headache because I didn’t do any update on my blog, then I suddenly saw this error as below and my blog totally can’t displayed properly.
You don’t have permission to access /index.php on this server. Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
After that I have tried to search some related info from the net to find the solution how to 403 Forbidden Error, they asked:-
- to check any change of the permissions to access that directory.
- to take a look at the .htaccess file in that directory.
Unfortunately the above solutions do not work for me, then I started to think how to solve 403 Forbidden error by myself. This is what I have been done, see below:-
1. I reinstalled WordPress by overriding the existing file
2. Found that /index.php cannot be override, then I checked the File Permissions for index.php and found that the file attributes have been changed, I confirmed that this is the problem caused 403 Forbidden error.
3. I have tried to change the file attribute to 644, unfortunately I can’t changed it directly.
4. I have no choice but to delete /index.php file from that directory and upload the NEW index.php to that directory again.
5. All right, finally my blog is displayed properly and the problem has been solve.
If you have facing this problem in future, perhaps you can try my methond to solve 403 Forbidden error, good luck to you!
/images/logo.png)


/images/featured.png)
/images/recentposts.gif)
/images/ico-rss.gif)
/images/cat.png)