---
title: "Pop-up Ads and Redirects on Your WordPress Site? How to Remove wp-vcd Malware"
description: "**In short**If pop-ups or redirects to shady sites appear on your site, it has most likely been infected with **wp-vcd** malware, usually from a nulled theme or plugin downloaded from an unofficial site. Take a backup, delete unknown files such…"
url: "https://www.hyyat.com/en/knowledgebase/wordpress-popup-ads-wp-vcd-malware/"
updated: "2026-11-22"
category: WordPress Guides
---

# Pop-up Ads and Redirects on Your WordPress Site? How to Remove wp-vcd Malware

**In short**If pop-ups or redirects to shady sites appear on your site, it has most likely been infected with **wp-vcd** malware, usually from a nulled theme or plugin downloaded from an unofficial site. Take a backup, delete unknown files such as `wp-vcd.php`, `wp-tmp.php` and `wp-feed.php` from `wp-includes`, clean `functions.php` in every theme, then remove the source and change your passwords.

![Pop-up Ads and Redirects on Your WordPress Site? How to Remove wp-vcd Malware](https://www.hyyat.com/wp-content/uploads/2026/11/hkb-tr-13358-en.webp)

One of the most common WordPress problems: ad pop-ups shown to visitors, or sudden redirects to scam or adult sites, sometimes on mobile only. It hurts your reputation and your Google ranking. In most cases the cause is a well-known malware called **wp-vcd**.

## Where does it come from?

It usually spreads through paid themes and plugins handed out "free" on unofficial sites (nulled). Once activated, it copies itself into WordPress files and into every installed theme, then injects ads into your pages.

## How to remove it

1. **Take a full backup** of files and database before changing anything.
2. **Check the wp-includes folder** for these files: `wp-vcd.php`, `wp-tmp.php` and `wp-feed.php`. They are not part of WordPress, so delete them if you find them.
3. **Clean functions.php** in every installed theme, not just the active one. You will find unfamiliar code at the top, before the theme's own code, usually checking for the files above. Remove it, or replace the file with an original copy of the theme.
4. **Remove the source** : any nulled theme or plugin, replaced with an original copy or a trusted free alternative.
5. **Delete unused themes and plugins,** because the malware may have copied itself into them.
6. **Change passwords** for WordPress admins, cPanel, FTP and the database.

![wp-vcd malware code at the top of a theme functions.php file](https://www.hyyat.com/wp-content/uploads/2019/10/functions.png)

 **Another clue:** check the last-modified date of files in File Manager. Files changed on the same day without you editing them are worth a look.

## If the malware comes back

An infected file was missed, or the source is still there. Follow the full steps in [removing malware from a WordPress site](https://www.hyyat.com/en/knowledgebase/clean-hacked-wordpress-site-remove-malware/), or ask our [technical support and maintenance](https://www.hyyat.com/en/technical-support/) team to clean your site.

## Summary

- Pop-ups and unwanted redirects are usually wp-vcd malware.
- Delete its files from wp-includes and clean functions.php in every theme.
- The usual cause is a nulled theme or plugin, so remove the source.

Hyyat Host [WordPress Hosting](https://www.hyyat.com/en/wordpress-hosting/) scans files with ImunifyAV and isolates each account from the others.

## Frequently asked questions

   Why do pop-up ads appear on my WordPress site?

Usually because the site is infected with malware such as wp-vcd, which injects ads or redirects into your pages.

   What are the wp-vcd malware files?

Mainly wp-vcd.php, wp-tmp.php and wp-feed.php in wp-includes, plus code injected into functions.php in themes.

   How do I stop it coming back?

Do not use nulled themes and plugins, keep your site updated, and delete what you do not use.

   **Related guides**

- [How to Clean a Hacked WordPress Site: Removing Malware Step by Step](https://www.hyyat.com/en/knowledgebase/clean-hacked-wordpress-site-remove-malware/)
- [How to Choose a Safe WordPress Plugin or Theme Before Installing It: 8 Checks](https://www.hyyat.com/en/knowledgebase/choose-safe-wordpress-plugin/)
- [How to Update WordPress and Plugins Safely Without Breaking Your Site](https://www.hyyat.com/en/knowledgebase/update-wordpress-safely/)
- [How to Protect wp-config.php in WordPress: 7 Steps to Secure Your Most Important File](https://www.hyyat.com/en/knowledgebase/protect-wp-config/)
- [How to Scan WordPress for Vulnerabilities and Secure It with WP Toolkit](https://www.hyyat.com/en/knowledgebase/wordpress-vulnerability-scan-wp-toolkit/)

[All guides in this section →](https://www.hyyat.com/en/kb/wordpress-explanations/)

  **Need this service from Hyyat Host?**Our team handles it for you, with support replying to tickets within 24 hours at most.[WordPress Hosting](https://www.hyyat.com/en/wordpress-hosting/)[WordPress design](https://www.hyyat.com/en/wordpress/)
