Does anyone know of a .htaccess way of doing it it there is no plug in?
Do you want to just ban any requests from yandex, right?
Basically, yes.
I used yandex as an example.
I’d like to do something like bounce the person to google or some other useful place.
Looks like some kind of new age fascism.
Do you want redirect all requests from, let’s say, yandex, to google or somewhere else automatically? Like if someone clicked in results on yandex, got on your site, and then what? Automatically redirect to google? Without visiting your site? Or are you planning to show some message, e.g., “I accept search from Google only!”?
New-aged fascism? 🙂
I simply want to redirect a visitor who comes from “yandex” for example to another URL, such as google.com.
In PHP I would do this with $_SERVER[‘REMOTE_ADDR’]
I attempted this in the installed index.php but it caused a server 500 error.