Welcome to DU! The truly grassroots left-of-center political community where regular people, not algorithms, drive the discussions and set the standards. Join the community: Create a free account Support DU (and get rid of ads!): Become a Star Member Latest Breaking News Editorials & Other Articles General Discussion The DU Lounge All Forums Issue Forums Culture Forums Alliance Forums Region Forums Support Forums Help & Search
7 replies = new reply since forum marked as read
Highlight: NoneDon't highlight anything 5 newestHighlight 5 most recent replies
Strip unwanted Facebook tracking code from links (Original Post) LVZ May 2025 OP
K'n'R justaprogressive May 2025 #1
I don't understand how to use it? barbtries May 2025 #2
Example LVZ May 2025 #3
minor update LVZ May 2025 #4
Facebook problem with FIX Las Vegas Mixx May 2025 #5
So, sometimes a (Facebook) bug can also be a solution ... n/t LVZ May 2025 #6
For website owners, add this to your .htaccess file LVZ Jun 2025 #7

Las Vegas Mixx

(324 posts)
5. Facebook problem with FIX
Sat May 31, 2025, 01:42 PM
May 2025

The redirect link works great except that Facebook does not add a thumbnail image to the post.
This may not be important but if it is, I have a fix (Facebook hack) that restores the post thumbnail.

Note that post #1 has no thumbnail image but post #3 has the image with the same redirect link.
The trick is to post the original link (#2). Then edit your post to erase the original link replacing it with the redirect link. Facebook will keep the old thumbnail image even though the link URL has changed.


LVZ

(1,014 posts)
7. For website owners, add this to your .htaccess file
Thu Jun 5, 2025, 12:40 PM
Jun 2025

For your own website, add this near top of .htaccess file to strip Facebook tracking.


< IfModule mod_rewrite.c >
RewriteEngine On
RewriteCond %{QUERY_STRING} ^(.*?)(&?fbclid=[a-zA-Z0-9_-]+)$
RewriteRule ^(.*)$ /$1?%1 [L,NE,R=301]
< /IfModule >

NOTE: remove space after/before ... < and > characters ...

in use example: https://1-DOT.com/poplinks/?x&fbclid=REMOVE

Kick in to the DU tip jar?

This week we're running a special pop-up mini fund drive. From Monday through Friday we're going ad-free for all registered members, and we're asking you to kick in to the DU tip jar to support the site and keep us financially healthy.

As a bonus, making a contribution will allow you to leave kudos for another DU member, and at the end of the week we'll recognize the DUers who you think make this community great.

Tell me more...

Latest Discussions»Culture Forums»Open Source and Free Software»Strip unwanted Facebook t...