Fix for query strings (like fbclid)
-
While no one should really be using this plugin anymore, here’s how to patch the plugin to support short urls that are shared on Facebook – this also works for any query string added to your shorturl. If you do not do this patch, your shorturls will redirect to a 404.
Open shorten-url.php in the plugin folder.
change line 923 from:
$param = explode("/", $_SERVER['REQUEST_URI']) ;
to:
$param = explode("/", strtok($_SERVER['REQUEST_URI'], '?')) ;
- The topic ‘Fix for query strings (like fbclid)’ is closed to new replies.