Sometimes a website will experience a spike in traffic or have other issues which result in the web host suspending a WordPress script. This means your WordPress blog will not be accessible, which could mean your entire site is not accessible.
Instead, people trying to access your site receive an ugly 403 Permission Denied error.
Very bad.
What is happening is that your web host is disabling access to the index.php in your blog’s main directory.
To quickly circumvent this problem while working matters out with your web host, you will need a copy of your index.php file. Since you will not be able to access or view the code in the one that has been disabled, copy an index.php file from another blog you have, or create a new blog on a new domain just so you can copy the text of a basic WordPress index.php file.
Then upload that file to your disabled blog, and call it index2.php.
Now, in your .htacess file add this line:
ErrorDocument 403 /index2.php
Problem solved. What will happen is that the index.php file that WordPress needs to function is still disabled and returns a 403 error. However, the .htaccess file now traps that error and instead of displaying an ugly error page, redirects all traffic to index2.php. Since index2.php just happens to have the code from index.php which displays WordPress pages, your WordPress blog will continue to be displayed.
Your web host may not be happy about the circumvention, but you may need to be creative to keep your site up and money-flowing while issues are resolved with your web host.
Link to this page
Entries (RSS)