Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

The wp blog generate forbidden error.. WordPress

  • SOLVED

<blockquote>Forbidden

You don't have permission to access / on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.</blockquote>


Some days ago i just tryed to change a permalink method because supercache plugin generated a message that was an error on permalink.

After that i tryed to change the permalink method, the website is no more reachable, same for wp admin panel.

Any solution?

Answers (7)

2011-08-17

Daniele Raimondi answers:

Delete your .htaccess in the site root (make a backup first), and try to log-in again.


mothernatur3s0n comments:

I dont see any htaccess file in the root of my blog


mothernatur3s0n comments:

Success.

First i tryed to follow the other suggestions (of Cliff P and Ozh RICHARD, the others are the same but nothing, then i simple deleted the file and now the web site work.


Daniele Raimondi comments:

Great. If you re-save permalink or activate/re-save setting of you cache plugin, htacces file should be autocreated again.


mothernatur3s0n comments:

True, is fine now! The file was autocreated.

2011-08-17

Clifford P answers:

<strong>August 9, I emailed you this:</strong>
I would suggest deleting WP Super Cache folder via FTP and re-installing the plugin...

<strong>August 11, I emailed you this:</strong>
Your .htaccess file (last modified 8/10/2011 at 2:14:00 am) was this:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress


[[LINK href="http://codex.wordpress.org/Using_Permalinks#Creating_and_editing_.28.htaccess.29"]]http://codex.wordpress.org/Using_Permalinks#Creating_and_editing_.28.htaccess.29[[/LINK]] .htaccess file is this:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress


I tried to change the .htaccess file, but got an error that access was denied.

If you or your web host can edit the .htaccess file, I would suggest trying one of these things:
1) Add this line right under “<IfModule mod_rewrite.c>”:
Options +FollowSymlinks
2) Remove this line:
RewriteRule ^index\.php$ - [L]
3) Do both 1 & 2


Let me know how it turns out.


<strong>Did you try either/both of those?</strong>
I hope your issue is resolved very soon.


mothernatur3s0n comments:

How you can see the htaccess file? i cant see it.


Clifford P comments:

In FileZilla, I had to go to "server" and select "force showing hidden files", like in this image: [[LINK href="http://infinity-infinity.com/wp-content/uploads/2009/08/force_showing_hidden_files.png"]]http://infinity-infinity.com/wp-content/uploads/2009/08/force_showing_hidden_files.png[[/LINK]]

This is because the file starts with a period.


mothernatur3s0n comments:

Done, maked all change but nothing of new, now is error 500:

<blockquote>Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.</blockquote>


Clifford P comments:

What does your .htaccess file now contain?
Did you delete the cache plugin's directory/folder via FTP?


mothernatur3s0n comments:

Yes i do all that you said but nothing. I simple follow the suggestion of Daniele Raimondi and now is ok.


mothernatur3s0n comments:

I dont know now if i must re-insert the htaccess in the web root or if is ok now without htaccess but now work all.


Clifford P comments:

Very glad to hear that deleting .htaccess was all you needed to do. You said your site is working now. Have you tried enabling permalinks again? Whether yes or no, did WordPress create a new .htaccess file for you?

Also, please confirm whether or not you deleted the caching plugin folder.


mothernatur3s0n comments:

File was autocreated. All ok now.

2011-08-17

Andrew Wong answers:

403 error: http://www.checkupdown.com/status/E403.html seems like a big deal...

Try to delete the cache plugin from FTP and see if accessible and try to use the default URL to access any post/page you can remember.

2011-08-17

Navjot Singh answers:

Can you post the contents of your .htaccess file?

2011-08-17

Ozh RICHARD answers:

- Delete the .htaccess file
- Rename the caching plugin folder
- Rename the wp-content/advanced-cache.php file
- Rename the wp-content/cache directory
- Clear your browser cache

You should now be able to access the admin area and reset your permalink structure

2011-08-17

Reland Pigte answers:

You just have to delete the .htaccess and the directory of the supercache plugin and clear your browsers cache.

2011-08-17

Pali Madra answers:

Insert the following in your .htaccess file (which is in the root directory of your server)

<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>


You should be done!

Let me know if it works.

Thanks
Pali Madra