• Resolved B

    (@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 2 years, 5 months ago by B.
    • This topic was modified 2 years, 5 months ago by B.
    • This topic was modified 2 years, 5 months ago by B.
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 B

    (@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)
  • The topic ‘Test Failed – There are syntax errors in your unsaved .htaccess content’ is closed to new replies.