We've recently migrated our website technology to a new platform and have set up a CNAME record to point www.example.com to the new server.
The A record for example.com points at our old server and we use the following .htaccess to redirect requests for example.com to the new site.
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^example\.com
RewriteRule ^(.*)$ http://www.example.com/$1 [R=permanent,L]
We'd like requests for example.com/images to pass through without any 301 redirects though. Can anyone give me pointers on how to modify our .htaccess to accomplish this?