datadoit
|
| Posted: 02/06/2008, 2:40 PM |
|
I'm somewhat hip on optimizing a web site for the search engines, or at
least familiar with the basic 'rules'.
What I'm not familiar with is how search engines or spyders work with
the CCS generated files (.php's and .html).
Example:
If I have meta keywords dynamically assigned using the template variable ...
HTML:
<meta name="keywords" content="{keywords}">
PHP:
$Tpl->SetVar("keywords","yada yada yada, bla bla bla");
Do the search engines look for the 'generated' HTML, or the .html file
that's on disk?
I'm looking to use this dynamic assignment of variables all throughout
the HTML, such as in picture and link titles, page titles, etc. to keep
the site "fresh". Would I be wasting my time?
|
|
|
 |
DonB
|
| Posted: 02/06/2008, 6:17 PM |
|
They look for what the URL gives them/links them to. Actually, I think it's
better to declare a 'template folder' in the CCS properties and set the code
page extension to html and then modify the webserver (.htaccess) to parse
html files with PHP. The spiders see a 'static html' page' instead of a
'dynamic PHP' page. This is supposed to be favorable to search engines.
Which may be folklore, I don't know.
--
DonB
http://ccswiki.gotodon.net
"datadoit" <datadoit@forum.codecharge> wrote in message
news:fodd0u$722$1@news.codecharge.com...
> I'm somewhat hip on optimizing a web site for the search engines, or at
> least familiar with the basic 'rules'.
>
> What I'm not familiar with is how search engines or spyders work with the
> CCS generated files (.php's and .html).
>
> Example:
>
> If I have meta keywords dynamically assigned using the template variable
> ...
>
> HTML:
> <meta name="keywords" content="{keywords}">
>
> PHP:
> $Tpl->SetVar("keywords","yada yada yada, bla bla bla");
>
> Do the search engines look for the 'generated' HTML, or the .html file
> that's on disk?
>
> I'm looking to use this dynamic assignment of variables all throughout the
> HTML, such as in picture and link titles, page titles, etc. to keep the
> site "fresh". Would I be wasting my time?
>
|
|
|
 |
datadoit
|
| Posted: 02/06/2008, 7:04 PM |
|
That's an interesting idea (templates folder). I'm curious as to how
the URL parameters would be handled.
Pretty good article here describing how Google deals with it:
http://www.stargeek.com/php-seo.php
------------------------------
DonB wrote:
> They look for what the URL gives them/links them to. Actually, I think it's
> better to declare a 'template folder' in the CCS properties and set the code
> page extension to html and then modify the webserver (.htaccess) to parse
> html files with PHP. The spiders see a 'static html' page' instead of a
> 'dynamic PHP' page. This is supposed to be favorable to search engines.
> Which may be folklore, I don't know.
>
|
|
|
 |
|