Support » Plugin: AceIDE » .htaccess blocking this plugin

  • Resolved Andre Aguiar Villela


    Hi Shane and all AceIDE users,

    Since this original topic has been locked for new answers, I’m creating a new one that may help some people with the same issue as mine.

    After the 2.6.0 upgrade this plugin stopped working as it should, prompting and error to load the Ajax.php file it requires to handle its core functionalities. Well, six months(!) latter I figured it out what was the cause of this malfunction: the .htaccess file with the following code bellow.

    ## IMPORTANT - If you customize the rules below, change the line above to read '## BEGIN WORDPRESS LOCKDOWN - CUSTOM ##'
    # Rules to protect WordPress from malicious code injections
    <FilesMatch "\.(php)$">
    # Deny everyone but localhost access to PHP files. See the next stanza for index.php and wp-login.php public access.
      Order Deny,Allow
      Deny from all
    # Append additional IPs to the line below if external web access to PHP files is needed.
      Allow from
    <FilesMatch "index.php|wp-login.php|wp-comments-post.php|wp-cron.php|load-styles.php|edit.php|post.php|wp-tinymce.php">
    # Allow anyone to access files listed above.
      Allow from all

    This code was generated by Softaculous, a cPanel module wich does automatic installs of numerous apss, including WordPress. Seems it tries to protect the installation by adding these rules to .htaccess, and at the same time it blocked AceIDE Ajax.php file with a 403 forbiden error. Removing the code solved my problem, but as security measure I’m putting it back on production sites, where I do not use Ace at all.

    Hope it helps anyone experiencing issues while trying to use this plugin!

    Best regards,


    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author shanept


    Hi Andre,

    Thanks for looking into that. A lot of WordPress security plugins caused the same issue.
    If you upgrade to the latest version of AceIDE, this should resolve your issues.

    Kind Regards,
    Shane Thompson

    Plugin Author shanept


    As there has been no reply in a few months, I believe this has been fixed.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘.htaccess blocking this plugin’ is closed to new replies.