多个域的单网站多个、网站

2023-09-02 00:53:17 作者:藏不住喜欢

我有多个域名指向同一个网站。 (FFFF.com,FFFF.ca,FFFF.org等)

I have multiple domains pointing at the same website. (FFFF.com, FFFF.ca, FFFF.org, etc)

什么是实现重写FFFF.com最好的​​方式,所有传入流量?

What's the best way to achieve a rewrite to FFFF.com all incoming traffic?

URL重写或301S?寻找最佳实践。这两项将在htaccess的正确处理呢?

URL rewrites or 301s? Looking for best practice. These two would be dealt with within htaccess right?

谢谢

推荐答案

您会想在这种情况下做一个301。一般情况下,如果你想找出哪种方法最佳实践,它通常是明确的客户端是怎么回事的选择。透明重写使它看起来像三个结构域具有相同的内容。一个301礼貌地告知,该内容位于其他地方的客户端。

You would want to do a 301 in this instance. In general, if you're trying to figure out which method is best practice, it's usually the choice that makes it clear to the client what is going on. Transparently re-writing makes it look like three domains have the same content. A 301 politely informs the client that the content resides somewhere else.

 
精彩推荐