大网数据广告活动
网站运营与故障问答

Why does Google report a soft 404 when I redirect to the signup page?

· 52CE 我爱测

In the last month, I've got an increased number of "soft 404" errors reported by Google webmaster tools which actually work well for users. Configuration (maybe useless): I have a website built with rails 3.1 Authentication is ha…

问题原文

原帖链接 · Hettomei · CC BY-SA 3.0

In the last month, I've got an increased number of "soft 404" errors reported by Google webmaster tools which actually work well for users.

Configuration (maybe useless):

  • I have a website built with rails 3.1
  • Authentication is handled by the gem Devise

Problem:

Google tells me that the link on "ask a boat request" returns a soft 404.

I can't make this form in "POST" (which will solve the problem) because we need to automatically redirect users back to the page after sign in. (the Gem Devise memorizes the "get" link.)

To simplify, the question is: How to protect a private page with authentication, reached with a simple "GET" and not to be penalized by Google as a "soft 404".

已采纳解答

原帖链接 · Stephen Ostermiller · CC BY-SA 4.0

Soft 404s are not a "penalty". Google reports them to you so that can evaluate whether or not they are actually problems. Google's John Mueller has this to say about 404 errors:

404 errors on invalid URLs do not harm your site’s indexing or ranking in any way. It doesn’t matter if there are 100 or 10 million, they won’t harm your site’s ranking. http://googlewebmastercentral.blogspot.ch/2011/05/do-404s-hurt-my-site.html

So there is no need to fix them if they are not actually problems.


Having said that, you don't want bots (including Googlebot) to submit your forms. You should block bots from crawling your form submission URLs using robots.txt:

User-Agent: *
Disallow: /boat_requests/

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Webmasters Stack Exchange
适用范围
以原帖系统、软件版本与发布日期为准(2013-11-05)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0 / CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。