{"id":20351,"date":"2026-11-22T08:46:54","date_gmt":"2026-11-22T05:46:54","guid":{"rendered":"https:\/\/www.hyyat.com\/knowledgebase\/wordpress-popup-ads-wp-vcd-malware\/"},"modified":"2026-11-22T08:47:11","modified_gmt":"2026-11-22T05:47:11","password":"","slug":"wordpress-popup-ads-wp-vcd-malware","status":"publish","type":"docs","link":"https:\/\/www.hyyat.com\/en\/knowledgebase\/wordpress-popup-ads-wp-vcd-malware\/","title":{"rendered":"Pop-up Ads and Redirects on Your WordPress Site? How to Remove wp-vcd Malware"},"content":{"rendered":"<div class=\"hkb\" dir=\"ltr\">\n<div class=\"hkb-tldr\"><b>In short<\/b>If pop-ups or redirects to shady sites appear on your site, it has most likely been infected with <b>wp-vcd<\/b> malware, usually from a nulled theme or plugin downloaded from an unofficial site. Take a backup, delete unknown files such as <code>wp-vcd.php<\/code>, <code>wp-tmp.php<\/code> and <code>wp-feed.php<\/code> from <code>wp-includes<\/code>, clean <code>functions.php<\/code> in every theme, then remove the source and change your passwords.<\/div>\n<figure class=\"hkb-fig\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.hyyat.com\/zasogooh\/2026\/11\/hkb-tr-13358-en.webp\" alt=\"Pop-up Ads and Redirects on Your WordPress Site? How to Remove wp-vcd Malware\" width=\"1200\" height=\"630\" loading=\"lazy\" \/><\/figure>\n<p>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 <b>wp-vcd<\/b>.<\/p>\n<h2>Where does it come from?<\/h2>\n<p>It usually spreads through paid themes and plugins handed out &#8220;free&#8221; on unofficial sites (nulled). Once activated, it copies itself into WordPress files and into every installed theme, then injects ads into your pages.<\/p>\n<h2>How to remove it<\/h2>\n<ol class=\"hkb-steps\">\n<li><b>Take a full backup<\/b> of files and database before changing anything.<\/li>\n<li><b>Check the wp-includes folder<\/b> for these files: <code>wp-vcd.php<\/code>, <code>wp-tmp.php<\/code> and <code>wp-feed.php<\/code>. They are not part of WordPress, so delete them if you find them.<\/li>\n<li><b>Clean functions.php<\/b> in every installed theme, not just the active one. You will find unfamiliar code at the top, before the theme&#8217;s own code, usually checking for the files above. Remove it, or replace the file with an original copy of the theme.<\/li>\n<li><b>Remove the source<\/b> : any nulled theme or plugin, replaced with an original copy or a trusted free alternative.<\/li>\n<li><b>Delete unused themes and plugins,<\/b> because the malware may have copied itself into them.<\/li>\n<li><b>Change passwords<\/b> for WordPress admins, cPanel, FTP and the database.<\/li>\n<\/ol>\n<figure class=\"hkb-fig hkb-shot\"><img decoding=\"async\" src=\"https:\/\/www.hyyat.com\/zasogooh\/2019\/10\/functions.png\" alt=\"wp-vcd malware code at the top of a theme functions.php file\" loading=\"lazy\" \/><\/figure>\n<div class=\"hkb-note\"><b>Another clue:<\/b> check the last-modified date of files in File Manager. Files changed on the same day without you editing them are worth a look.<\/div>\n<h2>If the malware comes back<\/h2>\n<p>An infected file was missed, or the source is still there. Follow the full steps in <a href=\"https:\/\/www.hyyat.com\/en\/knowledgebase\/clean-hacked-wordpress-site-remove-malware\/\">removing malware from a WordPress site<\/a>, or ask our <a href=\"https:\/\/www.hyyat.com\/en\/technical-support\/\">technical support and maintenance<\/a> team to clean your site.<\/p>\n<div class=\"hkb-hh\">\n<h2>Summary<\/h2>\n<ul>\n<li>Pop-ups and unwanted redirects are usually wp-vcd malware.<\/li>\n<li>Delete its files from wp-includes and clean functions.php in every theme.<\/li>\n<li>The usual cause is a nulled theme or plugin, so remove the source.<\/li>\n<\/ul>\n<p style=\"margin:10px 0 0\">Hyyat Host <a href=\"https:\/\/www.hyyat.com\/en\/wordpress-hosting\/\">WordPress Hosting<\/a> scans files with ImunifyAV and isolates each account from the others.<\/p>\n<\/div>\n<h2>Frequently asked questions<\/h2>\n<div class=\"hkb-faq\">\n<details>\n<summary>Why do pop-up ads appear on my WordPress site?<\/summary>\n<p>Usually because the site is infected with malware such as wp-vcd, which injects ads or redirects into your pages.<\/p>\n<\/details>\n<details>\n<summary>What are the wp-vcd malware files?<\/summary>\n<p>Mainly wp-vcd.php, wp-tmp.php and wp-feed.php in wp-includes, plus code injected into functions.php in themes.<\/p>\n<\/details>\n<details>\n<summary>How do I stop it coming back?<\/summary>\n<p>Do not use nulled themes and plugins, keep your site updated, and delete what you do not use.<\/p>\n<\/details>\n<\/div>\n<div class=\"hkb-rel\"><b>Related guides<\/b><\/p>\n<ul>\n<li><a href=\"https:\/\/www.hyyat.com\/en\/knowledgebase\/clean-hacked-wordpress-site-remove-malware\/\">How to Clean a Hacked WordPress Site: Removing Malware Step by Step<\/a><\/li>\n<li><a href=\"https:\/\/www.hyyat.com\/en\/knowledgebase\/choose-safe-wordpress-plugin\/\">How to Choose a Safe WordPress Plugin or Theme Before Installing It: 8 Checks<\/a><\/li>\n<li><a href=\"https:\/\/www.hyyat.com\/en\/knowledgebase\/update-wordpress-safely\/\">How to Update WordPress and Plugins Safely Without Breaking Your Site<\/a><\/li>\n<li><a href=\"https:\/\/www.hyyat.com\/en\/knowledgebase\/protect-wp-config\/\">How to Protect wp-config.php in WordPress: 7 Steps to Secure Your Most Important File<\/a><\/li>\n<li><a href=\"https:\/\/www.hyyat.com\/en\/knowledgebase\/wordpress-vulnerability-scan-wp-toolkit\/\">How to Scan WordPress for Vulnerabilities and Secure It with WP Toolkit<\/a><\/li>\n<\/ul>\n<p><a href=\"https:\/\/www.hyyat.com\/en\/kb\/wordpress-explanations\/\">All guides in this section \u2192<\/a><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>In shortIf 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 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":20317,"comment_status":"open","ping_status":"closed","template":"","meta":{"inline_featured_image":false,"_templately_pack_id":"","_templately_imported_at":"","_templately_source":"","_templately_import_session_id":"","footnotes":""},"doc_category":[2747],"doc_tag":[],"class_list":["post-20351","docs","type-docs","status-publish","has-post-thumbnail","hentry","doc_category-wordpress-explanations"],"year_month":"2026-11","word_count":526,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"admin","author_nicename":"admin","author_url":"https:\/\/www.hyyat.com\/en\/author\/admin\/"},"doc_category_info":[{"term_name":"WordPress Guides","term_url":"https:\/\/www.hyyat.com\/en\/kb\/wordpress-explanations\/"}],"doc_tag_info":[],"knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/docs\/20351","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/comments?post=20351"}],"version-history":[{"count":0,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/docs\/20351\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/media\/20317"}],"wp:attachment":[{"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/media?parent=20351"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/doc_category?post=20351"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/doc_tag?post=20351"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}