Hello! How can I remove this from my site?
/en/?___from_store=cn
/cn/?___from_store=en
/fr/?___from_store=cn
One possible solution is to change the your page/switch/languages.phtml file
Find the line that reads
echo $_lang->getCurrentUrl()
And replace with
echo $_lang->getCurrentUrl(false)
Option 2
Go to System -> Configuration -> Web -> URL Options and set the 'Add Shop Code to URLs' option to Yes
This will make the urls to the store appear like the following:
To edit the names of your stores to be SEO friendly, go to System -> Manage Shops
Option 3
Try the following:htaccess remove query string only for root
RewriteCond %{QUERY_STRING} ^___store=de&___from_store=(en|de)$ [NC] RewriteRule ^(en/?)?$ $1? [R=301,L,NC] RewriteCond %{QUERY_STRING} ^___from_store=(en|de)$ [NC] RewriteRule ^en/?$ $0? [R=301,L,NC]