Forum Moderators: phranque

Message Too Old, No Replies

out of bandwidth

         

StuntasticAudi

4:16 pm on Feb 6, 2006 (gmt 0)

10+ Year Member



I'm out of bandwidth on one of my hosts and i have a lot of photos that users are using on their pages linking to my site. Is there a way to redirect those photos to a different host so they still show up on my user's pages.

jdMorgan

4:38 pm on Feb 6, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Yes, this is a simple application of the Redirect or RedirectMatch directive of mod_alias [httpd.apache.org], or of the RewriteRule directive of mod_rewrite [httpd.apache.org].

You should also check to be sure that the server where your images are located returns proper Cache-control and Expires headers, so that images can be cached by the client browser so they are not re-fetched from your server every time the browser renders a page.

For more information, see the documents cited in our forum charter [webmasterworld.com] and the tutorials in the Apache forum section of the WebmasterWorld library [webmasterworld.com].

Jim