Page forwarding

Discussion in 'Link Development' started by waikoloa, Apr 21, 2009.

  1. #1
    I just got a new site, www.condosinfocenter.com, which had previously been used. I was wondering if there is code I can use of what to forward any pages that had previously been in the search engines or that have link juice to the home page. Please let me know. Thanks,
     
    waikoloa, Apr 21, 2009 IP
  2. jitendraag

    jitendraag Notable Member

    Messages:
    3,982
    Likes Received:
    324
    Best Answers:
    1
    Trophy Points:
    270
    #2
    Not a very bright idea actually. You are just saying that whichever page is not available (404) should be redirected to homepage.

    
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . http://www.condosinfocenter.com/ [R=301,L]
    </IfModule>
    
    Code (markup):
    This basically says if the file is not found, redirect it to the homepage.
     
    jitendraag, Apr 21, 2009 IP
  3. waikoloa

    waikoloa Peon

    Messages:
    106
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    What would you recommend I do? There are just several indexed pages and I want to make sure that I still can get the link juice for it and I want to make sure if they are still in any of the engines that when someone clicks on it they end up on the site and not an error page. Thanks!
     
    waikoloa, Apr 21, 2009 IP