spiders doesn't like redirection, but they are reconised as crawlers, either by coming from robots.txt file or the "agent" tag: Crawlers, Agents, Bots, Robots and Spiders so you can do your redirection based on that
How to identify search engine spiders and webbots