homepage Welcome to WebmasterWorld Guest from 54.243.12.156
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor
Visit PubCon.com
Home / Forums Index / Hardware and OS Related Technologies / Website Technology Issues
Forum Library, Charter, Moderators: phranque

Website Technology Issues Forum

    
Change from .shtml to .html without
I want to change my pages from
Kmax




msg:669488
 2:44 am on Mar 16, 2002 (gmt 0)

.shtml to .html....
Anyone have any clues on how I can do this and not lose my listing?
It wont matter on my index page.... But all of my other pages will have to start from scratch I guess....
Any tips?

 

john316




msg:669489
 2:50 am on Mar 16, 2002 (gmt 0)

addhandler server-parsed .html

Add this to your .htaccess file and change the file extensions in your site to reflect .html; the html pages will execute just like the shtml

Kmax




msg:669490
 2:54 am on Mar 16, 2002 (gmt 0)

I should have been more specific. The reason I am changin the extension is because right now I am using an include for the top of all of my pages... so the <title> is the same for all of them...
I want to just hard code each page so I change the title....

john316




msg:669491
 2:56 am on Mar 16, 2002 (gmt 0)

No reason to change the extension, just hard code the titles, the pages will still display.

littleman




msg:669492
 3:01 am on Mar 16, 2002 (gmt 0)

Kmax, if you do go ahead and change your extensions 301 redirect all your .shtml pages to the .html versions. If you do that googlebot will fallow the redirect and drop your old pages.

Kmax




msg:669493
 3:33 am on Mar 16, 2002 (gmt 0)

Thanks everyone!
I should have thought of that... just take out the include and name the page to .shtml....

chiyo




msg:669494
 4:50 am on Mar 16, 2002 (gmt 0)

i guess the same thing applies. if we want to make .htm pages to be able to have SSI we change the string for the.htaccess like

addhandler server-parsed .htm
?

If so does that have any affect on our .php extension pages?

do we have to do anything to them or will they just be ignored?

sorry for being a dunce

littleman




msg:669495
 5:18 am on Mar 16, 2002 (gmt 0)

Chiyo, the same process will work with .htm, and it shouldn't affect your .php pages.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Hardware and OS Related Technologies / Website Technology Issues
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved