Showing results for 
Search instead for 
Did you mean: 

Extra Language Extentsion

Extra Language Extentsion

Hello! How can I remove this from my site?






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 |
Magento plugins released:

Re: Extra Language Extentsion

OK thanks, I'll give it a try!

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.