---
title: Run action after a redirections import is completed
url: "https://www.seopress.org/support/hooks/run-action-after-a-redirections-import-is-completed/"
lang: en-US
updated: 2026-10-20
hook_name: seopress_redirections_imported
required_version: 10.3
---

# Run action after a redirections import is completed

- **Hook name:** `seopress_redirections_imported`
- **Required version:** 10.3

```php
<?php
function sp_redirections_imported() {
	// For example, flush a page or edge cache.
}
add_action( 'seopress_redirections_imported', 'sp_redirections_imported' );
```

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



