-1

WordPress site infected with malware causing redirect to external domain even after disabling plugins and theme

I’m dealing with a persistent malware issue on a WordPress site that redirects all traffic to:

https://www1.newsus.app/mpc/

Here’s what I’ve already tried and checked:

  • The site is hosted on Hostinger

  • I reviewed and cleaned:

    • .htaccess

    • index.php

  • The folder /wp-content/mu-plugins/ is empty

  • I renamed the entire /wp-content/plugins/ folder (so all plugins are disabled)

  • I also deactivated and changed the active theme

  • Even with plugins disabled and the theme changed, the redirect still happens

  • I discovered that the original theme (Impreza – premium, but outdated) seems to be infected

  • Cloudflare is enabled, but the redirect still happens even when bypassing cache

The redirect happens immediately when accessing the site, both on frontend and admin.

At this point, I’m suspecting:

  • A hidden PHP file injected somewhere else (maybe wp-includes, uploads, or root)

  • A compromised database option (like siteurl, home, or injected JS/PHP)

  • Server-level infection or cron job

My questions:

  1. Where else should I look for hidden malware that survives plugin and theme deactivation?

  2. Are there common places WordPress malware hides that are often overlooked?

  3. Could this be coming from the database or server-level scripts?

  4. Any recommended steps or tools to fully trace and remove this type of redirect malware?

Any help or guidance would be really appreciated. Thanks!

3
  • 1
    The official WordPress documentation has a FAQ about this, if you haven't read it yet please do so: wordpress.org/documentation/article/faq-my-site-was-hacked Commented Jan 27 at 20:46
  • 1
    Some / all of How do I deal with a compromised server? is probably also helpful Commented Jan 27 at 22:43
  • 1
    As everyone had mentioned, please review the copious documentation on this exact issue. That said, check your wp_options table which contains the siteurl and home settings. Check your wp-config.php as well to make sure those values aren't hardcoded. Commented Jan 28 at 14:30

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.