• Use the WP File Manager plugin. Navigate to the wp-content/plugins/quick-pagepost-redirect-plugin folder.

    Download the page_post_redirect_plugin.php file. This is your backup!

    In WP File Manager, open for editing this same file page_post_redirect_plugin.php

    Go to line 2116 and insert a new line below. Paste:

    /* START OF CORRECTION BY BRUNO BIONDI */
    $finalNoQS = strtolower( explode( '?', $getAddress )[0] );
    /* END OF CORRECTION BY BRUNO BIONDI */

    Go to line 2166 and insert a new line below. Paste:

    /* START OF CORRECTION BY BRUNO BIONDI */
    elseif( array_key_exists( $finalNoQS . '/', $haystack ) ){
         $index = $finalNoQS . '/';
    }elseif( array_key_exists( $finalNoQS, $haystack ) ){
         $index = $finalNoQS;
    }
    /* END OF CORRECTION BY BRUNO BIONDI */

    Clear cache and test!

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Hi Bruno, thanks for this post.

    Is this a solution for the ?utm_source parameters too ?

    I tried and couldn’t make it work. My plugin version is 5.2.2

Viewing 1 replies (of 1 total)

The topic ‘[SOLVED] Redirect problems with ?fbclick= and Query Strings Params’ is closed to new replies.