GIDForums  

Go Back   GIDForums > Webmaster Forums > Web Design Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 15-Mar-2004, 03:52
PenguinJr PenguinJr is offline
New Member
 
Join Date: Feb 2004
Posts: 19
PenguinJr is on a distinguished road

Updatable Page


Hi guys,

I've heard that if you generate your page using a script it's not good for the search engine? But if you just use scripts to update ur page, without actually generating it on the fly its alright?

I'm wondering if anyone know what this means?

Which leads to the question, whats the best way to design a website that have the same top, side, and bottom section for every single page? So that if you make a change on one of the page it changes automatically on the others?

I want the website to be easily updated, and not cause problems for crawler based search engines.

Thank you for your help in advance.
  #2  
Old 15-Mar-2004, 08:34
JdS's Avatar
JdS JdS is offline
Senior Member
 
Join Date: Aug 2001
Location: KUL, Malaysia
Posts: 3,371
JdS will become famous soon enough
Quote:
I've heard that if you generate your page using a script it's not good for the search engine?
It's not the "using a script" that's not good for a search engine, it's how you write the script to display (or link to) internal links/pages that's really the problem. This entire site is ONE big collection of PHP scripts, but look at how the urls are displayed. They look like ordinary HTML pages - so, that's the trick.

There are SO many ways to 'insert' common top, side, and bottom sections to your site, it depends on what you are comfortable using, you have Server Side Includes, then FrontPage's "webbot" thingy (on a FrontPage Server Extension enabled server) plus the server-side script technology that you have enabled in your server e.g. PHP's include() and require().

If you really want to use an even simpler method, you can simply use HTML tags like <frame> and <iframe> but these do nothing for Search Engine bots.

If you need simple examples just ask...
  #3  
Old 15-Mar-2004, 08:49
PenguinJr PenguinJr is offline
New Member
 
Join Date: Feb 2004
Posts: 19
PenguinJr is on a distinguished road
Hmm... so even if you use 'include()' for top, side and bottom, these 3 will still be read by the search engine as it would if its hard-coded?

Whats best to use? PHP or the frontpage extension? Can you give me a simple example of the PHP include() please?

Thanks in advance.

Quote:
Originally Posted by JdS
It's not the "using a script" that's not good for a search engine, it's how you write the script to display (or link to) internal links/pages that's really the problem. This entire site is ONE big collection of PHP scripts, but look at how the urls are displayed. They look like ordinary HTML pages - so, that's the trick.

There are SO many ways to 'insert' common top, side, and bottom sections to your site, it depends on what you are comfortable using, you have Server Side Includes, then FrontPage's "webbot" thingy (on a FrontPage Server Extension enabled server) plus the server-side script technology that you have enabled in your server e.g. PHP's include() and require().

If you really want to use an even simpler method, you can simply use HTML tags like <frame> and <iframe> but these do nothing for Search Engine bots.

If you need simple examples just ask...
  #4  
Old 16-Mar-2004, 07:10
JdS's Avatar
JdS JdS is offline
Senior Member
 
Join Date: Aug 2001
Location: KUL, Malaysia
Posts: 3,371
JdS will become famous soon enough
The search engine bots will NOT know what you used, all they care about is your web page's HTML.

IF you have to learn one or the other, I'd suggest you skip FrontPage Server Extension enabled gizmos altogether and go with PHP (for really obvious reasons).

Here's a really simple example how you can use PHP includes to insert snippets of HTML code that rarely (or never) changes between your web pages.

top.inc
HTML Code:
<!-- This appears to the top of the PAGE --> <p style="font-weight:bolder;">This should appear somewhere at the TOP</p>

side.inc
HTML Code:
<!-- This appears to the side (left) of the PAGE --> <p style="font-weight:bolder;">This should appear somewhere on the LEFT</p>

index.php
PHP Code:

<html>
<head>
<title>Homepage</title>
</head>
<body>
<?php // include the TOP html
include_once( './top.inc' );
?>
<table>
  <tr>
  <td><?php // include the SIDE html
  require_once( './side.inc' );
  ?></td>
  <td style="background-color:#FFFFF5;width:85%;"><p>Main article here.</p></td>
  </tr>
</table>
</body>
</html> 

 
 

Recent GIDBlogFirst week of IA training by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error in page BobbyDouglas GIDForums™ 5 07-Nov-2003 09:20
simple form from generated page zuzupus Web Design Forum 0 17-Sep-2003 09:27
[script] E-mail webmaster error page BobbyDouglas PHP Code Library 0 19-Aug-2003 20:10
Search Engine Positioning 101 and 201 "How To" Tips... 000 Search Engine Optimization Forum 0 29-May-2003 10:34

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 23:53.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.