It goes like this:-My current application have all the urls likewww.my-web.com/shop/shirt www.my-web.com/shop/jeansetc..But now we want to rebuild our application and also want to add i18n support manually.There are 3 ways I know to do thisUse cookies for countriesUse country codes in url www.my-web.com/en/shop/shopHave different domain for different country like www.my-web.in, www.my-web.com, www.my-web.uk.co etc.Confusion here is that the current system is indexed by google and its a 3-4 year old website so for old url SEO score is pretty good.So which approach should I use so that my current SEO indexing can also be used with new URL's.I am using angular2 with angular universal.I have used RxJS BehaviorSubject to get selected country on every component where it's required.private selectedCountry = new BehaviorSubject<string>('');currentSelectedCountry = this.selectedCountry.asObservable();I am able to get result. Country is changing, data is getting loaded based on country selected on runtime. Without any page reload.But question I have is What should be the best URL.Please share article related this.
URL building for i18n
seo;url