I changed a server and a domain in the same time and the site brings error 500 in the browser

The problem happened due to a corrupted .htaccess,

After all the stages above, I removed Wordfence with wp plugin uninstall and then, after that, I recreated the .htaccess based on the formal example here:

https://codex.wordpress.org/htaccess

I saved and relaunched the site and now it’s working.

When the site is up reactivate all plugins and bring back Wordfence.