Hi!
Some way to detect crawlers / bot / spiders in Wisej?
I want to log it after detect it
Maybe this in program.cs?
var ua = Application.UserAgent;
System.Web.HttpRequest req = System.Web.HttpContext.Current.Request;
var cw = req.Browser.Crawler;
but maybe a good idea that could be Application.Crawler -> that returns true false and Application.CrawlerName too
Thanks in advance!
I mean that i want detect some crawlers like google search engine crawler or others search engines, I want to know when last visit for indexing or ranking my page
It’s not a Wisej feature, it’s part of the web server layer. You can use any IIS filters or Apache/NGINX rules for that. This could be useful https://sublimecoding.com/blocking-bots-in-iis/.
Please login first to submit.