1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Redirect Not Found Pages

Discussion in 'Blogging' started by arthro, Feb 11, 2009.

  1. arthro

    arthro Regular Member

    Joined:
    Aug 18, 2008
    Messages:
    258
    Likes Received:
    13
    I just completely redesigned my site... I also removed all the contents which were indexed on Google... I just wanted to start it out from the beginning.

    My question is "How do I redirect those pages that are indexed?"
    My site currently have 445 indexed pages that does not exists anymore on my site because I deleted it.
     
  2. zone69

    zone69 Junior Member

    Joined:
    Nov 24, 2008
    Messages:
    196
    Likes Received:
    1,290
    You can redirect all 404 errors to where you want by adding this to your .htaccess:
    Code:
    ErrorDocument 404 /index.php
    
    That would direct them to your homepage but you can change /index.php to whatever you wish or even a different domain if you wanted.

    Hope that helps
     
  3. iamsgf

    iamsgf Regular Member

    Joined:
    Oct 6, 2008
    Messages:
    307
    Likes Received:
    268
    I would suggest that if any of your pages had any PR then you should individualy write them into your htaccess using a 301 redirect. this will mean google will pass the juice from the original page onto the new page. :)


    (if that helps you dont forget to hit the Radio Active Green Button Above!)
     
    • Thanks Thanks x 1
  4. rbarukh

    rbarukh Registered Member

    Joined:
    Feb 3, 2009
    Messages:
    62
    Likes Received:
    8
    Yeah make sure to use 301's for any pages that prevously had any lind of PR. I've made the mistake of not doing so in the past. Ahh well, we learn from our mistakes I guess! :)