WPML and Redirection (4 posts)

  1. Alex (Shurf) Frenkel
    Posted 3 years ago #

    WPML have a conflict with Redirection plugin and since they bought are an important plugins I have had to find a fix:

    Redirection plugin works on the basis: All post data is correct…
    The problem is, it added a single slug copy to the post of the element, and compares it with the NEW slug it created.

    The only thing needed to change for the redirection plugin to work with WPML is to unset this slug in dublicate creation (this is the only location where this is happaning…)

    so the fix is simple:

    on line 3330 of translation-management.php of WPML.


    Since WPML dont have an action in this location for overide I cannt create a plugin to fix this, I have posted it on bought WPML and Redirection forums and thought I should share it here too.

    But this is on the WPML side, how can this be helped on the Redirection side?


  2. Martin Blumenfeld
    Posted 3 years ago #

    What issue did this resolve? Did the homepage of language redirect to an interior page mysteriously?

  3. Martin Blumenfeld
    Posted 3 years ago #

    Also, did you add that "unset($_POST['redirection_slug']);" line to the translation-management.class.php file? And could you give a little more specifics about exactly, which file and where in that file I should be adding that line. If this fixes my homepage suddenly redirecting to a sub-page that would be AMAZING!!

  4. repoulin
    Posted 2 years ago #

    I am guessing no details were available about this or a redirection plugin that is compatible?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Redirection
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic