# Feature request: Pi-Hole should handle redirects when it can

**URL:** <https://discourse.pi-hole.net/t/feature-request-pi-hole-should-handle-redirects-when-it-can/21128>\
**Category:** Closed or Out Of Scope\
**Created:** [June 26, 2019, 9:09pm UTC](https://discourse.pi-hole.net/t/feature-request-pi-hole-should-handle-redirects-when-it-can/21128 "2019-06-26T21:09:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![JetForMe](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/jetforme/32/8371_2.png) [@JetForMe](https://discourse.pi-hole.net/u/JetForMe)\
**Post date:** [June 26, 2019, 9:09pm UTC](https://discourse.pi-hole.net/t/feature-request-pi-hole-should-handle-redirects-when-it-can/21128/1 "2019-06-26T21:09:47Z")

</div>

Pi-Hole, configured as recommended, makes it hard to use some google results, or to click on links in emails that are tracked.

For certain hosts, Pi-Hole should return itself as the IP address instead of 0.0.0.0, and the built-in web server should make a best effort to extract the redirect URL and redirect the request. While this wouldn't solve all such situations, it could solve a lot of them.

The recipes for extracting URLs (as well as the domains that can be processed in this way) can be kept in a community-updated DB, just like the blacklists.

---

<div class="post-metadata">

**Author:** ![Mcat12](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/mcat12/32/20_2.png) [@Mcat12](https://discourse.pi-hole.net/u/Mcat12)\
**Post date:** [June 28, 2019, 12:58am UTC](https://discourse.pi-hole.net/t/feature-request-pi-hole-should-handle-redirects-when-it-can/21128/2 "2019-06-28T00:58:40Z")

</div>

This will not work for HTTPS, which the majority of these redirects will use.

---

<div class="post-metadata">

**Author:** ![JetForMe](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/jetforme/32/8371_2.png) [@JetForMe](https://discourse.pi-hole.net/u/JetForMe)\
**Post date:** [June 28, 2019, 1:04am UTC](https://discourse.pi-hole.net/t/feature-request-pi-hole-should-handle-redirects-when-it-can/21128/3 "2019-06-28T01:04:14Z")

</div>

Ah, yeah, you're right. Damn.

---

<div class="post-metadata">

**Author:** ![DL6ER](https://discourse-cdn.pi-hole.net/user_avatar/discourse.pi-hole.net/dl6er/32/281_2.png) [@DL6ER](https://discourse.pi-hole.net/u/DL6ER)\
**Post date:** [July 6, 2019, 9:10pm UTC](https://discourse.pi-hole.net/t/feature-request-pi-hole-should-handle-redirects-when-it-can/21128/4 "2019-07-06T21:10:20Z")

</div>

Closed on July 6, 2019, 9:10pm UTC


