• Resolved jaxcatz

    (@jaxcatz)


    Great plugin, appreciate truly. But it does not solve the facebook fbclid. Using ‘ignore query parameters’ nor the Regex is working for fbclid, or if it does please do a small how video or in your blog, coz I saw most people going the mod_rewrite way even after trying your plugin. Would greatly appreciate if you can do that. Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author John Godley

    (@johnny5)

    What is the Facebook fbclid problem that needs solving?

    Thread Starter jaxcatz

    (@jaxcatz)

    The links from fb are added with a tracking id starting with fbclid, like these –
    fbclid=IwAR1xvU-5GddbqJDGxVZIESsaGaE0z9zmTajVLrfWR81ouHmKFucTt_o9MkA and those
    links take you to a 404 error page and not to the intended page unless the tracking ids are removed. This happens if you are logged in facebook, coz that’s when fb adds the tracking link. If the fb post is accessed by logged out users they wont see this problem.

    The ids are different for each click, so the solution is to ignore what all comes after fbclid= which according to the plugin should work by enabling ignore all parameters, but it doesnt.
    So to bypass this after trying out your plugin, I too went ahead with the htaccess mod_rewrite edit with these 3 lines at the beginning of .htaccess file

    RewriteEngine On
    RewriteCond %{QUERY_STRING} ^fbclid=[^&]+&?(.*) [NC]
    RewriteRule ^ %{REQUEST_URI}?%1 [R=302,L]

    Plugin Author John Godley

    (@johnny5)

    The ignore query parameters option does work, and has been used for this exact purpose many times. It is not necessary to modify your .htaccess file and I haven’t seen anyone having to do that.

    Your redirect must be otherwise incorrect for the URL you are trying to redirect. Maybe you can give an example URL and the settings you have used for it?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘fbclid’ is closed to new replies.