recently google webmaster tools has shown that i have a duplicate title tag
http://www.mydomain.com/root_folder/mypage.htm
http://www.mydomain.com/root_folder/mypage.htm?referer=www.clickfind.com.au
I tried fixing the problem with a redirect rule using the following code
RewriteCond %{QUERY_STRING} ^referer=.*$
RewriteRule ^(.*)$ http://www.mydomain.com$1? [R=301,L]
using this rule i get redirected to http://www.mydomain.comroot_folder/mypage.htm as you can see there is no / between com and root_folder where there should be… can anyone help me with that i need to edit in the following code to fix this issue
You should add “/$1″ then ” ” then “?”..