Reputation
6,544
Top tag
Next privilege 10,000 Rep.
Access moderator tools
Badges
11 35
Newest
 Nice Answer
Impact
~245k people reached

Apr
11
comment Googlebot is still attempting to crawl old content
@StephenOstermiller Good idea. Although, if the reason Google keeps crawling those URLs is because some other sites still link to them, disallowing them in robots.txt may cause Google to reindex them based on the links alone.
Apr
11
comment Googlebot is still attempting to crawl old content
What advantage (besides the dubious one of sponging up residual link juice) do you think serving a 301 redirect to a "forum closed" page would have over simply serving a 404 / 410 error page with the same content?
Mar
15
comment Say a customer is an observant Jew and wants his site to be offline on Shabat - SEO problem?
@ThorstenS: Hmm... the Retry-After header can also take a timestamp, so if you could somehow obtain next Saturday's date, that would work. But it might be easiest to just use a dynamic 503 error document (e.g. in PHP) and make it emit the correct Retry-After header.
Mar
13
comment Say a customer is an observant Jew and wants his site to be offline on Shabat - SEO problem?
+1 for a correct status 503 implementation. Your answer could be even better if you also made it send a Retry-After header indicating when the site will be available again, though.
Feb
24
comment Do 301 redirections carry Google penalty?
I could've sworn this had been asked before, but if so, my search skills are failing me. :/
Dec
18
comment When using a stacked font-family, what does the browser use when NONE of the specified fonts are present?
(And of course, if we really start picking nits, there's the fact that CSS font fallback is done on a per-glyph basis. So while the standard requires every browser to have a "sans-serif" font family, it does not, AFAICT, require the fonts in that family to actually contain any glyphs.)
Dec
18
comment When using a stacked font-family, what does the browser use when NONE of the specified fonts are present?
Technically, the standard says that "All five generic font families are defined to exist in all CSS implementations (they need not necessarily map to five distinct actual fonts)." So every CSS-compliant browser does have a "sans-serif" generic font family, although it's not strictly guaranteed to map to an actual sans-serif font. But yes, this is a very hair-splitting distinction.
Dec
18
comment When using a stacked font-family, what does the browser use when NONE of the specified fonts are present?
If your browser is using Times New Roman as its default sans-serif font, something is seriously screwed up. But, yes, without that sans-serif at the end, the browser would pick its default fallback font, which is typically the same as the default serif font, and quite often Times New Roman or something similar.
Aug
25
comment Can an HTTP status 400 be a substitute for a 410?
@AnubianNoob: "Gone" is, more properly, a subset of "Not Found"; if it's gone, it's not there to be found any more. Indeed, the 410 Gone status code was added in HTTP/1.1 basically as a more specific and emphatic version of 404, to let servers explicitly indicate that a formerly valid resource has been deliberately and permanently removed (as opposed to, say, just being accidentally or temporarily inaccessible).
Aug
23
comment Can an HTTP status 400 be a substitute for a 410?
+1, agreed. A "404 Not Found" response would also be a valid choice here.
Jul
12
comment How do I bulk delete data in DHIS2 that has been entered via data entry forms
Why was this migrated to webmasters.SE? Even after looking at the site, I'm still not 100% sure what DHIS2 is, but it doesn't appear to be a tool for webmasters.
Jul
12
comment If I remove files extensions from URL but my canonical tags point to the URL with the extension, does that matter?
What do you mean by "use .htaccess to remove the file extensions"? Do you mean a) an internal rewrite, so that a user who visits example.com/awesome-page will receive the content of awesome-page.html, b) an external rewrite, so that a user who visits example.com/awesome-page.html will get an HTTP 301 redirect to example.com/awesome-page, or c) both?
Apr
27
comment Why am I getting cgi-sys/defaultwebpage.cgi coming up when I browse my webpage?
@T9b: If you're running your own nameservers, you would edit their config files. If someone else is hosting your DNS for you (more likely), then you'd typically use their config panel. For more specific instructions, first find out which DNS software / host you're using, and look for its documentation.
Mar
29
comment How to disallow HTTP 302 redirects from another site to mine
If you told us more about why you want to disallow this traffic, someone might be able to suggest an alternative way to accomplish the same goal.
Jan
30
comment Strange text appearing before meta description in search results page
To add to @w3d's comment, you can ask for your accounts to be merged using this form (linked as "contact us" from the bottom of each page here).
Jan
28
comment Make Google index over 90,000 user profiles
If you don't actually track when the profiles have been last modified in your database, I'd strongly suggest leaving the <lastmod> field out, instead of using a dummy date like in this example code. At best, there will be no difference; at worst, lying about when your pages were last modified can cause crawlers to miss changes (if the date is too old) or waste time inefficiently recrawling pages that haven't changed (if it's too new). Of course, the best option would be to actually store a last modification timestamp for each profile in the database, and report it in the sitemap.
Dec
3
comment How do I find when an URL was first indexed by Google?
There may not be any answer, other that "you can't" or "nobody knows how". But you're right, let me edit that into my answer.
Dec
3
comment How do I find when an URL was first indexed by Google?
@Stephen: That may not always be the case; see the examples in my new answer below.
Dec
3
comment How do I find when an URL was first indexed by Google?
@Stephen & Zistoloen: That is not generally the date when the page was first indexed by Google. Based on some testing, the date shown via this method appears to be either pulled from the content of the page (if Google thinks it sees something that looks like a "published on" or "last modified on" date) or, if no such date is found in the content, based on the date when Google last observed a (substantial?) change to the page. Of course, if the page was never changed after its first publication, this might happen to be the same as its publication date, but there's no guarantee of that.
Dec
3
comment How do I find when an URL was first indexed by Google?
It's quite possible that the answer is "no". Google may not even store this information (since there's no particular reason why they'd have to), or, even if they do, they may not expose it to third parties.