<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Shiv Prakash | Team Elivate</title>
    <description>The latest articles on DEV Community by Shiv Prakash | Team Elivate (@teamelivate).</description>
    <link>https://dev.to/teamelivate</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4244007%2F660a6447-1029-43e6-a921-11fd0d50a87b.png</url>
      <title>DEV Community: Shiv Prakash | Team Elivate</title>
      <link>https://dev.to/teamelivate</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/teamelivate"/>
    <language>en</language>
    <item>
      <title>How I check a WordPress site for hidden casino spam (5-minute checklist)</title>
      <dc:creator>Shiv Prakash | Team Elivate</dc:creator>
      <pubDate>Sat, 14 Nov 2026 06:45:48 +0000</pubDate>
      <link>https://dev.to/teamelivate/how-i-check-a-wordpress-site-for-hidden-casino-spam-5-minute-checklist-l3f</link>
      <guid>https://dev.to/teamelivate/how-i-check-a-wordpress-site-for-hidden-casino-spam-5-minute-checklist-l3f</guid>
      <description>&lt;p&gt;Last week I was checking a small business website in Delhi before pitching SEO work. The homepage looked normal. But the site had more than 2,000 hidden posts, and almost all of them were about casinos and betting.&lt;/p&gt;

&lt;p&gt;The owner had no idea.&lt;/p&gt;

&lt;p&gt;This kind of hack is common on WordPress sites that nobody updates. So now I run a quick check on every site before I talk to the owner. You only need a browser.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Count the posts through the REST API
&lt;/h2&gt;

&lt;p&gt;Open this in your browser:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;https://example.com/wp-json/wp/v2/posts?per_page=10&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;You will see the latest posts as JSON. Open DevTools &amp;gt; Network, click the request and look for the &lt;code&gt;X-WP-Total&lt;/code&gt; header. That is the total number of posts.&lt;/p&gt;

&lt;p&gt;A local shop or clinic site usually has 0 to 50 posts. If you see 2,000, something is wrong.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Search the site for spam words
&lt;/h2&gt;

&lt;p&gt;Try the built-in WordPress search:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;https://example.com/?s=casino&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Also try &lt;code&gt;betting&lt;/code&gt;, &lt;code&gt;slot&lt;/code&gt; and &lt;code&gt;loan&lt;/code&gt;. A clean small business site should return nothing.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Check what Google can see
&lt;/h2&gt;

&lt;p&gt;Search Google for:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;site:example.com casino&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;If spam pages show up here, Google has already found them.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Read robots.txt and the sitemap
&lt;/h2&gt;

&lt;p&gt;Open &lt;code&gt;/robots.txt&lt;/code&gt;, then &lt;code&gt;/wp-sitemap.xml&lt;/code&gt; or &lt;code&gt;/sitemap_index.xml&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Look for sitemaps you did not create, or lines that point to a different domain.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Check the canonical tag
&lt;/h2&gt;

&lt;p&gt;View the page source and search for &lt;code&gt;rel="canonical"&lt;/code&gt;. It should point to your own domain.&lt;/p&gt;

&lt;p&gt;On another site I checked, the canonical tag, robots.txt and sitemap all pointed to a different company's domain. Google was being told the pages belonged to someone else.&lt;/p&gt;

&lt;h2&gt;
  
  
  What to do if you find spam
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Take a full backup first.&lt;/li&gt;
&lt;li&gt;Don't just delete the posts. Find how they got in: old plugins, old themes, weak passwords or admin users you don't know.&lt;/li&gt;
&lt;li&gt;Update WordPress, the theme and all plugins. Remove anything you don't use.&lt;/li&gt;
&lt;li&gt;Change every password and check the Users list for unknown admins.&lt;/li&gt;
&lt;li&gt;Remove the spam pages, then submit a clean sitemap in Google Search Console.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Why this matters
&lt;/h2&gt;

&lt;p&gt;A hacked site quietly loses trust and rankings, and the owner usually finds out last. A five-minute check every few months is worth it.&lt;/p&gt;




&lt;p&gt;I'm Shiv, founder of &lt;a href="https://teamelivate.com" rel="noopener noreferrer"&gt;Team Elivate&lt;/a&gt;, a small web design and SEO studio in Rohini, New Delhi. Questions? Leave a comment.&lt;/p&gt;

</description>
      <category>wordpress</category>
      <category>seo</category>
      <category>security</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
