
Not applicable

Not applicable
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2016
01:28 PM
08-23-2016
01:28 PM
Extra Language Extentsion
Hello! How can I remove this from my site?
/en/?___from_store=cn
/cn/?___from_store=en
/fr/?___from_store=cn
Labels:
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2016
09:45 PM
08-24-2016
09:45 PM
Re: Extra Language Extentsion
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]
OpenSource Expert | OpenSource Technologies | www.opensourcetechnologies.com
Magento plugins released: http://www.opensourcetechnologies.com/product/product-category/magento-extensions
Magento plugins released: http://www.opensourcetechnologies.com/product/product-category/magento-extensions

Not applicable

Not applicable
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2016
08:01 AM
08-31-2016
08:01 AM
Re: Extra Language Extentsion
OK thanks, I'll give it a try!

Not applicable

Not applicable
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2016
10:12 AM
08-31-2016
10:12 AM
Re: Extra Language Extentsion
Hey! I don't see that code in my .htaccess file in the root. Can you show me a screenshot of how and where to add it in that code? Also, I tried the other two ways but they didn't work. Thanks for the third method though.