Front page is being directed to an unknown site

Unless I type the URL of my site as example.com/wp-login.php, with URL typed as example.com, the front page is automatically directed to the following unknown site:

https://elementonfor.live/?utm_campaign=pEv9cTd8QNHYzqqr5UNFx2COHvnp_JE3r8uVIhm3Qww1t=main9

The above website is unknown, and it is not clear where it has come from. I have scanned my website for malware. The malware plugin I am using shows the website as clean. Not sure what I should do to resolve the issue.

Topic frontpage redirect Wordpress

Category Web


Finally, I had to contact my web host. They cleared the server cache and everything is back to normal. Thanks to @tiago-calado and @Rup for their response.


have you installed any new plugin recently. that can be a cause. if so try to deactivate them and check if the site still does that. deactive all plugins not essential to home page. and check if it still does that. if so, activate one by one until you get the one is making that.

this is just one probably cause. after you make sure any plugin is doing this. and the problem goes on. now you are sure is not a plugin. look on your functions.php and look for any function that can be making you to be redirect. check also if other pages load properly like exanple.com/wp-login or example.com/somepageYouKnowExistes if this only happens on your front page can be an issue with your font-page.php, or with elementor on that page once your are being redirect to a supposed elementor page. if any of this gives you a clue. there are many more ways to go on debuging manually.

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.