Home »
Imported messages »
comp.lang.php »
why php echo does not show up in HTML?
Re: why php echo does not show up in HTML? [message #181709 is a reply to message #181636] |
Sun, 26 May 2013 14:13 |
Richard Yates
Messages: 86 Registered: September 2013
Karma: 0
|
Member |
|
|
On Fri, 24 May 2013 07:14:21 -0700 (PDT), steve nospam
<steve(dot)nospamm(at)gmail(dot)com> wrote:
>
>> Your best bet is to simply change the files you need to include PHP code
>> in to a .php extension and fix the links on your site. For external
>> links, configure your web server to do a permanent redirect from the old
>> page to the new (see your web server configuration for more information
>> on how to do this).
>>
>> --
>> ==================
>> Remove the "x" from my email address
>> Jerry Stuckle
>> JDS Computer Training Corp.
>> jstuck...@attglobal.net
>> ==================
>
> I can't do this. I need to include common html code to every html file
> I have. This means I have to change the extension of 1000's of html
> files to .php and therefore any outside links and any google searches
> will be broken now.
1. A careful search-and-replace can change thousands of links in
seconds. If you really have thousands of html FILES (not just internal
links) that need extension changes, that could be tougher. How do you
end up with thousands of html files and then need to add php to all of
them? (Seems pretty unlikely, frankly.)
2. Use a redirect page for index.html and a few others that may have
outside links.
3. Google will find you again.
> May be I should have done this at first, but too late now to change
> index.htm to index.php.
|
|
|
Goto Forum:
Current Time: Wed Jan 29 19:58:46 GMT 2025
Total time taken to generate the page: 0.02728 seconds