【问题标题】:multilanguage using htacces 301 redirect使用 htaccess 301 重定向的多语言
【发布时间】:2012-12-22 18:17:20
【问题描述】:

我希望我的网站是多语言的。我做过这样的事情。 我使用 htaccess mod_rewrite 到 index.php。 例如,当我第一次打开网站时,在 index.php 中我正在做这样的事情

header("HTTP/1.1 301 Moved Permanently");
header("Location: http://www.exaple.com/hy");
exit;

它工作正常。 但我想知道正确的方法,它对 seo 是否正确?

【问题讨论】:

    标签: .htaccess redirect http-status-code-301 multilingual


    【解决方案1】:

    我在 stackoverflow 上的另一个问题中发布了对此的详细答案。这应该可以帮助您入门,如果您有任何更具体的问题,请告诉我:

    堆栈溢出:Internationalization and Search Engine Optimization

    先天

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-05-10
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多