admin管理员组

文章数量:1122832

I just encountered a bug when I am trying to post with images. When I am adding media using "Add Media" button, the image will not add and will have this error:

POST .php 403 (Forbidden)

However, when I am trying to add other media such as pdf, it will add.

When I tried using an inline html image syntax to add the image. When saving the draft or publishing it, it will return a 403 forbidden page.

We did not change anything from .htaccess, but just started experiencing it. What I have done so far:

  1. Updating securit plugins.
  2. Changing the uploads permission to 755.

But no avail on these steps. Wordpress version: WordPress 6.3.4

I just encountered a bug when I am trying to post with images. When I am adding media using "Add Media" button, the image will not add and will have this error:

POST https://philsa.gov.ph/wp-admin/admin-ajax.php 403 (Forbidden)

However, when I am trying to add other media such as pdf, it will add.

When I tried using an inline html image syntax to add the image. When saving the draft or publishing it, it will return a 403 forbidden page.

We did not change anything from .htaccess, but just started experiencing it. What I have done so far:

  1. Updating securit plugins.
  2. Changing the uploads permission to 755.

But no avail on these steps. Wordpress version: WordPress 6.3.4

Share Improve this question edited May 30, 2024 at 4:31 Nikko asked May 30, 2024 at 4:13 NikkoNikko 1013 bronze badges 2
  • Are you using any cache plugins? Try purging the cache then checked for the permissions applied to cached files. – jhedmendoza Commented May 30, 2024 at 6:56
  • I only have WP Server Stats, I have purge the cache in that plugin. The issue still persists. I cant even add older files before the issue arose. – Nikko Commented May 30, 2024 at 7:16
Add a comment  | 

1 Answer 1

Reset to default 1

Many times, this type of issue occurs due to SSL as well. So, try adding these plugins one by one, such as Really Simple SSL, SSL Insecure Content Fixer, or WP Force SSL & HTTPS SSL Redirect, and see if the issue is fixed

本文标签: