Answer the question
In order to leave comments, you need to log in
How to remove malicious links in google indexing?
There is a small site on vp, which has only a couple of pages, and it turned out that the malware created links like https://website.com/helicopter22/dgdfgfeg.htm
using php in a couple of months,
and so on as much as 25 billion, because no one is Monitored)
I would be grateful if someone came across to share advice? I deleted the malware, all links are no longer available, but I can’t imagine what to do with Google.
There are already fewer of them visible after a couple of hits, but the rest, even those that are 404 now, are indexed and writes "Indexed, but it is not in the Sitemap"
Made by Robots. txt and sitemap with only the necessary pages
User-agent: *
Disallow: /wp-admin/
Allow: /wp-admin/admin-ajax.php
Sitemap: https://website.com/sitemap_index.xml
Answer the question
In order to leave comments, you need to log in
The only correct method and the most efficient one is to give a special code 410 Gone (the address is permanently disabled). Priority removal from the index is performed by both Yandex and Google.
Something like this htaccess:
RewriteCond %{REQUEST_URI} (.)*keyword
RewriteRule ^.*$ https://url [R=410,L]
Here the guy wrote "Pages with 404 errors will gradually disappear from the index." This is silly. It's funny that he has an SEO telegram channel.
Pages with 404 errors will gradually disappear from the index. If certain pages are not removed for a long time, use the removal tool in Google Search Console, here is a link to the tool.
Quoting the official help of this Google tool:
You can exclude the URL from Google Search results, as well as remove the current page description and cached version (which will be recreated after the next crawl). URLs will disappear from Search for approximately six months. If you want them to never show up there, block indexing of the pages or remove them from the site.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question