Zoekmachine probleem, wordt niet gevonden.
Alleen de zoekmachines herkennen mijn talen niet, waardoor ik niet wordt gevonden.
Hoe kan ik voor alle talen (heb er 6) worden opgenomen in een zoekmachine?
Alle talen zijn aanwezig en werken dmv het kiezen van een <a href>landflag</a>.
Code (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
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
<?
// index.php
if (isset($_GET['language'])){
$_SESSION['language'] = $_GET['language'];
}
if (!isset($_SESSION['language'])){
$_SESSION['language'] = $_SERVER["HTTP_ACCEPT_LANGUAGE"];
}
if ($_SESSION['language'] == 'de'
OR $_SESSION['language'] == 'de-at'
OR $_SESSION['language'] == 'de-lu'
OR $_SESSION['language'] == 'de-ch'
OR $_SESSION['language'] == 'de-li') {
include("global/menu_text/de.php");
} else if ($_SESSION['language'] == 'it') {
include("global/menu_text/it.php");
} else if ($_SESSION['language'] == 'pt') {
include("global/menu_text/en.php");
} else if ($_SESSION['language'] == 'es') {
include("global/menu_text/es.php");
} else if ($_SESSION['language'] == 'nl'
OR $_SESSION['language'] == 'nl-be'
OR $_SESSION['language'] == 'be' ) {
include("global/menu_text/nl.php");
} else if ($_SESSION['language'] == 'fr'
OR $_SESSION['language'] == 'fr-be' ) {
include("global/menu_text/fr.php");
} else if ($_SESSION['language'] == 'us'
OR $_SESSION['language'] == 'en'
OR $_SESSION['language'] == 'en-us'
OR $_SESSION['language'] == 'en-gb'
OR $_SESSION['language'] == 'en-za'
OR $_SESSION['language'] == 'en-ie'
OR $_SESSION['language'] == 'en-ca'
OR $_SESSION['language'] == 'en-au') {
include("global/menu_text/en.php");
} else { include("global/menu_text/en.php"); }
?>
// index.php
if (isset($_GET['language'])){
$_SESSION['language'] = $_GET['language'];
}
if (!isset($_SESSION['language'])){
$_SESSION['language'] = $_SERVER["HTTP_ACCEPT_LANGUAGE"];
}
if ($_SESSION['language'] == 'de'
OR $_SESSION['language'] == 'de-at'
OR $_SESSION['language'] == 'de-lu'
OR $_SESSION['language'] == 'de-ch'
OR $_SESSION['language'] == 'de-li') {
include("global/menu_text/de.php");
} else if ($_SESSION['language'] == 'it') {
include("global/menu_text/it.php");
} else if ($_SESSION['language'] == 'pt') {
include("global/menu_text/en.php");
} else if ($_SESSION['language'] == 'es') {
include("global/menu_text/es.php");
} else if ($_SESSION['language'] == 'nl'
OR $_SESSION['language'] == 'nl-be'
OR $_SESSION['language'] == 'be' ) {
include("global/menu_text/nl.php");
} else if ($_SESSION['language'] == 'fr'
OR $_SESSION['language'] == 'fr-be' ) {
include("global/menu_text/fr.php");
} else if ($_SESSION['language'] == 'us'
OR $_SESSION['language'] == 'en'
OR $_SESSION['language'] == 'en-us'
OR $_SESSION['language'] == 'en-gb'
OR $_SESSION['language'] == 'en-za'
OR $_SESSION['language'] == 'en-ie'
OR $_SESSION['language'] == 'en-ca'
OR $_SESSION['language'] == 'en-au') {
include("global/menu_text/en.php");
} else { include("global/menu_text/en.php"); }
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML>
<HEAD>
<META HTTP-EQUIV="content-type" CONTENT="text/html; charset=iso-8859-1">
<META HTTP-EQUIV="content-language" CONTENT="ne, de, es, en, us, fr, it">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache"/>
<META NAME="classification" CONTENT="u">
<META NAME="revisit-after" CONTENT="7 days">
<META NAME="robots" CONTENT="index,follow">
<META HTTP-EQUIV="cach-control" CONTENT="no-store, no-cache, must-revalidate, post-check=0, pre-check=0">
<META NAME="Distribution" CONTENT="Global">
<META NAME="keywords" LANG="en" CONTENT="holiday, vacation, wintersport">
<META NAME="keywords" LANG="de" CONTENT="ferien, urlaub, wintersport">
<META NAME="keywords" LANG="nl" CONTENT="vakantie, wintersport">
<META NAME="keywords" LANG="es" CONTENT="vacación, Deportes de Invierno, wintersport">
<META NAME="description" LANG="en" CONTENT="House sitters who are seeking for a house">
<META NAME="description" LANG="de" CONTENT="Haushüter die ein passendes Haus für einen herrlichen Gratis-Urlaub suchen">
<META NAME="description" LANG="es" CONTENT="Cuidadores de Casas que buscan una Casa Ideal para pasar unas Vacaciones maravillosas. ">
<META NAME="description" LANG="nl" CONTENT="Oppassers die een geschikt oppasverblijf zoeken voor een mooie gratis vakantie.">
<title></title>
<link href="style/style_main.css" rel="stylesheet" type="text/css">
<link href="style/style_main_content.css" rel="stylesheet" type="text/css">
</HEAD>
<BODY">
<a href="?language=nl"><img src="images/flags/nl_flag.gif" title="Nederlandse teksten" width="20" height="13" border="0"></a>
<a href="?language=es"><img src="images/flags/es_flag.gif" title="texto Español" width="18" height="13" border="0"></a>
Content bla bla
</BODY>
</HTML>
metanames doet google geen hol mee. ik doe dit nog wel eens voor klanten, title is goede score, kopjes, headings, bold etc. En vooral veel woorden uit de titel, teruglatenkomen in de tekst op de pagina.
>Wat is er fout op mijn index.php?
>Waarom worden de talen niet herkend?
>Woorden uit de titel terugkomen op welke pagina?
Misschien weet jij het, ik niet. Heb denk ik alles erop staan wat nodig is.
Als je meer weet hoor ik het graag.