| 
	
 | 
 Posted by Ed Mullen on 11/12/07 19:09 
mbstevens wrote: 
> Ed Mullen wrote: 
>> I'm considering using PHP to include the menus on my Web pages.  I've  
>> tested it and it works fine (even though I know next to nothing about  
>> PHP).  My understanding is that the page that will import content  
>> using a PHP include must have a .PHP extension.  Which means that all  
>> my page names (which now end in .html) will change.  Which means that  
>> the search engine results will point to non-existent pages. 
>> 
>> Any thoughts on what I might do about this dilemma? 
>> 
> In addition to the others' thoughts about server configuration, 
> I would suggest you also consider preprocessing.  This won't work 
> on all sites, especially those that require re-writes from data bases 
> on the fly.  But if you have mostly static pages with common menus, 
> preprocessing works very well.  Your page names remain the same.  You just 
> run the preprocessor on a local machine and upload the pages with FTP. 
>  
 
But, wouldn't that mean that the HTML that I want to include using PHP  
would then be physically present in all the html files?  Or am I  
misunderstanding? 
 
--  
Ed Mullen 
http://edmullen.net 
http://mozilla.edmullen.net 
http://abington.edmullen.net 
All that glitters has a high refractive index.
 
  
Navigation:
[Reply to this message] 
 |