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

.htm page to .html do I need to 301 all old pages..

Discussion in 'White Hat SEO' started by lowteg, Aug 29, 2010.

  1. lowteg

    lowteg Junior Member

    Joined:
    Sep 10, 2009
    Messages:
    186
    Likes Received:
    34
    Occupation:
    Business Owner
    Location:
    Australia
    I have a old site which has been indexed for 3-4 years the old layout sucked so I have a new layout which I have made.

    What I am worried about is the old layout is in .htm format and the new layout is in .html format??

    Stupid question possibly but will I need to 301 all the htm pages to html or will Google and other search engines just see them as the same thing?

    Thanks =)
     
  2. Parsin

    Parsin Newbie

    Joined:
    Jan 29, 2010
    Messages:
    49
    Likes Received:
    22
    redirect/rewrite the sites from htm to html with a 301 redirect

    edit: ( i dont tested these examples )
    Code:
    RewriteRule (.*)\.htm$ http://yourdomain.com/$1.html[R=301,L]
    
    RedirectMatch 301 (.*)\.htm$ http://yourdomain.com/$1.html
    
     
    Last edited: Aug 29, 2010