Title: IP Anonymization
Last modified: November 14, 2017

---

# IP Anonymization

 *  Resolved [v4falkner](https://wordpress.org/support/users/v4falkner/)
 * (@v4falkner)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/ip-anonymisation/)
 * Hi,
    I guess, in my Country it’s not allowed to save the visitors IPs. Is there
   any option or workarround to anonymize or to prevent saving the IPs?
    -  This topic was modified 8 years, 6 months ago by [v4falkner](https://wordpress.org/support/users/v4falkner/).
    -  This topic was modified 8 years, 6 months ago by [v4falkner](https://wordpress.org/support/users/v4falkner/).

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [John Godley](https://wordpress.org/support/users/johnny5/)
 * (@johnny5)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/ip-anonymisation/#post-9681849)
 * The only way is to use the WordPress filter `redirection_request_ip` and return
   whatever IP you want to use. This can be added to a custom plugin or somewhere
   on your site:
 *     ```
       add_filter( 'redirection_request_ip', function( $ip ) {
         return '';
       } );
       ```
   
 *  Thread Starter [v4falkner](https://wordpress.org/support/users/v4falkner/)
 * (@v4falkner)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/ip-anonymisation/#post-9684316)
 * Thanks a lot! Gonna try this 🙂

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘IP Anonymization’ is closed to new replies.

 * ![](https://ps.w.org/redirection/assets/icon-256x256.jpg?rev=983639)
 * [Redirection](https://wordpress.org/plugins/redirection/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/redirection/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/redirection/)
 * [Active Topics](https://wordpress.org/support/plugin/redirection/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/redirection/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/redirection/reviews/)

## Tags

 * [data protection](https://wordpress.org/support/topic-tag/data-protection/)
 * [IP](https://wordpress.org/support/topic-tag/ip/)

 * 2 replies
 * 2 participants
 * Last reply from: [v4falkner](https://wordpress.org/support/users/v4falkner/)
 * Last activity: [8 years, 6 months ago](https://wordpress.org/support/topic/ip-anonymisation/#post-9684316)
 * Status: resolved