I had a static HTML site but now I have changed it to wordpress and the URLs indexed by google is giving 404 error. My question is what will be the best way to redirect these 404 pages to my wordpress index page preserving link juice. I have heard about 301 redirect but I am not sure how I can set it up in .htaccess. I want all previous .html URLs indexed in Google redirect to my new index page. Thanks.