How WordPress sites get infected
Infections tend to trace back to a short list of causes. A plugin or theme left unpatched for months. A nulled (pirated) theme that shipped with a backdoor. An upload feature that accepts PHP files. An admin password reused from a breached service. WordPress core is seldom the weak point; third-party code around it is.
One pattern is worth knowing. Instead of defacing the site, the attacker quietly publishes large numbers of gambling or casino pages under your domain, cloaked so visitors see nothing while Googlebot indexes everything. The first symptom may be your own brand search filling up with casino keywords.



















