Guide
Why an official website can send visitors to spam while its homepage looks normal

AI-generated editorial illustration by CyberShitty. Not a photograph or a document from the organisations named.
A citizen follows a search result to a public service and lands on a betting site. The webmaster opens the homepage and sees nothing wrong. Both observations can be accurate. Here is how to investigate the difference.
01 / What was actually reported in India?
In a letter dated 27 May 2024, CERT-In said it had received reports of compromised Indian government websites. Some search results using those domains sent visitors to unrelated betting, gaming or commercial pages. CERT-In described unauthorised site changes, including altered sitemaps. A sitemap is the list of pages a publisher gives search engines. An unrelated page can appear under a familiar government domain even while the main service looks normal.
The letter records earlier incidents. It does not identify a particular CMS or supplier as responsible for every case. Establishing what happened on a specific site requires that publisher’s records.
02 / A WordPress case where timing mattered
In July 2025, Sucuri described a customer whose WordPress site first loaded normally. About four to five seconds later, the browser went to spam. Its investigators found unauthorised code on that installation. A screenshot taken at the moment the page opened would have missed what the customer saw.
Google also documents mobile-only redirects caused by third-party advertising as well as by compromised sites. A normal homepage on an administrator’s laptop answers only one question. It says little about a visitor opening an interior page from search on a phone.
03 / What a visitor can safely report
Close the unexpected page and use a known contact number, app or bookmarked address to reach the service. Avoid submitting a password, downloading anything or paying on the unexpected page. Tell the publisher the time and time zone, device, page you meant to visit, how you got there and the destination domain you saw. Send a redacted screenshot if you already have one. Remove personal details, ticket codes and session links. There is no need to revisit the destination to gather proof.
If you entered details or approved a payment, use the guide for people who opened a suspicious link. If only a printed QR takes you elsewhere and the web service itself works, check who controls the QR address.
04 / What the authorised web team should check first
- Pin down the affected path. Compare the reported page, time and entry route with your own access, deployment and configuration-change logs. Ask whether an approved move or payment hand-off matches the destination. Keep the approved domain list and change ticket beside the report.
- Locate the change. Preserve the relevant records and a snapshot before cleanup. Review CMS publishing and admin history, recently changed plugins or themes, third-party tags, hosting or CDN redirects, and sitemap changes against a known-good release. Assign each check to the team that controls it.
- Measure what you actually know. A fall in analytics can also follow a broken tracking tag. A dated redirect record can establish diversion for that request. A count of affected people or a claim that a vendor profited needs separate evidence. Give the time window and gaps in your logs.
05 / Restore service and check the visitor’s route
Have the responsible team pause the affected page or integration and provide a known-good service link through an established channel. Remove the unauthorised change, address the source, update affected software and revoke exposed access. Check the original complaint’s page and entry route in a controlled environment, including the reported device type. Confirm both the intended landing page and the remaining steps in the service.
Check Search Console’s Security Issues report. If Google has flagged the site, resolve the listed issues before requesting review. Keep the incident open until the service owner has verified the affected route and checked for recurrence in the logs.
Source log / 2026-1128-WR
- CERT-In · Compromised Government Websites, 27 May 2024 (letter reproduced in a public university circular) Primary
- Sucuri · Investigation of redirects on a customer’s WordPress site, 17 July 2025 Primary
- Google Search Central · Unwanted mobile redirects and third-party advertising Primary
- Google Search Central · Spam policies, hacked content and sneaky redirects Primary
- Google Search Console Help · Security Issues report and review Primary