Forum Topic: widgets.js

Forum: .htaccess Forum : Security • Posted by Jeroen • Updated:


Lately a get requests like this one:

I have tried to find out online if this is any good or bad, but couldn't really find an answer. When I look up the IP at projecthoneypot, most of the time the IP addresses are of spam harvestors like

Is this something that should be blocked or do I need it for the twitter button on my website? It gives me only 404's since it doesn't lead to anything and I can't figure out where this link is coming from.

Anyone some ideas or does anyone else also have these 404 errors or recognizes them?



2 Replies to “widgets.js”

Jeff Starr
Posted by Jeff Starr

Requests like the one in your example are common (in my experience). I recommend searching your site files for any instances of "widgets.js" and then go from there. If the file doesn't exist, returning a 404 is probably the easiest way to deal with it, but if the requests are exceedingly numerous you may want to block with 403 or similar.

Posted by Jeroen •

Thanks Jeff, I'll go from there.