mon*_*lou 3 multilingual seo url-design web
我想制作一个多语言网站,但我不确定从 SEO 的角度来看处理 URL 结构的最佳方法是什么。一些例子:
产品
example.com/product/123/en/product-name
Run Code Online (Sandbox Code Playgroud)
或者
example.com/product/123/product-name/en
Run Code Online (Sandbox Code Playgroud)
或其他?
类别
example.com/Category/en/furniture/chair/
Run Code Online (Sandbox Code Playgroud)
或者
example.com/Category/en/120/chair/
Run Code Online (Sandbox Code Playgroud)
或者
example.com/Category/en/chair/
Run Code Online (Sandbox Code Playgroud)
或其他?
(忽略 SEO 方面,因为它是 Stack Overflow 上的题外话。)
将语言标签作为第一个路径段是最常见的约定。这是有道理的,特别是如果你翻译路径(你应该这样做!),因为路径代表一个层次结构:
顶部条目是主页:
example.org/en
example.org/de
从那里,您选择一个产品:
example.org/en/product/123/chair
example.org/de/produkt/123/stuhl
或一个类别:
example.org/en/category/furniture
example.org/de/kategorie/möbel
如果在路径中间或末尾的某个地方有语言标签,则不允许浏览 URL(至少不是以合理的方式,带有翻译路径)。
归档时间: |
|
查看次数: |
854 次 |
最近记录: |