---
title: Disable automatic redirect suggestions
url: "https://www.seopress.org/support/hooks/disable-automatic-redirect-suggestions/"
lang: en-US
updated: 2021-09-30
hook_name: seopress_post_automatic_redirect
required_version: 4.0
---

# Disable automatic redirect suggestions

- **Hook name:** `seopress_post_automatic_redirect`
- **Required version:** 4.0

```php
//Disable automatic redirect notices in WP admin
add_filter( 'seopress_post_automatic_redirect', '__return_false' );
```

Source: [https://gist.github.com/wp-seopress/fb6442bba9e184e8f4d32614f7a3e4e6](https://gist.github.com/wp-seopress/fb6442bba9e184e8f4d32614f7a3e4e6)


**This snippet must be added to a [must-use plugin](https://www.seopress.org/support/guides/how-to-create-a-mu-plugin/) to make it work.**
