I would like to remove certain URL parameters from my site, so Googlebot doesn't get confused & thinks it's duplicate content.
The parameters are:
- ?sort=
- ?limit=
- ?order=
Based on some examples I've come across, here's what I'm currently using in .htaccess:
RewriteCond %{QUERY_STRING} "sort=" [NC]
RewriteRule (.*) /$1? [R=301,L]
RewriteCond %{QUERY_STRING} "limit=" [NC]
RewriteRule (.*) /$1? [R=301,L]
RewriteCond %{QUERY_STRING} "order=" [NC]
RewriteRule (.*) /$1? [R=301,L]
What is the proper syntax to combine these parameters into one rule?