How to Remove Spam URLs from Google Search Results Using Search Console


If a website has a security vulnerability, a hacker may gain access and verify ownership in Google Search Console using HTML File, HTML Meta Tag, DNS Record, Google Analytics and Google Tag Manager. Once unauthorized ownership is established, the attacker may create and index spam URLs, redirect visitors to unwanted websites and spam pages, reduce genuine traffic, and damage SEO performance of original website. To properly resolve the issue, simply removing the spam URLs is not enough. The unauthorized access and the original website vulnerability must also be removed. We recommend checking all five verification methods one by one to identify how ownership was verified, then remove the suspicious verification token or access. After removing unauthorized ownership, complete the cleanup by deleting spam URLs and malicious files, fixing the original website vulnerability, and resubmitting important original URLs through Google Search Console → URL Inspection → Request Indexing so Google can re-crawl the clean pages and gradually restore their search visibility. Regularly monitor Google Search Console for unknown users, suspicious verification methods, security issues, and unusual indexing activity to detect and prevent unauthorized access in the future.

How Hackers Gain Search Console Access?
A hacker may first find a vulnerability in the website, plugin, theme, CMS, hosting account, or another website component. By exploiting this weakness, the attacker may gain access to website files or administrative areas. The attacker may then add a Google verification file or verification token to the website and use it to verify the website inside their own Google Search Console account. After gaining access, the attacker may create unwanted pages or spam URLs on the website. These pages can then become indexed by Google and start appearing in search results. In some cases, the spam pages may redirect visitors to another website, causing genuine website traffic to be diverted.
Important: Google Search Console itself does not directly “rank” a page. However, unauthorized users may use Search Console features to help Google discover compromised URLs, while the actual ranking and indexing are determined by Google’s search systems.


Spam URL Removal Process
Follow these steps to remove unwanted spam URLs, clean your website, and secure Google Search Console from unauthorized access.

Step 1 – Remove Unauthorized Search Console User
Google Search Console → Settings → Users & Permissions → Unknown User → Remove Access
Check the user list and remove any unknown or unauthorized email.



Step 2 – Remove Unauthorized Verification Method
Google Search Console → Settings → Users & Permissions → Unused Ownership Tokens → Check Token → Remove
Remove any unknown HTML verification file, meta tag, or DNS TXT record that was added without authorization. Only remove the suspicious token do not remove your legitimate verification.



Step 3 – Remove Spam Pages & URLs
Google Search Console → Removals → Temporary Removals → New Request → Enter Spam URL → Remove URL → Submit
First delete the spam page from your website, then use Removals to hide it from Google Search quickly. Google notes that this removal is temporary, so the page should also be permanently removed or blocked on the website.



Step 4 – Fix Website Vulnerabilities
Update your CMS, themes, plugins, and change all important passwords. Remove only confirmed malicious files, review .htaccess if modified, and run a complete malware/security scan.
Note: If you are not familiar with website files or code, do not delete or edit it yourself. Ask your web developer to check and remove the suspicious files to avoid causing website errors or downtime.



Step 5 – Request Re-Crawling of Clean Pages
Go to Search Console → URL Inspection and enter the cleaned page URL. Click Inspect → Request Indexing to ask Google to crawl the clean version again. This helps Google update its search results after the hacked or spam content has been removed.



Step 6 – Monitor Search Console Regularly
Go to Search Console → Security & Manual Actions and review any warnings. Review Users & Permissions and Pages for unknown users or unusual URLs. Regular monitoring helps you detect new spam URLs, security issues, or unauthorized access early.


Important Note:
Removing spam URLs from Google Search Console is only one part of the solution. If the original security weakness is not fixed, the attacker may regain access, create new spam pages, or verify the website again. Therefore, the website should be completely cleaned and secured before considering the issue fully resolved.