< -- BuySellAds Ad Code ALLEN -->
  • Home
  • General
  • You don’t have permission to access /wp-admin/post.php on this server

You don’t have permission to access /wp-admin/post.php on this server

IT Problem

When you try to post a new page or post on your wordpress blog you recieve “You don’t have permission to access /wp-admin/post.php on this server.”

This is quite a common problem and there are a few fixes see below.

 

 

IT Solution

If you have recently installed a new plugin, DISABLE it , lets say the situation is even worse and you cannot access the plugins. You will then need to ftp onto your site and go to the plugins directory and delete the plugin.Then attempt to create the new post. If this fails continue on…

 

Your website host may be implementing filtering which creates a mod_security error, all is not lost..

In your .HTaccess file which is located in the root of your website add the below commands ( copy and paste ).

 

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

 

This will stop the host filtering applying to your site.
If this still is not working, then we need to make sute that post.php and the other files in your theme are set to permissions 755, login via cpanel and check the permissions, if they are not 755 then change them

Tags: wordpress

Allen White

Allen is an IT Consultant and holds the following accreditations. MCSA, MCSE, MCTS, MCITP, CCA, CCSP, VCP 4,5, 6 and HP ASE, AIS - Network Infrastructure.

Comments (10)

  • Avatar

    Mr Spudulike

    |

    Brilliant! You fixed my problem. Thank you very much!

    Reply

  • Avatar

    ChillyBin

    |

    This worked well for me as well, thanks!

    Reply

  • Avatar

    Mekey Salaria

    |

    I could not solve it in cPanel.

    Please help!

    degroundshaker[at]gmail.com

    Reply

    • Avatar

      Allen White

      |

      Upgrade WordPress Manually…

      So first download wordpress 3.3 from here

      http://wordpress.org/download/

      then extract it to a temporary folder..

      Then take a FULL BACKUP of my website locally.

      Then you need to copy the folders all files & folders – except the wp-content folder from a the download of WordPress. Again I repeat DO NOT UPLOAD THE FRESH WP-CONTENT.

      Once all the files have uploaded you will need to go the URL below, replacing your site.

      http://yoursite.com/wordpress/wp-admin/upgrade.php

      Make sure you again now take a full backup of your site.

      Reply

      • Avatar

        Mekey Salaria

        |

        Thanks a lot for help Allen.
        Things are working 🙂

        Reply

  • Avatar

    Vaughan

    |

    Thanks so much for your suggestion about mod_security. No other site or forum I found about this error mentioned that, and this was the only thing that solved the issue! Keep up the great work.

    Reply

  • Avatar

    Tatjana

    |

    I did what you posted above and I was so lucky that it worked, but when I tried to change the permalink again for better SEO the same error appeared and this time your method is nog working….

    Thanks in advance for every helping advice!

    Reply

    • Avatar

      Tatjana

      |

      It’s working again… weird… but still can’t edit the permalink!

      Reply

  • Avatar

    Kabir Hazarika

    |

    So glad that I finally found the solution here. All the forum posts on WP were of no use.

    I found that the post.php had turned permission to 0000. I changed to 0640 and its working fine. Thanks!!!

    Reply

  • Avatar

    turzo khan

    |

    If the problem is ‘Forbidden. You don’t have permission to access /wp-comments-post-php on this server’. should I do the same thing you describe above?

    Reply

Leave a comment

Categories

Vote!

What Web Browser Do You Use?

View Results

Loading ... Loading ...

Vote!

What do you prefer..VMware or Hyper-V?

View Results

Loading ... Loading ...