I need a proper solution to delete the URL parameter.
Example:
Output: https://www.hostever.com/blackfriday/
So it will delete the fbclid=
Input: https://www.hostever.com/?s=blogger
Output: https://www.hostever.com/?s=blogger
No need to change other parameters except **fbclid=**
I( need to delete only fbclid= this one from the URL.
Now I am using this, but the problem is with many parameters.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{QUERY_STRING} !=""
RewriteCond %{QUERY_STRING} !^p=.*
RewriteCond %{QUERY_STRING} !^action=.*
RewriteCond %{QUERY_STRING} !^s=.*
RewriteCond %{REQUEST_URI} !^/wp-admin.*
RewriteRule ^(.*)$ /$1? [R=301,L]
</IfModule>
Please help me, How can I delete a specific parameter from the URL with .htaccess?