Monthly Archives: October 2009

XHR error code 0 – iStockPhoto

Looking like iStockPhoto is having some issues on their website. What is an XHR error? This is an acronym for XHTML-HTTP-Request. In short, AJAX. Istockphoto upgraded their website without much field testing (bad practice) and something has obviously become overloaded. How can I fix this? This problem is on their server side. After logging in iStock should be redirecting you to an unsecured HTTP connection instead of HTTPS, but they are not and this causes this problem. So, since the problem is in your hands, actually all you need to do is go back to their homepage by typing in (withouth the S after http) and then find the photo you want to download. Send a message to @iStock on twitter and complain about this glitch. Or branch out to other services: ShutterStock (fee based) Stock.Xchng (free and fees) 16 Ultimate Collection of Free Stock Photo Sites

Posted in Design | 2 Comments

Your tech lesson of the day: 301 Redirects

What is a 301 redirect? The HTTP standard defines several status codes for redirection: * 300 multiple choices (e.g. offer different languages) * 301 moved permanently * 302 found (originally temporary redirect, but now commonly used to specify redirection for unspecified reason) * 303 see other (e.g. for results of cgi-scripts) * 307 temporary redirect Why do you want to use 301 redirects when possible? Google will transfer your existing search rankings and good keywords. Users will arrive at the new site seamlessly. How to do you create a 301 redirect? What is different about a meta refresh tag or javascript redirect A meta refresh tag or ( <meta http-equiv=”refresh” content=”0;url=”> ) a javascript redirect (window.location = waits for the window content to load, then tells the browser to go to the new location. A 301 redirect will send the user along to the new location before any content is served by using http headers. Why should you avoid meta refresh / javascript? Googlle bots don’t have javascript enabled. They don’t follow meta refresh pages. And your users will actually see the old page load, depending on how quick their browser is. It’s just not a great way to do a redirect, but sometimes the server doesn’t have the capability to give a 301, or you don’t have admin privileges to set one up. Can you give me an example of a .htaccess file redirect? The file will look like this: RewriteEngine on RewriteRule (.*) [R=301,L] What does that mean? … Continue reading

Posted in Tech Opinion, Web Development | Leave a comment