Jump to content

i have a three language and i want to delete from url


fatheeym

Recommended Posts

I do not think you can remove the language code from the URL, because different URL will present contents in different languages.

Also it is good to have different URL for each language, it will benefit your store SEOs as long as you have translated them correctly to avoid duplicated contents.

Link to comment
Share on other sites

yes, it is possible to that, but you have to modify method getLangLink() of class Link.php or use override to modify that method.

currently it return iso code such as "en", "es" only, you can change to return "en-US", "en-UK", ...

 

but I do not think it is good, because "en" is better than "en-US" or "en-UK", "en" it will target all regions of English language, but "en-US" will only target US. the same to "en-UK",.. 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...