Reputation
5,831
Top tag
Next privilege 10,000 Rep.
Access moderator tools
Badges
10 30
Newest
 Guru
Impact
~196k people reached

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.
Oct
28
comment Does Google ignore robots.txt
Agreed. Except for the misleading first sentence pointed out by @unor, this would be an excellent answer.
Aug
29
comment Remove extension from URL using a rewrite without resulting in a redirect loop
+1, this may be cleaner than my solution.
Aug
24
comment Apache Rewrite Rule non-www to www + http to https + remove trailing slash
Re: the bounty, is there something specific you'd like more "credible and/or official sources" for?
Aug
21
comment 301 redirect to 404 page or set status code to 404 and stay on page?
The use of 401 for authentication methods other than HTTP Basic or Digest auth (or other RFC2617-compatible auth schemes) has been discussed here before; my opinion at the time, which I still stand by, is that it may work in practice, but it's not really valid according to the HTTP spec, and that in any case, 403 or even 404 would be preferable.
Aug
21
comment 301 redirect to 404 page or set status code to 404 and stay on page?
@WPRookie82: As far as anyone except you and your webserver is concerned, there's no difference between a non-existent page and an existing page that returns a 404 response.
Aug
19
comment Index page content identical to page 1 of a gallery-type website
@WordPressDeveloper: Which way would you point it? If you make the permalink URLs canonical, users will never see the index URL in SERPs. If you make the index URL canonical, you risk having old content dropped from Google when the index page changes, because Google still thinks the old pages are just copies of the canonical index page. Anyway, none of the sites I checked with this kind of a pagination scheme (mostly blogs and webcomics) used rel=canonical, and they all seem to do just fine on Google.
Aug
9
comment Apache Rewrite Rule non-www to www + http to https + remove trailing slash
There's no point in removing trailing slashes from HTTP(S) URLs with an empty path. The URLs http://example.com and http://example.com/ are canonically equivalent per RFC 3986, and it's up to your browser which one it chooses to show in the address bar.
Jul
17
comment Will canonical tag referencing unsecure HTTP URLs on a HTTPS page cause the unsecure message?
Here's a live example. (Note that HTTPS support on SE is still experimental, and in particular, some pages may still have insecure images. However, user profile pages shouldn't have any, at least if the user in question is using Gravatar for their user icon.)