GIDForums  

Go Back   GIDForums > Webmaster Forums > Web Design Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 10-Jul-2005, 22:34
royrules22 royrules22 is offline
New Member
 
Join Date: Jul 2005
Posts: 2
royrules22 is on a distinguished road

File extensions question


My website's pages are .shtml files (to allow for SSI includes) and now I was planning on a redesign to let my site handle PHP includes, and other PHP goodies. I could just rename the files to .php but than all Google rankings will be lost as they have had my .shtml files for over 2 years now. So to make it short, is there any way I can have a page with a .shtml extension and still have it parse PHP code?

Or does anyone else have any other suggestion.

Oh and my host is personalsites.org if anyone wants to know (to see if they support something).
  #2  
Old 20-Jul-2005, 18:26
Corey Bryant Corey Bryant is offline
Member
 
Join Date: Oct 2003
Location: Castle Rock, CO
Posts: 216
Corey Bryant will become famous soon enough
You can use the htaccess to basically rename the shtml to php and then the server would think it is PHP. It might be easier on the server & quicker to load though if you rename it to PHP
  #3  
Old 23-Jul-2005, 22:32
Div's Avatar
Div Div is offline
Moderator
 
Join Date: May 2002
Posts: 996
Div has a spectacular aura aboutDiv has a spectacular aura about
Here's a link that could help - http://www.desilva.biz/php/phpinhtml.html
__________________
Web Hosting Tips | Career Advice
 

Recent GIDBlogNARMY by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Airport Log program using 3D linked List : problem reading from file batrsau C Programming Language 11 29-Feb-2008 07:44
CD burner wont burn!! robertli55 Computer Hardware Forum 1 18-Jun-2004 10:53
Yet another CD burner problem: Lite-On LSC-24082K Erwin Computer Hardware Forum 1 22-May-2004 11:28
Re: Programming Techniques WaltP C Programming Language 0 09-Mar-2004 23:56

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 20:37.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.