@phenomlab Perfect!!! Many thanks.
migrating from cloudways to plesk
-
@phenomlab after disabling mod security i am getting
502 Bad Gateway error nginx*
wordpress admin panel is accessible
-
@Hari update // website is working!
-
@Hari i will manually migrate it instead of using migration plugins.
Plesk is Plesk
-
@Hari yep. All good then ?
-
@phenomlab i think i managed to migrate the site, but when i visit a few random pages like domain.com/dasfdsfds it is supposed to show WordPress 404 instead Plesk is showing their own 500 page… not sure about this. for now, i am making changes to a few other manual scripts like updating db passwords and paths tomorrow i will keep you posted.
thanks for the quick response
-
@Hari you probably need to delete the custom 500, 404, and index HTML pages supplied by Plesk.
-
@phenomlab how can whitelist list such errors? these are apache access issues it think when i disable mod security it is working as expected
-
@Hari Solved!
-
@Hari you’d have to record the ID of the specific rule that triggers the error in WordPress, then delete that specific rule.
Mod Security is great, but will easily become the worst enemy you can imagine in a very short space of time.
-
@Hari actually earlier error was DB password issue, i forgot to update the new DB password in a custom theme file.
and in plesk we should always use localhost:port number if we just use localhost sometimes it wont connect (i am assuming this)
-
@phenomlab is completely disabling ModSecurity a good idea?
and what happens if i allow MEME? i am getting below error
-
@Hari depends on the format of the config file, but in most cases, you only need
localhost:port
if you are using a custom port. -
@Hari said in migrating from cloudways to plesk:
is completely disabling ModSecurity a good idea?
No, I wouldn’t recommend it. A better solution would be to use a mod security template that is designed for WordPress rather than the generic one.
-
@phenomlab i am thinking to enable MEME what do you say? is it necessary? is it a CSS file library?
-
@Hari MEME ? Do you mean MIME ?
-
@phenomlab yes yes
-
@Hari you’ll also get that error if you are attempting to include a CSS file that is improperly formatted. What is it you’re trying to include ?
-
@Hari i just selected WordPress and moved to de activate zone… this is how we need to choose the WordPress template for ModSecurity?
@phenomlab said in migrating from cloudways to plesk:
What is it you’re trying to include ?
since i am migrating from a different server IDK what the old code is … i see this MIME error in the console, i can ignore it too … as i am not sure what is it … i thought of asking you sir.
-
@Hari yes, but that’s deactivated.
-
@phenomlab got it, it should be in the activated box.
Did this solution help you?
Related Topics
-
Test of youtube embeds
Solved Configure -
-
MogoDB v6 to v7 upgrade
Solved Configure -
-
Category For User
Solved Configure -
-
-