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

Written by Allen White on. Posted in General, Web

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

 
 
Allen White
Allen is a Consultant for ITPS in the North East of England and holds the following accreditations. MCSA, MCSE, MCTS, MCITP, CCA, CCSP, VCP 4,5 and HP ASE, AIS - Network Infrastructure.

ITPS provides strategic IT consultancy, implementation, data centre provision and unified communications, as well as support services and workspace and disaster recovery. If you require a consultation then please contact me via the contacts section or direct on 07931222991, add me on linkedin. https://uk.linkedin.com/in/allenwhiteconsultant0001

Tags:

Comments (9)

  • Mr Spudulike

    |

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

    Reply

  • ChillyBin

    |

    This worked well for me as well, thanks!

    Reply

  • Mekey Salaria

    |

    I could not solve it in cPanel.

    Please help!

    degroundshaker[at]gmail.com

    Reply

    • 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

      • Mekey Salaria

        |

        Thanks a lot for help Allen.
        Things are working 🙂

        Reply

  • 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

  • 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

    • Tatjana

      |

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

      Reply

  • 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

What Do You Think?

Search Solutions

Categories

(c) Techieshelp.com. Please be aware, all information is provided freely, any information used is done so at your risk and Techieshelp will not be held responsible for any issue that may occur.