wordpress - Remove/ Redirect URL query string -
example: http://dearearth.net/news/?cbg_tz=240
plugin site query string example , explanation: http://plugins.righthere.com/custom-backgrounds/multiple-schedule/?cbg_tz=480
i had come across in past of way remove unwanted ?cbg_tz=240
appended url. seems affecting analytics , creating dupes wth/ without string...
i believe it's simple .htaccess edit. have .htaccess settings accomplish task?
thanks!
something similar: how remove url parameters in htaccess
this should work:
<ifmodule mod_rewrite.c> rewriteengine on rewritecond %{query_string} . rewriterule (.*) $1? </ifmodule>
Comments
Post a Comment