Error 403 Forbidden After Posting On Wordpress Blog

After posting a new article on one of my Wordpress blogs I suddenly was unable to access my site. I kept receiving this Error 403 Forbidden for the index.php file.

Not much fun because this blog brings in some Adsense income and I was about to leave on a flight. Always hate it when a site dies and I have no time to fix it.

I had no idea what was going on because I am not that familiar with http 403 errors and stuff. At first I thought there was a problem with my hosting company. I checked another blog on the same host and that was running fine.

But this ‘forbidden’ message made me think of permissions so I decided to get into the cPanel and when I opened File Manager I noticed that the file index.php was showing 000 for file permissions.

So next I opened cPanel on another site with a Wordpress blog on it and checked the same file. It was showing 644.

Easy, I went back to te bad site and changed the permissions of index.php to 644 as well and it was live again.

I have no idea what caused the file permissions to change but anyway I am glad I got rid of the Error 403 Forbidden message and had the site running again.

Category: Hosting, Wordpress | Tags: , 4 comments »

4 Responses to “Error 403 Forbidden After Posting On Wordpress Blog”

  1. ZevaPityneate

    Hi.
    My computer worked slowly, many errors. Please, help me to fix errors on my computer.
    My operation system is Windows XP.
    With best regards,

    ZevaPityneate

  2. Stan

    Hi,

    The error I am describing here applies to a web server (host). If you have serious problems with your PC and windows XP, I would like to refer you to http://www.askdavetaylor.com/

  3. SD

    hi,
    I have the same 403 error, but the file permission is 644.
    you have any other idea why this is happening?
    Thanks

  4. Stan

    I know how frustrating it is to have a dead site!

    A file permissions error was the first thing I thought about in this case although I have no idea why it happened.

    Nowadays I always try to keep my WordPress and plugins up to date.

    So one thing you could do is reinstall WordPress, making sure you put back your old /content/ folder with your theme and plugins and restoring config.php with your database user and password.

    Deleting your database and rebuilding it with your backup in phpMyAdmin (from Cpanel) is a last option.

    If all this doesn’t work, contacting support at your hosting provider is the only option.


Leave a Reply



Back to top