7 ms·
Looks like it's a cut/paste error. If you do wget www.doioig.gov, this is the page you get. Notice the meta refresh that points to stackoverflow.com. <!DOCTY
by lancefisher 14y ago
Looks like it's a cut/paste error. If you do wget www.doioig.gov, this is the page you get. Notice the meta refresh that points to stackoverflow.com.
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<meta http-equiv="refresh" content="1;url=http://stackoverflow.com">
<script language="javascript">
window.location.href = "http://www.doi.gov/oig/index.cfm"
</script>
<title>Page Redirection</title>
</head>
<body>
If you are not redirected automatically, please click the link to continue to the <a href='http://www.doi.gov/oig/index.cfm'>U.S. Department of the Interior Office of Inspector General.</a>
</body>
</html>
- pmylund 14y agoAnd here's why: http://stackoverflow.com/a/5411601/620239 http://stackoverflow.com/a/5411601/620239. Forgot to change that first occurrence after pasting it in. "Oh, it works. I'm done."
- buttscicles 14y agoThat's brilliant, surprised that Google managed to rank them so highly because of it though!
- cleverjake 14y ago.gov domains have a ton of link juice.
- deleted 14y ago[deleted]
- signed0 14y agoAnother good reason why you should always use "example.com".
- fidz 14y agoI'm surprised http://example.com http://example.com is reserved by IANA.
- saraid216 14y ago...why is that surprising?
- jthol 14y agoBecause it makes sense. These sorts of things normal are allowed to go through so that horrible unintended consequences can be wrought on the unsuspecting.
- hsjsjzjzjz 14y agoHuh??? What are you talking?
- rwg 14y agoIt's reserved per RFC 2606: http://tools.ietf.org/html/rfc2606 http://tools.ietf.org/html/rfc2606
- deleted 14y ago[deleted]
- kisielk 14y agoI edited the answer so it says example.com now.
- libria 14y agoUnless, you know, you want to be in the #1 spot on a Google search.
- RKearney 14y agoIt has been edited. Here are the past revisions: http://stackoverflow.com/posts/5411601/revisions http://stackoverflow.com/posts/5411601/revisions
- carlisle_ 14y agoI'm actually glad it's been edited. There's an RFC for this, people!!
- adrr 14y agoI bet there's some sort of logic on google's side that states, if a government homepage url redirects to another non .gov URL, that the .gov address should be the canonical page of the site thats being redirected too. Which would explain why stackoveflow's homepage isn't listed in the results. Just a guess.
- takluyver 14y agoI could imagine the ranking favours .gov domains, which should be reliable. But surely for anything Google sees as a redirect, the redirect target should be the canonical URL?
- KayEss 14y ago>But surely for anything Google sees as a redirect, the redirect target should be the canonical URL? That would only be the case for a 301 redirect.
- nodesocket 14y agoWhy would this rank them so high though? Does the googlebot actually follow the http-equiv="refresh". If so, would changing http://stackoverflow.com http://stackoverflow.com to say http://dell.com http://dell.com make them rank #1 for searching for dell as well?
- momchenr 14y agoGlad to know someone who works for the government at least knows where to get their information.