- Status
- Resolved
- Reported for
- WPML SEO 2.0.1
- Related plugin/theme
- Yoast SEO
Overview of the issue
YOAST SEO Premium plugin creates a redirection when a post slug changes. However, this feature is conflicting with WPML and redirects to the homepage under two scenarios:
- If you trash a translated post then restore it.
- If you publish a post submitted for review by a non-admin user.
Workaround
Please, make a full backup of your site before proceeding.
Then, add this code to you functions.php file:

This will turn off Yoast SEO’s feature for automatic redirect on slug change.