what's the quickiest way to redirect a down link?

Discussion in 'HTML & Website Design' started by pood, Sep 23, 2008.

  1. #1
    One of my major sponsors is offline, don't want to waste all that traffic, going to send all that traffic to a similar sponsor.

    What's the easiest and fastest way to redirect my links to another sponsor without having to change all the links in all my posts?

    Anyway to do it with htaccess or a wordpress plugin?
     
    pood, Sep 23, 2008 IP
  2. skateme

    skateme Peon

    Messages:
    162
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You can't do this with specific pages. You can only redirect 404s by editing the htaccess file but this will send ALL 404s to one location.

    If you wish to edit the htaccess file, add this line:
    
    ErrorDocument 404 URL TO FILE
    
    e.g. ErrorDocument 404 errors/notfound.php
    
    Code (markup):
     
    skateme, Sep 23, 2008 IP