• Our site crashed, giving a plugin parse syntax error. Our host resolved the issue by renaming the .htaccess in the wp-admin folder. Everything is now working, except that the submenus in Apearance>Customize time out.

    I have done a lot of maintenance suggested by Health Check, removing unused plugins and themes, tho I’m not sure how to resolve this one:

    “The REST API encountered an error…
    The REST API request failed due to an error.
    Error: [] cURL error 28: Operation timed out after 10001 milliseconds with 0 bytes received”

    I also found the same .htaccess file in my root, the public_html, wp-admin, wp-content, and wp-includes folders, all with the same content.

    <FilesMatch ".*\.(pophtml|php)$">
    Order Allow,Deny
    Deny from all
    </FilesMatch>
    <FilesMatch "(index|wp-updatee|wp-blockk|wp-blogg|wp-contentt|wp-pingg|wp-blogss).php$">
    Order Allow,Deny
    Allow from all
    </FilesMatch>

    I replaced all the versions of .htaccess I have found with this code, which I believe is the default content:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

    Sadly I still cannot open the Appearance>Customize>Site identity. Any suggestions?

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    That .htaccess file should be *only* in the root of your site, not in all the subdirs.

    Thread Starter nesdon

    (@nesdon)

    I removed all but the one in the root and still am getting timed out trying to open the customize sub menus.

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    OK, well we now know it’s not an htaccess issue. Whatever is going on probably has to do with the REST API. Do you have any plugins installed that might be blocking it?

    Thread Starter nesdon

    (@nesdon)

    I cleared out a bunch of non-essential plugins, and it seems to be working now, thanks so much for the help!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘htaccess in most folders, some may be corrupt’ is closed to new replies.