【问题标题】:How Does search engines index Restful multilingual sites搜索引擎如何索引 Restful 多语言网站
【发布时间】:2011-06-14 23:19:54
【问题描述】:

我正在使用 asp.net mvc 开发一个多语言网站,我想知道如果所有语言的网址都相同,搜索引擎将如何索引我的网站,例如:

mysite.com/article/25/my-first-article //for spanish
mysite.com/article/25/my-first-article //for english

我正在控制使用此操作设置的语言:

public ActionResult SetCulture(string culture)
        {
            HttpContext.Session["culture"] = culture
            return Redirect(Request.UrlReferrer.ToString());
        }  

我使用以下链接控制当前语言:

<%= Html.ActionLink("English", "SetCulture", new {controller = "Culture", culture = "en"})%>
<%= Html.ActionLink("Español", "SetCulture", new {controller = "Culture", culture = "es"})%>

搜索引擎会索引两个版本的内容吗?

这对页面排名有任何副作用吗?

【问题讨论】:

    标签: asp.net-mvc-2 search-engine multilingual seo


    【解决方案1】:

    您可以查看following tips。这里有一些应该基本上回答你的问题:

    • 将每种语言的内容保存在单独的 URL 上
    • 不要使用 cookie 来显示已翻译的页面版本

    所以就 SEO 而言,你所做的并不好。

    【讨论】:

      【解决方案2】:

      Google 刚刚宣布了New markup for multilingual content。这将使多语言网站更容易处理其网站的翻译版本。

      【讨论】:

        猜你喜欢
        • 2014-01-05
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2010-11-16
        • 2010-12-25
        • 2012-02-02
        相关资源
        最近更新 更多