WordPress.org

Ready to get started?Download WordPress

Forums

Redirection
WPML and Redirection (4 posts)

  1. Alex (Shurf) Frenkel
    Member
    Posted 1 year 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.

    unset($_POST['redirection_slug']);

    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?

    http://wordpress.org/extend/plugins/redirection/

  2. MonkeyPress
    Member
    Posted 1 year ago #

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

  3. MonkeyPress
    Member
    Posted 1 year 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
    Member
    Posted 10 months 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

About this Topic