Jun 09, 2023
| Comments (0)
In the beginning, I just want to redirect the main page but forgot to back up the file and rewrite it directly ( what a stupid ), then the site returned an error message, and I don't know how to fix it.
By the way, my friend move the site to another server, then I get stuck on the multiple languages setting, there was some weird error to me but thanks to the ModX community's discussion, I found the solve solution.
I try to re-install Modx2.8.5 ( I don't know how to set the multiple languages on 3 ) and found a problem that I can't save including templates or plugins.
After a search, I found that "ModSecurity" caused this problem.
I'm not well known in the environment setting so I ask the server agent.
The problem is with the Plesk setting, there's a "web app firewall" enabled, turn it off, and looks fine the 'save' works.
But after setting it on ModX, I should turn it on again, because the engineer told me that was not safe if I turn it off.
Hope this post would help you.
* On Plesk, you could find the logs to check the error message (keyword: ModSecurity ), if you found that, go to the "web app firewall" to turn it off ( but turn it on quickly to prevent an attack ).
* Follow this to install Babel and XRouting
https://nathanaelmcmillan.com/blog/multilingual-websites-with-modx/
Comments (0)
Add a Comment