Support » Plugin: Htaccess File Editor - Safely Edit Htaccess File » Test Failed – There are syntax errors in your unsaved .htaccess content

  • Resolved blclda

    (@blclda)


    Weird, I reset the htacess by inputing the default wordpress htacess:

    # BEGIN WordPress
    
    RewriteEngine On
    RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    
    # END WordPress

    After saving it the site is still on and working as usual.

    Any ideias? I’m hosted on cloudways.

    Edit: Did it on the life site and got no syntax errors.

    • This topic was modified 3 weeks, 2 days ago by blclda.
    • This topic was modified 3 weeks, 2 days ago by blclda.
    • This topic was modified 3 weeks, 2 days ago by blclda.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author WebFactory

    (@webfactory)

    Hi,
    Really hard to say without logging in to your dev/staging site and taking things apart 🙁 Could be a strange permission error or some whitespace escaping somewhere and causing the syntax to be invalid.

    Also if it’s a staging site those can be quite weird sometimes. Was it a staging site on cloudways?

    Thread Starter blclda

    (@blclda)

    Hey bud, yes it was on Cloudways indeed. But on a cloned site on a new server.

    Plugin Author WebFactory

    (@webfactory)

    When I get a chance I’ll grab an account and try to replicate that issue 👍

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.