Ik wil een website bouwen zonder frames om de site vindbaar te maken met Google.
Dit werkt. Hoe kan ik de hele site laten zien, als Google bijvoorbeeld midden.html vindt?
PHP:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
| <?php $pagina="midden.html"; if (isset($_REQUEST['pagina'])) { $pagina=$_REQUEST['pagina']; } function wisseltruc($pagina) { include($pagina); } ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <title>Untitled Document</title> </head> <body> <table width="754" height="377" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="102" rowspan="2"><table width="143" height="377" border="0" cellpadding="0" cellspacing="0" id="links" bgcolor="#FFFFCC"> <tr> <td width="143" height="372"><?php include("links.html") ?></td> </tr> </table> </td> <td height="56"><table width="822" height="56" border="0" cellpadding="0" cellspacing="0" id="hoofd" bgcolor="#0099FF"> <tr> <td width="822"><?php include("kop.html") ?></td> </tr> </table></td> </tr> <tr> <td width="652" height="321"><table width="821" height="321" border="0" cellpadding="0" cellspacing="0" id="midden"> <tr> <td width="649" height="321"><?php wisseltruc($pagina)?></td> </tr> </table></td> </tr> </table> </body> </html> |
Dit werkt. Hoe kan ik de hele site laten zien, als Google bijvoorbeeld midden.html vindt?