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

Best SEO friendly way to handle 404 page

Discussion in 'White Hat SEO' started by metalfreek, Aug 5, 2013.

  1. metalfreek

    metalfreek Junior Member

    Joined:
    May 21, 2010
    Messages:
    139
    Likes Received:
    58
    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.
     
  2. gamingmaster42

    gamingmaster42 Regular Member

    Joined:
    Jul 21, 2010
    Messages:
    473
    Likes Received:
    176
    Home Page:
    • Thanks Thanks x 1
  3. metalfreek

    metalfreek Junior Member

    Joined:
    May 21, 2010
    Messages:
    139
    Likes Received:
    58
    Can this be done using htaccess only. 301 redirect all my previous URLs to index page of new one.
     
  4. gtree

    gtree Jr. VIP Jr. VIP Premium Member

    Joined:
    Dec 30, 2009
    Messages:
    1,158
    Likes Received:
    9,993
    Location:
    iN tHe FeEt Of My GuRu
    Home Page:
  5. Kaistar

    Kaistar Power Member

    Joined:
    Jan 9, 2010
    Messages:
    562
    Likes Received:
    333
    • Thanks Thanks x 1
  6. bh-chick

    bh-chick Newbie

    Joined:
    Mar 14, 2012
    Messages:
    18
    Likes Received:
    7
    Occupation:
    SEO specialist
    Location:
    Poland
    Home Page:
    I think it'll be better to redirect all pages to their new equivalents, instead of redirecting all old pages to the home page.
     
  7. chuladi

    chuladi Newbie

    Joined:
    Mar 29, 2013
    Messages:
    22
    Likes Received:
    3
    neil patel quicksprout has an awesome guide on putting links on your 404 page to increase them getting spidered. google it. i think it is better than just redirecting 404s, though redirecting is great.

    also I regularly grab all 404s and put content on them esp if they are coming through google. no use in letting an indexed page go to waste
     
  8. chuladi

    chuladi Newbie

    Joined:
    Mar 29, 2013
    Messages:
    22
    Likes Received:
    3
    oh also I use a 301 redirect script and redirect all pages, for example if they were .html or .php becasue wordpress pages are not like that