Where can I redirect exploit scanning bots?

Where can I redirect exploit scanning bots? - If a page has internal and external outgoing links to redirecting URLs, it’s returning 3xx (301, 302, etc.) HTTP status codes standing for redirection. This issue means that the page does not exist on a permanent or temporary basis. It appears on most of the popular web browsers, usually caused by a misconfigured website. However, there are some steps you can take to ensure the issue isn’t on your side. You can find more details about redirecting URLs by reading the Google Search Central overview. In this article, we’ll go over how you can fix the Where can I redirect exploit scanning bots? error on your web browser. Problem :


I get a lot of those exploit scanning bots like the ones looking for a WordPress login (which I don't have) or guessing other exploitable URLs.



Where is a sensible place to redirect them to via .htaccess - is there some URL that can slow them down or analyse their IP? I've tried a honeypot quick link but that seems to have failed after 1 day.


Solution :

I guess you want to prevent bad bots from scanning your website(s). I think you should do it from htaccess. It will prevent bad scanning bots for visiting your website and return a 403 Forbidden. you can block them according to their User agent. The first line means that it will block a vistor without user agent:



RewriteCond %HTTP_USER_AGENT (badbot|badbot1|badbot2) [NC]
RewriteRule ^.* - [R=404,L]


In your logs, you can spot HTTP user agents from bad bots and add it to this list.


We hope that this article has helped you resolve the redirects, web-crawlers, security error in your web browsers. Enjoy browsing the internet uninterrupted!

Comments

Popular posts from this blog

How do I redirect traffic only if being accessed from a specific port?

How to redirect to any domain [duplicate]

DNS entry to redirect constant url to changing directory name