Support » Plugin: Short URL » 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']) ;

    $param = explode("/", strtok($_SERVER['REQUEST_URI'], '?')) ;

    • This topic was modified 1 month, 2 weeks ago by MrBrian.
  • You must be logged in to reply to this topic.