[HELP] How to 301 redirect all 404 errors to homepage?

Discussion in 'Web Design' started by Buzzika, Mar 7, 2012.

  1. Buzzika

    Buzzika Supreme Member

    Joined:
    Jul 8, 2009
    Messages:
    1,297
    Likes Received:
    1,560
    Gender:
    Male
    Occupation:
    Hustler
    Location:
    Gurgaon
    How to 301 redirect all 404 errors to homepage? I have a plain HTML site, so any WP plugin to the rescue today.
     
  2. Buzzika

    Buzzika Supreme Member

    Joined:
    Jul 8, 2009
    Messages:
    1,297
    Likes Received:
    1,560
    Gender:
    Male
    Occupation:
    Hustler
    Location:
    Gurgaon
    Solved.... just placed this code in 404.php in root..