WPML

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:

  1. If you trash a translated post then restore it.
  2. If you publish a post submitted for review by a non-admin user.

Workaround

This issue is fixed. Updating to the latest version solves it on your site, so you only need this workaround if you can’t update yet.

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.

Still Seeing This Issue?

If updating doesn’t fix it, ask a support question and we’ll look into it with you.

Ask a support question

All known issues