Title: Ads appeared without having installed
Last modified: August 23, 2021

---

# Ads appeared without having installed

 *  [ganfoud](https://wordpress.org/support/users/ganfoud/)
 * (@ganfoud)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/ads-appeared-without-having-installed/)
 * Hello
    my wife noticed today that ads were appearing on her website without her
   having set up any.
 * After investigating I tried restoring the website and database to previous versions
   but without change (we have tried several backups up to 1 week old but the issue
   might be older)
    My investigations show the following: – ads appear in incognito
   mode or in a different browser but do not appear if I’m logged in to wordpress–
   I tried deleting the plugins and themes folders and ads still appear – I tried
   deleting everything except the wp-config.php and wp-contents folder and reupload
   a fresh download of wordpress files, no change – I tried from several computers(
   in case the computer itself was infected!) but same result – I checked the .htacess
   files – other wordpress websites on the same hosting are not affected by this–
   there are lots of unsuccesful connections since the 21 AUG and a successful one
   at a time where no one was supposedly connected
 * Any idea what to do to resolve the issue? I might try to restore older backups
   tomorrow but I would like to identify where the code was inserted
 * Thanks for your help
    -  This topic was modified 4 years, 8 months ago by [ganfoud](https://wordpress.org/support/users/ganfoud/).
    -  This topic was modified 4 years, 8 months ago by [ganfoud](https://wordpress.org/support/users/ganfoud/).
    -  This topic was modified 4 years, 8 months ago by [ganfoud](https://wordpress.org/support/users/ganfoud/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fads-appeared-without-having-installed%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/ads-appeared-without-having-installed/#post-14797556)
 * Carefully follow [this guide](https://wordpress.org/support/article/faq-my-site-was-hacked/).
   When you’re done, you may want to implement some (if not all) of [the recommended security measures](https://wordpress.org/support/article/hardening-wordpress/)
   and [start backing up your site](https://wordpress.org/support/article/wordpress-backups/).

Viewing 1 replies (of 1 total)

The topic ‘Ads appeared without having installed’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [James Huff](https://wordpress.org/support/users/macmanx/)
 * Last activity: [4 years, 8 months ago](https://wordpress.org/support/topic/ads-appeared-without-having-installed/#post-14797556)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
