Title: wp-admin/post.php access denied
Last modified: September 1, 2016

---

# wp-admin/post.php access denied

 *  Resolved [riyazmuhammad](https://wordpress.org/support/users/riyazmuhammad/)
 * (@riyazmuhammad)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/wp-adminpostphp-access-denied/)
 * Hi,
 * when I publish or update posts with media (eg: image ) it results to foloowing
   message.
 * **Access Denied
    You don’t have permission to access “[http://example.com/wp-admin/post.php&#8221](http://example.com/wp-admin/post.php&#8221);
   on this server.
 * I can upload images to media library, but cannot use inside post content by using
   add media button.
    I can use the media images as featured image and it is working
   fine. If the post have only text (without media) it is working fine. The issue
   is only when I try to publish or update posts with media inside post content.
   My website is installed by bluehosts wordpress installation. previously the site
   works fine. I tried following but no love :
    - htaccess mod_security
    -  all plugins deactivated
    -  changed permission of wp-content folder
 * Can anybody help me, Thanks in advance.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [abletec](https://wordpress.org/support/users/abletec/)
 * (@abletec)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/wp-adminpostphp-access-denied/#post-7474910)
 * Hi, riyazmuhammad, & welcome to the WordPress support forum.
 * If this site worked previously, it may be that you’ll need to contact Bluehost.
   Meanwhile, though, it’d be helpful if you’d post a site url. It might also be
   helpful if you opened your wp-config.php file, either via your host’s file manager
   or FTP (preferably secure FTP) & change wp-debug from false to true. Change it
   back as soon as you obtain the errors, as it does pose a significant security
   risk. If there are errors, which I suspect, please post those in your reply, 
   as well as your site’s url.
 * Lastly, please let us know what plugins you’re running, as well as whether this
   is a single or multisite installation.
 *  [AjitKhodke](https://wordpress.org/support/users/ajitkhodke/)
 * (@ajitkhodke)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/wp-adminpostphp-access-denied/#post-7474911)
 * Make sure that your wp-admin/post.php (or whatever the file is) is owned by you/(
   your username) (chmod) and that the permissions on it are set to 644 and Folder
   permissions are 755.
 *  Thread Starter [riyazmuhammad](https://wordpress.org/support/users/riyazmuhammad/)
 * (@riyazmuhammad)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/wp-adminpostphp-access-denied/#post-7475137)
 * Hi all,
 * Problem fixed! The issue is related to some server configuration. The server 
   guy done some redirection that causes this error. Thank you all for your support.
 *  [kathyhasramen](https://wordpress.org/support/users/kathyhasramen/)
 * (@kathyhasramen)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/wp-adminpostphp-access-denied/#post-8890159)
 * Just wanted to say thank you. I was experiencing similar problems with my website,
   and after changing the file permissions — all was better!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘wp-admin/post.php access denied’ is closed to new replies.

## Tags

 * [media](https://wordpress.org/support/topic-tag/media/)
 * [permission](https://wordpress.org/support/topic-tag/permission/)
 * [posts](https://wordpress.org/support/topic-tag/posts/)
 * [wp-admin](https://wordpress.org/support/topic-tag/wp-admin/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 4 participants
 * Last reply from: [kathyhasramen](https://wordpress.org/support/users/kathyhasramen/)
 * Last activity: [9 years, 3 months ago](https://wordpress.org/support/topic/wp-adminpostphp-access-denied/#post-8890159)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
