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

How to redirect nonexistent pages to your home page?

Discussion in 'Black Hat SEO' started by observer, Sep 1, 2010.

  1. observer

    observer Power Member

    Joined:
    Apr 7, 2010
    Messages:
    731
    Likes Received:
    22
    Hi guys, i run Wordpress autoblog and changed format of permalinks, which effected all indexed pages as well...
    How to redirect nonexistent pages to your home page?
     
  2. nosuits9

    nosuits9 Newbie

    Joined:
    Mar 13, 2010
    Messages:
    2
    Likes Received:
    0
    Occupation:
    Button Pusher
    Location:
    MidPacific
    Use your htaccess to redirect
    ErrorDocument 404 your domain here
     
  3. c0rrup

    c0rrup Regular Member

    Joined:
    Jul 11, 2009
    Messages:
    256
    Likes Received:
    116
    Gender:
    Male
    Occupation:
    Internet Entreprenuer
    Location:
    Mars
    Wordpress automatically redirects old permalinks to new ones.
     
  4. observer

    observer Power Member

    Joined:
    Apr 7, 2010
    Messages:
    731
    Likes Received:
    22
    HTML:
    Use your htaccess to redirect
    ErrorDocument 404 your domain here
    could you please explain how to do it? (sorry, not a coder).
     
  5. trancecommunity

    trancecommunity Regular Member

    Joined:
    Feb 11, 2010
    Messages:
    269
    Likes Received:
    35
    Htaccess is akward for someone with no experience. Possibilty of destroying SEO

    There has to be a ton of plugins for WP for that. Search 404 and see what comes up
     
  6. ElmosGotAGun

    ElmosGotAGun Newbie

    Joined:
    Dec 18, 2009
    Messages:
    18
    Likes Received:
    1
    Yeah there is a bunch of wordpress addons.

    Check this one out:

    Code:
    hxxp://wordpress. org/extend/plugins/redirection/
     
  7. mktanny

    mktanny Regular Member

    Joined:
    Oct 22, 2009
    Messages:
    225
    Likes Received:
    62
    Occupation:
    Blog editor and IM
    their are a lot of redirection plugins for wordpress but the best one is Elmos pointed to above and you may also want to install custom permalinks plugin ,so that you can further seo your category and tag urls.
     
  8. TCDTC

    TCDTC Newbie

    Joined:
    Aug 25, 2010
    Messages:
    14
    Likes Received:
    3
    This is how I set my .htaccess up:

    Options +FollowSymLinks
    RewriteEngine on

    ###### Product Tidy Up Jul 23 2010 ######
    RewriteRule ^OLD-PAGE-HERE NEW-PAGE-HERE-INCLUDING-HTTP-AND-DOMAIN [R=301,L]

    I use Google Webmaster tools to find old pages that are still linked from other sites and redirect them somewhere meaningful.
     
  9. TCDTC

    TCDTC Newbie

    Joined:
    Aug 25, 2010
    Messages:
    14
    Likes Received:
    3
    Sorry, I know that you asked about redirecting to home page, but that was a solution for more specific redirecting - ie to a page with a similar subject. A 404 is the way to go as a catch-all.