XiongShui's picture

Can anyone tell me, how I block unwanted visitors (by URL)?

Thank you

 

XiongShui ()

Accepted answer

Usually traffic is blocked either by IP address or based on the headers, I've never seen blocking by URL.

That said, I would recommend only blocking visitors at the server level, not at the application level. Maybe check with your hosting provider for tools they might offer that would allow you to do this.

Comments

drop's picture

What do you mean "by URL"?  Do you only want to block them from specific pages on your site?

XiongShui's picture

I want to block unwanted visitors, so as "pizza-imperia.com"...

drop's picture

Usually traffic is blocked either by IP address or based on the headers, I've never seen blocking by URL.

That said, I would recommend only blocking visitors at the server level, not at the application level. Maybe check with your hosting provider for tools they might offer that would allow you to do this.