images not adding in wordpress article

Welcome to our community

Be apart of something great, join today!

alvarez

Newbie
Messages
13
Reaction score
0
Points
1
Hello,

I can not add images in my articles on my WordPress site,
when I open the article editor, I click on add a media, I select the image but nothing does not appear in the article's editing area. after this operation I notice in the console the following error: POST https://domain.com/wp-admin/admin-ajax.php 403 (Forbidden)

I opened a ticket about it with my hosting provider but the support technician who was assigned to me did not understand my problem it led me to the actualization of permalinks which does not solve my problem.

then i turn to this forum hoping to have a real solution, doing a little research it was very much the answer to ask the provider to allow access to this file because it was blocked by the server.

I hope I have provided enough details to help you solve this problem.

thanks
 

geniushost 

Premium Member
Messages
38
Reaction score
2
Points
17
Hello,

this type of error can be related to the mod_security installed on your CPANEL. You will be able to disable it from CPANEL and the "mod_security" section will solve this type of error.
 
  • Advertisement
  • tuxandrew

    Newbie
    Messages
    8
    Reaction score
    0
    Points
    0
    The 403 forbidden error can happen on following conditions :-

    - Check if any .htaccess deny rule in your WordPress website folders or sub folders
    - Check if any mod_security rules triggering for for the url.
    - Cross check all file/folder permissions

    How ever you may need check on the web server logs to find what exactly blocking your request.
     

    Advertisement

    Top