SEO - 重定向主页或根URL - 尾随斜杠

Joe*_*ooz 4 seo url-rewriting

有没有人知道如果主页(有或没有尾部斜线)返回200 ok标题响应,Google是否会惩罚某个网站?

我已经使用在线重定向检查器(CNN,纽约时报,福克斯新闻,维基百科等)测试了大量网站,他们都返回200"ok",有或没有尾随斜线.

我知道所有内页都需要使用其中一个,但看起来主页是一个例外.你们都觉得怎么样?

PS,我在IIS7中使用URLRewrite来强制使用www,小写和删除尾部斜杠.主页似乎是唯一不受尾部斜杠规则影响的页面.

谢谢!

编辑 例如,使用此在线工具:http://www.internetofficer.com/seo-tool/redirect-check/ 以下URL是"直接链接".也不是301重定向... http://www.wikipedia.org http://www.wikipedia.org/

许多其他例子产生相同的结果.

编辑2 这是我的URLRewrite代码(web.config)

    <rules>
        <rule name="CanonicalHostNameRule1" stopProcessing="true">
            <match url="(.*)" />
            <conditions>
                <add input="{HTTP_HOST}" pattern="^www\.domain\.com$" negate="true" />
            </conditions>
            <action type="Redirect" redirectType="Permanent" url="http://www.kurtzandblum.com/{R:1}" />
        </rule>
        <rule name="LowerCaseRule1" stopProcessing="true">
            <match url="[A-Z]" ignoreCase="false" />
            <action type="Redirect" redirectType="Permanent" url="{ToLower:{URL}}" />
        </rule>
        <rule name="Remove trailing slash" stopProcessing="true">
            <match url="(.*)/$" />
            <conditions>
                <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
                <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
            </conditions>
            <action type="Redirect" redirectType="Permanent" url="{R:1}" />
        </rule>
    </rules>
Run Code Online (Sandbox Code Playgroud)

Joe*_*ooz 10

好的,这是Google博客的官方回答

我引用了......"请放心,特别是对于您的根URL,http://example.com相当于http://example.com/,即使您是Chuck Norris,也无法重定向."

所以你有它.根URL不仅具有或不具有尾部斜杠,而且甚至可能无法将301重定向到另一个.