Changing .html to .shtm for SSI and SEO reprocutions

Discussion in 'Search Engine Optimization' started by madmn, Feb 21, 2006.

  1. #1
    I want to get my menu code which includes rollover image script off my homepages and get it into a different file somehow. I could us SSI where I have one file for the menu and it would work for all pages. The only problem is that I believe I need to change the .html or .htm of the pages to .shtm . The website is getting some search engine traffic right now and I dont want to cause a SEO problem by changing the pages that way. If I knew it wouldn't bother the search engines and the ranking the site has now, I would make the change. Any input will be appreciated. Thanks.
     
    madmn, Feb 21, 2006 IP
  2. fsmedia

    fsmedia Prominent Member

    Messages:
    5,163
    Likes Received:
    262
    Best Answers:
    0
    Trophy Points:
    390
    #2
    You could, instead, try to add a mime-type in your .htaccess file for html so it reads .html has .shtml and then you could use SSI without having to change all the file extensions and lose all the pagerank and SEO for those pages. Take a look over here for some help. (Google Search)
     
    fsmedia, Feb 21, 2006 IP
  3. mad4

    mad4 Peon

    Messages:
    6,986
    Likes Received:
    493
    Best Answers:
    0
    Trophy Points:
    0
    #3
    As fsmedia said - use htaccess to make your server process html & htm files as if they were stm or php files.
     
    mad4, Feb 21, 2006 IP
  4. hans

    hans Well-Known Member

    Messages:
    2,923
    Likes Received:
    126
    Best Answers:
    1
    Trophy Points:
    173
    #4
    and the precise code to add to .htaccess to do above said would look like:

    AddType x-mapp-php4 .html .htm .shtml
    removeHandler server-parsed shtml

    with above you can include now on ANY htm/html/shtml file that edxists already or a new one your php-SSI

    if your current site has NO .shtml files - then you can remove in both above lines the .shtml
     
    hans, Feb 22, 2006 IP