[SOLVED] Redirect problems with ?fbclick= and Query Strings Params
-
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)
Viewing 1 replies (of 1 total)
The topic ‘[SOLVED] Redirect problems with ?fbclick= and Query Strings Params’ is closed to new replies.