No-DB-URL-Shortener
No-DB-URL-Shortener copied to clipboard
How to remove fbclid parameter
How to remove fbclid added by facebook
all links issued by facebook are redirected to the 404.php page
Hi @salahjaafar, thanks for the note. I'm not able to look into it at the moment, but if you want to try and fix it, feel free to do so and submit a pull request.
ok thank you for your efforts, i will try to solve this problem
I modified the .htaccess file with these lines, and it's working correctly:
RewriteEngine On
RewriteBase /
# Redirect URLs containing the "fbid" parameter
RewriteCond %{QUERY_STRING} (^|&)fbid= [NC]
RewriteRule ^ %{REQUEST_URI}? [R=301,L]
# Handle the link creation bits
RewriteRule ^create.*$ /index.php?create=true [QSA,L]
RewriteRule ^delete.*$ /index.php?delete=true [QSA,L]
# A catch-all for any items not found
ErrorDocument 404 /index.php