# Blocking specific webaddresses

**URL:** <https://discourse.pi-hole.net/t/blocking-specific-webaddresses/74>\
**Category:** Community Help\
**Created:** [March 29, 2016, 1:02am UTC](https://discourse.pi-hole.net/t/blocking-specific-webaddresses/74 "2016-03-29T01:02:14Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![Martin\_Anonym](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/martin_anonym/32/13100_2.png) [@Martin\_Anonym](https://discourse.pi-hole.net/u/Martin_Anonym)\
**Post date:** [September 11, 2020, 7:05pm UTC](https://discourse.pi-hole.net/t/blocking-specific-webaddresses/74/15 "2020-09-11T19:05:17Z")

</div>

Actually wanna pull this Thread out as it would be a f\*cking awesome feature to be able to block whole URLs and not just on DNS level.

Example: _ **AdSense** _ (noone likes it)

Placed at: [https:// **www.google.com** /adsense/search/async-ads.js](https://www.google.com/adsense/search/async-ads.js)

So it uses the Domain ( **www.google.com** ) which you dont wanna block! But you for sure want to block the `*google.com/adsense*` path so everything related to adsense based on this Domain is blocked.

Actually the pattern should look like: (RegEx)

`(.*)?google\.com\/adsense.*`

So it matches every combination or the domain end everything behind `/adsense`. Think that would be awesome to block snitches like google which are putting (moving) their Ads/Trackers on the same domain as the maindomain. So you can either block the whole google or nothing.

If needed (wished) I will create a FeatureRequest if enough people are liking this.

---

_[View the full topic](https://discourse.pi-hole.net/t/blocking-specific-webaddresses/74)._
