Mobile app version of vmapp.org
Login or Join
Shanna517

: URL building for i18n It goes like this:- My current application have all the urls like www.my-web.com/shop/shirt www.my-web.com/shop/jeans etc.. But now we want to rebuild our application

@Shanna517

Posted in: #Seo #Url

It goes like this:-

My current application have all the urls like


my-web.com/shop/shirt my-web.com/shop/jeans

etc..

But now we want to rebuild our application and also want to add i18n support manually.

There are 3 ways I know to do this


Use cookies for countries
Use country codes in url my-web.com/en/shop/shop Have different domain for different country like my-web.in, my-web.com, 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.

10% popularity Vote Up Vote Down


Login to follow query

More posts by @Shanna517

0 Comments

Sorted by latest first Latest Oldest Best

Back to top | Use Dark Theme