Welcome to WebmasterWorld Guest from 54.198.201.250

Forum Moderators: phranque

Message Too Old, No Replies

Moving images to a subdomain

     
11:41 am on Feb 17, 2012 (gmt 0)

Junior Member

5+ Year Member

joined:Mar 20, 2008
posts:116
votes: 0


Hello,

All images of my website are located in: [mydomain...] directory.

Now I want to move all images to: [static.mydomain.com...]

How do I tell to the search engines that all images are moved to a subdomain?
3:02 pm on Feb 17, 2012 (gmt 0)

Administrator

WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Aug 10, 2004
posts:10858
votes: 67


assuming you are on apache i would suggest using mod_rewrite:
http://httpd.apache.org/docs/current/mod/mod_rewrite.html [httpd.apache.org]

there are many examples of how to do this in the Apache Web Server forum:
http://www.webmasterworld.com/apache/ [webmasterworld.com]