I want to restrict all visitors (by user-agents) from visiting my site, except some special user-agents (say visitors using Firefox or so...)

Please show me a way to deny all, but allow those special visitors.

有帮助吗?

解决方案

You can use UrlRewrite plugin to check for user-agent strings and redirect to an access restricted page.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top