1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Need to Save Resources, Will Redirect Help?

Discussion in 'Site & Server Administration' started by carl_in_florida, Jul 24, 2007.

  1. #1
    I have a MySpace Resource site. The images are one server and the site is on another. My image server is fine. But I am taxing my front end server.
    SEMrush
    Over a quarter of my bandwidth is taken by one image. I have moved it to my image server but the code is on thousands of sites and can't be moved. Future sites will call from the new location but what to do about those out there?

    Will an htaccess redirect work and will this task the server more than simply serving the image?
     
    carl_in_florida, Jul 24, 2007 IP
    SEMrush
  2. agnivo007

    agnivo007 Peon

    Messages:
    4,290
    Likes Received:
    289
    Best Answers:
    0
    Trophy Points:
    0
    #2
    The redirect won't affect system resources...even minorly.
     
    agnivo007, Jul 24, 2007 IP
    carl_in_florida likes this.
  3. carl_in_florida

    carl_in_florida Active Member

    Messages:
    1,066
    Likes Received:
    63
    Best Answers:
    0
    Trophy Points:
    90
    #3
    how is this:

    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^domain.com/img/button.gif [NC]
    RewriteRule ^(.*)$ http://www.newdomain.com/img/button.gif [R=301,L]
    Code (markup):
     
    carl_in_florida, Jul 24, 2007 IP
  4. carl_in_florida

    carl_in_florida Active Member

    Messages:
    1,066
    Likes Received:
    63
    Best Answers:
    0
    Trophy Points:
    90
    #4
    WOOHOO!

    Here is what worked

    
    Redirect 301 img/image.gif http://www.newdomain.com/img/button.gif
    Code (markup):
     
    carl_in_florida, Jul 24, 2007 IP
    agnivo007 likes this.
  5. agnivo007

    agnivo007 Peon

    Messages:
    4,290
    Likes Received:
    289
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Yep...that's the one-liner ;)
     
    agnivo007, Jul 24, 2007 IP