.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
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
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
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
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
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
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
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.