A friend who is a former spook told me how he once smuggled an Arab man out of the Middle East. ”I dressed him in short pants.” ”Why?” I asked. ”Because Arab men never wear shorts. People tend to only see what you tell them to see.”
Which brings me to the following response I got from a client developer when I pointed out to their in-house SEO that one of their templates was linking internally with 302s, which is not necessarily a good thing SEO-wise:
Actually there is no redirect in this case. What you experience is the result of caching in the browser, ie we set headers on the page to cache the response for few hours, so next few hours you re-access the page you get the cached result of the browser, which is returning with a 302 response.
A script, ie google bot, that tries to download the page, doesn’t experience this response, so google sees 200 response code and the way you can see that is by by-passing your browser and calling the request via a terminal…
I am sure he thought it was true and his email certainly sounded convincing – and there was enough tech jargon in there to give the in-house SEO pause – but a quick search in Google showed that the redirects were getting indexed in Google. A quick crawl of the site with user-agent=Googlebot showed that the 302s were being seen by “a script”. And a quick “Fetch as Googlebot” from Google Webmaster Tools showed that Googlebot was fetching these links.
And once this stuff was pointed out to the dev guy, he realized, without any drama btw, that there might be something to these observations.
I like to say that doing SEO for clients is like going on a blind date with an engineering team. Despite that, I often find the in-house devs become huge enthusiasts of SEO because it usually drives making their site better. But just because they have technical knowledge doesn’t mean you should not notice that they are wearing shorts.
CYA Note: If the dev who sent the email mentioned above is reading this, I have no problem with how you responded. Thought you were totally pro about it.