Bluehost.com Web Hosting $6.95

optimization

This is a discussion on optimization within the alt.comp.lang.php forums, part of the PHP Programming Forums category; I have an html file and I want to include another file inside this. I tried the SSI includes, but ...


Go Back   Usenet Forums > PHP Programming Forums > alt.comp.lang.php

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-01-2006
Sheldon Glickler
 
Posts: n/a
Default optimization

I have an html file and I want to include another file inside this. I tried
the SSI includes, but that didn't work. I can do the same work using php
quite easily.

What I want to include is a list of people and a list of tasks. The
overwhelming bulk of the file is fixed. It is that text that in the file
that I want to be captures by search engines. That is why I want to go to
static pages.

My first question is this:
If I code it as a php file with the all the important text as static and
only those two lists as dynamic, will the seach engines work as well as if
the lists were also static?

My second question is if I use an SSI include so that the whole list is in
the included file, will the search engines pick up elements of that list?
If so, that is the way I want to go because it will increase the number of
hits.

The one thing I don't want to do is to actually write those lists statically
into the page because any time the list changes I would have to rewrite all
the pages.

Shelly


Reply With Quote
  #2 (permalink)  
Old 03-01-2006
Jerry Stuckle
 
Posts: n/a
Default Re: optimization

Sheldon Glickler wrote:
> I have an html file and I want to include another file inside this. I tried
> the SSI includes, but that didn't work. I can do the same work using php
> quite easily.
>
> What I want to include is a list of people and a list of tasks. The
> overwhelming bulk of the file is fixed. It is that text that in the file
> that I want to be captures by search engines. That is why I want to go to
> static pages.
>
> My first question is this:
> If I code it as a php file with the all the important text as static and
> only those two lists as dynamic, will the seach engines work as well as if
> the lists were also static?
>
> My second question is if I use an SSI include so that the whole list is in
> the included file, will the search engines pick up elements of that list?
> If so, that is the way I want to go because it will increase the number of
> hits.
>
> The one thing I don't want to do is to actually write those lists statically
> into the page because any time the list changes I would have to rewrite all
> the pages.
>
> Shelly
>
>


This isn't really a PHP question - it's a search engine question.

But the result is the same. The search engine doesn't see the SSI
include or the PHP include - all it sees is the generated HTML - just
like any browser.


--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Reply With Quote
  #3 (permalink)  
Old 03-01-2006
flconseil@yahoo.fr
 
Posts: n/a
Default Re: optimization

The search engine will see the same as your users. There's no magic, it
has no way to know if you generate your page with PHP, SSI, or a CGI
script calling an ADA program with requests to a LISP rpc server ;-)

The only potential problem you may have is with URLs containing '?' and
'&' chars, but it doesn't seem to be your problem.

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 03:43 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0