» Imported messages
» 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 10:13
On Fri, 24 May 2013 07:14:21 -0700 (PDT), steve nospam|
>> 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.
> 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
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.
|Pages (2): [ 2]
Current Time: Wed Jul 18 04:53:16 EDT 2018
Total time taken to generate the page: 0.00701 seconds