• Resolved Martin Sauter

    (@martinsauter)


    I have multiple websites where every auto-update of the Ninja Forms plugin destroys the permalinks in a way that all frontend pages show an error 404 (while the backend works normally). After refreshing the permalinks everything is fine again. One thing these websites have in common is that they are multilingual (WPML).

    Comparing the .htaccess file before and after, you can see two differences:

    ### when the error 404 is present
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
    RewriteBase /fr/
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /fr/index.php [L]
    </IfModule>
    
    ### when the permalinks have been refreshed
    <IfModule mod_rewrite.c>
    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]
    </IfModule>

    So obviously there is an issue with the /fr/ part. But why does this happen? And why do only auto-updates of the Ninja Forms plugin trigger this problem on a regular basis, while all other auto-updates run smoothly?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Curtis

    (@curtisbrownlee)

    Hello,

    Thank you for contacting us. I hope that you are doing well.

    I’m sorry to hear that you are experiencing this.

    Our team has contacts at WPML and can reach out to them regarding this issue that occurs when performing an auto-update.

    If you would, can you submit a support ticket at https://ninjaforms.com/contact so that we track this issue to get it resolved?

    Our lead developer is presently on holiday until next week, but he sent a message stating that he would be able to begin talks with their team when he returns.

    Thread Starter Martin Sauter

    (@martinsauter)

    Thanks, I have just submitted a support ticket.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Auto-update of Ninja Forms on multilingual website destroys permalinks’ is closed to new replies.