temmes Posted February 18, 2012 Share Posted February 18, 2012 I was wandering if anyone has used friendly urls with the language in it for a single language site. ie. [domain]/es/... I am setting up a site that could be upgraded to multi-language later. When I use a workaround by adding a second language (/en/) and just disable the language selector I have the langage (/es/) in my url. But the negative part of it is that google indexes all the the pages of the second language and that way I am producing duplicate content. The autogenerated .htacces also produces the /en/ lines and when I take those out it still keeps recognizing the /en/... pages I want the language in my url so I dont have to redirect all the pages when I ad a new language. And maybe lose all my SEO work. Hope someone can help me with this... Link to comment Share on other sites More sharing options...
Pez Posted August 17, 2012 Share Posted August 17, 2012 (edited) I'm having the same problem. My site's language is English only. I've deleted all the other languages, uninstalled the languages block and regenerated the .htaccess file. But a customer in France tells me she is still being redirected to the /en/ version of the site, which then gives her 404 error. She says she has cleared her browser's cache. Can anyone help please? I read something about friendly URL playing a part, but I don't want to have to turn it off. Is there something I can edit in the .htaccess that'll stop the redirect? Edited August 17, 2012 by Pez (see edit history) Link to comment Share on other sites More sharing options...
shokinro Posted August 19, 2012 Share Posted August 19, 2012 I just checked this with demo and development server. Once I disable other languages and leave only language, then re-generate .htaccess, the site will work correctly without en in the URL. Please make sure the .htaccess is really changed by inspect the .htaccess, sometime it is not changed correctly. Please also try to clear your browser cache or try to use other browser and other computer to see if there is same issue. Many times the browser cache waste me a lot of time. Link to comment Share on other sites More sharing options...
andersburn Posted December 1, 2013 Share Posted December 1, 2013 I'm having the same problem as the #1 post. I'm about to expand to other languages in my shop, It uses danish as the default language and the urls are great at: mackabler.dk/product.html but when i add another language the default url becomes mackabler.dk/da/product.html - that kills all the SEO I have made! Can you keep the default url's(for danish in my case) and just have the /lang/ on the new urls? Link to comment Share on other sites More sharing options...
varadipeter Posted December 25, 2013 Share Posted December 25, 2013 I was wandering if anyone has used friendly urls with the language in it for a single language site. ie. [domain]/es/... I am setting up a site that could be upgraded to multi-language later. When I use a workaround by adding a second language (/en/) and just disable the language selector I have the langage (/es/) in my url. But the negative part of it is that google indexes all the the pages of the second language and that way I am producing duplicate content. The autogenerated .htacces also produces the /en/ lines and when I take those out it still keeps recognizing the /en/... pages I want the language in my url so I dont have to redirect all the pages when I ad a new language. And maybe lose all my SEO work. Hope someone can help me with this... Hi. Have you resolved this issue? I'm in a very similar situation and I might have a workaround... Link to comment Share on other sites More sharing options...
Recommended Posts