smartstore / Smartstore

A modular, scalable and ultra-fast open-source all-in-one eCommerce platform built on ASP.NET Core 7
http://www.smartstore.com/
GNU Affero General Public License v3.0
1.2k stars 447 forks source link

Friendly urls generator issue #352

Open ansydor opened 9 years ago

ansydor commented 9 years ago

It generates not friendly urls in case of Cyrillic characters. Can it be fixed to add just a language symbols at the end? for example: product title: some product title product title(en): some product title product title(ru): some product title on russian so the urls will be: some-product-title some-product-title-1 but for russian it's: -product- (skipped cyrillic words)

For manufacturer it's possible to leave only default and it goes like ../en/manufactureName or ../ru/manufactureName

In some way it would be great if urls for product generated like: en/some-product-title ru/some-product-title or some-product-title-en some-product-title-ru and you can use just general SEO field

mgesing commented 9 years ago

You can change the slug in the SEO tab through "URL alias" by clicking on the appropriate language.

ansydor commented 9 years ago

Understand, but would it be great if it generates automatically?

mgesing commented 9 years ago

I cannot see any benefit to generate localized slugs automatically. Have you tried the settings "SeoSettings.ConvertNonWesternChars" and "SeoSettings.AllowUnicodeCharsInUrls"?