【问题标题】:URL structure for multi-language site多语言网站的 URL 结构
【发布时间】:2016-03-06 12:50:22
【问题描述】:

我想制作一个多语言网站,但我不确定从 SEO 角度处理 URL 结构的最佳方法是什么。一些例子:

产品

example.com/product/123/en/product-name

example.com/product/123/product-name/en

还是其他?

类别

example.com/Category/en/furniture/chair/

example.com/Category/en/120/chair/

example.com/Category/en/chair/

还是其他?

【问题讨论】:

    标签: web seo multilingual url-design


    【解决方案1】:

    (忽略 SEO 方面,因为它在 Stack Overflow 上是题外话。)

    将语言标记作为 first 路径段是最常见的约定。这是有道理的,特别是如果你translate the path(你应该这样做!),因为路径代表一个层次结构:

    最上面的入口是主页:

    • 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

    如果在路径中间或末尾的某处有语言标签,它就不允许browsable URLs(至少不以合理的方式,带有翻译的路径)。

    【讨论】:

    • 好的,非常感谢。这个怎么样:example.com/en/Category/furniture/chair/ 或 example.com/en/Category/furniture-chair/ 或 example.com/en/Category/chair/
    • @monabaharlou:好吧,如果“椅子”是“家具”的子类别,/category/furniture/chair 是有道理的(这样你也可以拥有/category/furniture)。如果没有家具类别,您可以选择/category/chair。我不会使用/category/furniture-chair,除非您真的希望将类别命名为“家具椅”。
    猜你喜欢
    • 2020-09-04
    • 1970-01-01
    • 1970-01-01
    • 2023-03-26
    • 2012-05-02
    • 2014-02-17
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多