来自您的域名根的 302 会对您的 Google 排名产生不利影响吗?
我有一个网站 http://www.zenslap.me,它会 302 重定向到 http://www.zenslap.me/welcome 或 http://www.zenslap.me/dashboard 取决于用户是否登录。换句话说,我从不在 http://www.zenslap.me。这会对我的谷歌排名产生不利影响吗?我是否应该确保 http://www.zenslap.me 上有一个可查看的页面?
I have a site, http://www.zenslap.me, that does a 302 redirect to http://www.zenslap.me/welcome or http://www.zenslap.me/dashboard depending on whether or not a user is logged in. In other words I never show a page at the root address of http://www.zenslap.me. Is this going to have an adverse effect on my google ranking? Should I make sure that there is a viewable page available at http://www.zenslap.me?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
值得注意的是,这是唯一一种此类 302 重定向不会对您的价值归属产生不利影响的情况 - 事实上,这是更好的选择。鉴于您希望指向根域的任何链接/值的真实值驻留在根域级别(而不是重定向的目标页面),因此使用 302 而不是 301 是有意义的,这会(在)将指向 site.com 的任何值正确归因于 site.com/homepage。
这也更加面向未来 - 稍后对重定向设置的任何更改或解析都不会导致任何价值损失(除了直接链接到/指向特定页面而不是根页面的值)如果您将子页面重定向到主页,则可能会发生这种情况。
不幸的是,出现了规范化问题,您不可避免地会在根 URL 和目标页面之间获得价值归属的分割,并且您自然会获得指向两者的链接。在这种情况下,您可能很难收回该值,因为任何人为的规范化(例如,通过规范标签)都可能导致某种重定向循环,并且实际上使问题永久化。谷歌等人可能足够聪明,能够识别出重定向根主页和根 URL 的规范化背后的意图 - 短期内值得一试,我会通过 www.opensiteexplorer.org 监控结果,比较页面权限根域 URL 与重定向主页的比较。
Remarkably, this is the only scenario where a 302 redirect of this kind won't nescessarily adversely affect you in terms of attribution of value - in fact it's preferable. Given that you want the true value of any links/value pointing to the root domain to reside at the root domain level (rather than at the redirected destination page) it makes sense to utilise a 302 rather than a 301, which would (in)correctly attribute any value pointing at site.com to site.com/homepage.
This is also much more future-proof - any changes to or resolution of the redirection setup later down the line won't result in any loss of value (other than value directly linking to / pointing to the specific page, rather than the root) which might occur if you were redcirecting child pages to the homepage.
Unfortunately, the question of canonisation comes up, where you're unavoidably going to get a split of value attribution between the root URL and destination page, and you'll naturally acquire links to both. In that scenario, you might struggle to recoup that value, as any artificial canonisation (e.g., through the canonical tag) may cause something of a redirect loop and in fact perpetuate the problem. It may be that Google et al are intelligent enough to recognise the intent behind canonisation a redirected root homepage the root URL - worth a try in the short term, and I'd monitor the results via www.opensiteexplorer.org, comparing the page authorities of the root domain URL vs the redirected homepage.