Welcome to WebmasterWorld Guest from 54.144.7.239

Forum Moderators: phranque

Message Too Old, No Replies

Change from .shtml to .html without

I want to change my pages from

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

Junior Member

10+ Year Member

joined:Feb 8, 2004
posts:41
votes: 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?
2:50 am on Mar 16, 2002 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Apr 3, 2001
posts:1609
votes: 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

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

Junior Member

10+ Year Member

joined:Feb 8, 2004
posts:41
votes: 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....
2:56 am on Mar 16, 2002 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Apr 3, 2001
posts:1609
votes: 0


No reason to change the extension, just hard code the titles, the pages will still display.
3:01 am on Mar 16, 2002 (gmt 0)

Senior Member

WebmasterWorld Senior Member littleman is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:June 17, 2000
posts:2924
votes: 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.
3:33 am on Mar 16, 2002 (gmt 0)

Junior Member

10+ Year Member

joined:Feb 8, 2004
posts:41
votes: 0


Thanks everyone!
I should have thought of that... just take out the include and name the page to .shtml....
4:50 am on Mar 16, 2002 (gmt 0)

Senior Member

WebmasterWorld Senior Member chiyo is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:June 21, 2000
posts:3170
votes: 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

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

Senior Member

WebmasterWorld Senior Member littleman is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:June 17, 2000
posts:2924
votes: 0


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

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members