WordPress Site redirects to spam site

Hwllo everybody. I hope all of you are doing good.

I have a problem with my WordPress website. I inspected my plugins and it seemed like when elementor and tutor lms are activated. It redirects to a spam site. I already tried deleting them and reinstalling but it still redirects after activating.

Any tips on where to find the malware within the plugin? Or would it be outside the plugins folder?

I already tried looking at wp-config. Resetting.htaccess and scanning with Wordfence.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer