I have a URL that is:
http://example.com?country=uk&animal=dog&size=large
I wish to change the query string to
http://example.com?country=uk&animal=cat&size=small
I have tried this in an .htaccess tester
Options +FollowSymlinks
RewriteEngine on
RewriteCond %{QUERY_STRING} ^(.*[&?]|)animal=(dog)&size=(large)([&?].*|)$
RewriteRule ^(.*)$ $1?%1animal=cat&size=small[R=301,NC,L]
But the & in the rewrite keeps getting shown a 686 !
http://example.com?country=uk&animal=cat686size=small
any ideas would be greatly appreciated.