Oct 22 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 http://www.istockphoto.com (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:


Oct 12 2009

Landex goes live!

landexLandex is a development and mangement company based in Baltimore, M.D. We’ve been working on their website for a while, and the refreshed version just launched today.


Oct 10 2009

Financial Blog Update

Just did a quick edit to the Carrington theme for wordpress, which Broyhill Asset Management was using for their blog.

We had a limited size photo to work with, and the blog template was a fluid layout. The result? A little smoke and mirrors :)

blue_ridge

Check out their investment blog.


Oct 10 2009

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=http://www.google.com/”> ) a javascript redirect (window.location = http://google.com) 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 (.*) http://www.newsite.com/ [R=301,L]

What does that mean?


  1. turn on the apache rewrite module
  2. (.*) is a regular expression which means any character, any number of times, or basically, everything
  3. followed by the site it should go to
  4. and R=301 sets the 301 code. L means it’s the last rule that applies, don’t look for any more rules

Why are we getting rid of GoDaddy?

In addition to being a slow host for wordpress, GoDaddy only reads the .htaccess files once every few hours. This makes it VERY difficult to know if your .htaccess file has errors, and if it does have errors you site may not work for a few hours. By comparison, other hosts read the .htaccess file on every page load. This is the way it’s supposed to be done.
Hostnine has a lot better control panel for managing all of the domains. In addition, they have the cPanel which makes maintaining individual domains a lot easier.