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

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

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

  1. satyawrat

    satyawrat Jr. VIP Jr. VIP

    Joined:
    Jul 8, 2009
    Messages:
    932
    Likes Received:
    1,183
    Occupation:
    Hustler
    Location:
    Gurgaon
    Home Page:
    How to 301 redirect all 404 errors to homepage? I have a plain HTML site, so any WP plugin to the rescue today.
     
  2. satyawrat

    satyawrat Jr. VIP Jr. VIP

    Joined:
    Jul 8, 2009
    Messages:
    932
    Likes Received:
    1,183
    Occupation:
    Hustler
    Location:
    Gurgaon
    Home Page:
    Solved.... just placed this code in 404.php in root..