Unwanted ads on wordpress site which is not hosted on WordPress.com
-
I have wordpress site which suddenly started to show unwanted ads and consent pop up for usesrs. I don’t use any ads plugins and I found in the page source this script : <script src=”https://pagead2.googlesyndication.com/pagead/managed/js/adsense/…..
I searched on sites files but can’t find anything. Any one have any idea for this?

-
We can’t help as your site isn’t running on the wordpress.com platform but is self-hosted. You must head over to the documentation or forum at wordpress.org
-
-
Sorry but I didn’t install Adsense and I think that there is someone or something which exploit a security bug to show ads and gain money from the site. But I don’t have any idea what is the security bug and where is located and how to solve this.
-
Hi @leenfarisa1a006112d, it is very likely! Did you give anyone access to your site or share your password somewhere?
In the meantime, you can perform security scans using the WordFence plugin. Installing a plugin like Jetpack Protect can help protect your website from future security attacks.
Since your site is not hosted on WordPress.com, I recommend you seek help in the WordPress.org forums next time.
- The topic ‘Unwanted ads on wordpress site which is not hosted on WordPress.com’ is closed to new replies.