few of my websites were compromised, there were thousands of links submitted to google, bing etc which are not relevant to my site.
I cleaned the websites in question and updated the robots.txt.
the robots.txt file look like this:
User-agent: *
Disallow: /
Disallow: /administrator/
Disallow: /bin/
Disallow: /cache/
Disallow: /cli/
Disallow: /components/
Disallow: /includes/
Disallow: /installation/
Disallow: /language/
Disallow: /layouts/
Disallow: /libraries/
Disallow: /logs/
Disallow: /media/
Disallow: /modules/
Disallow: /plugins/
Disallow: /templates/
Disallow: /tmp/
which means the first line is Disallow: /
yet all major crawlers are hitting(including google, bing, apple) non existing pages in the root directory and hitting 404 not found
I have updated the robots.txt
file around 12 hours earlier.
Am I missing something here?
404 article not found
, but in access log for the crawler it is representing as"GET /czc2MTk1WHY3bzEwNTdY HTTP/1.1" 301 610
- any reason for the same.