Jump to content
xt:Commerce Community Forum

Meta Tags doppelt, Warum?


bleddla

Recommended Posts

Hallo Forum,

ich habe festgestellt dass bei mir die Meta Tags doppelt angezeigt werden.

Hat jemand eine Ahnung warum das so sein könnte und was das für Auswirkungen hat?

Wie kann ich das ädern wenn das für den Shop negativ ist.

Hier die Seite: www.s-r-s.eu

Hier die Meta Tags:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html dir="ltr" lang="de">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-15" />

<meta http-equiv="Content-Style-Type" content="text/css" />

<!--

This OnlineStore is brought to you by XT-Commerce, Community made shopping

XTC is a free open source e-Commerce System

created by Mario Zanier & Guido Winger and licensed under GNU/GPL.

Information and contribution at http://www.xt-commerce.com

-->

<meta name="generator" content="© by xt:Commerce v3.0.4 SP2.1 , http://www.xt-commerce.com" />

<meta name="robots" content="index, follow" />

<meta name="language" content="de" />

<meta name="author" content="Roland Reichel" />

<meta name="publisher" content="SRS Musikalien" />

<meta name="company" content="SEQUENZER-ROCK-SONGS" />

<meta name="page-topic" content="shopping" />

<meta name="reply-to" content="[email protected]" />

<meta name="distribution" content="global" />

<meta name="revisit-after" content="8" />

<meta name="description" content="Händler für Computer Musik Produkte, MIDI-Files, (midifiles), Noten, Bücher und Audio CDs DVDs. Mehr als 900 E-Orgel - Keyboard CDs und DVDs von Brian Auger über Klaus Wunderlich bis Ady Zehnpfennig Gegründet 1996" />

<meta name="keywords" content="midifile, midifiles, midi-datei, midi datei, midi file, midi-file, mp3, mp 3, musik, musiksoftware, computermusik, soundkarten, sequencer, sequenzer, digitaltechnik, audioberabeitung, audio editing, midi interfaces, midiinterfaces, messsoftware, plugins," />

<title>SRS Musikalien</title>

<meta name="robots" content="index, follow" />

<meta name="language" content="de" />

<meta name="author" content="Roland Reichel" />

<meta name="publisher" content="SRS Musikalien" />

<meta name="company" content="SEQUENZER-ROCK-SONGS" />

<meta name="page-topic" content="shopping" />

<meta name="reply-to" content="[email protected]" />

<meta name="distribution" content="global" />

<meta name="revisit-after" content="8" />

<meta name="description" content="Händler für Computer Musik Produkte, MIDI-Files, (midifiles), Noten, Bücher und Audio CDs DVDs. Mehr als 900 E-Orgel - Keyboard CDs und DVDs von Brian Auger über Klaus Wunderlich bis Ady Zehnpfennig Gegründet 1996" />

<meta name="keywords" content="midifile, midifiles, midi-datei, midi datei, midi file, midi-file, mp3, mp 3, musik, musiksoftware, computermusik, soundkarten, sequencer, sequenzer, digitaltechnik, audioberabeitung, audio editing, midi interfaces, midiinterfaces, messsoftware, plugins," />

<title>SRS Musikalien</title>

<base href="http://www.s-r-s.eu/" />

<link rel="stylesheet" type="text/css" href="templates/xtc4/stylesheet.css" />

<script type="text/javascript"><!--

var selected;

var submitter = null;

Für Antworten bedanke ich mich schon mal im voraus.

Musik verbindet

Gruß Roland

xtCommerce Version:

3.04 SP2.1

Link to comment
Share on other sites

Hallo zro,

in der header.php steht:

<?php

/* --------------------------------------------------------------

$Id: header.php 1025 2005-07-14 11:57:54Z gwinger $

XT-Commerce - community made shopping

</td>

</tr>

</table>

--------------------------------------------------------------------------

und in der metatags.php

<?php

/* -----------------------------------------------------------------------------------------

$Id: metatags.php 1140 2005-08-10 10:16:00Z mz $

XT-Commerce - community made shopping

http://www.xt-commerce.com

Copyright © 2003 XT-Commerce

-----------------------------------------------------------------------------------------

based on:

© 2003 nextcommerce (metatags.php,v 1.7 2003/08/14); www.nextcommerce.org

Released under the GNU General Public License

---------------------------------------------------------------------------------------*/

?>

<meta name="robots" content="<?php echo META_ROBOTS; ?>" />

<meta name="language" content="<?php echo $_SESSION['language_code']; ?>" />

<meta name="author" content="<?php echo META_AUTHOR; ?>" />

<meta name="publisher" content="<?php echo META_PUBLISHER; ?>" />

<meta name="company" content="<?php echo META_COMPANY; ?>" />

<meta name="page-topic" content="<?php echo META_TOPIC; ?>" />

<meta name="reply-to" content="<?php echo META_REPLY_TO; ?>" />

<meta name="distribution" content="global" />

<meta name="revisit-after" content="<?php echo META_REVISIT_AFTER; ?>" />

<?php

if (strstr($PHP_SELF, FILENAME_PRODUCT_INFO)) {

if ($product->isProduct()) {

?>

<meta name="description" content="<?php echo $product->data['products_meta_description']; ?>" />

<meta name="keywords" content="<?php echo $product->data['products_meta_keywords']; ?>" />

<title><?php echo TITLE.' - '.$product->data['products_meta_title'].' '.$product->data['products_name'].' '.$product->data['products_model']; ?></title>

<?php

} else {

?>

<meta name="description" content="<?php echo META_DESCRIPTION; ?>" />

<meta name="keywords" content="<?php echo META_KEYWORDS; ?>" />

<title><?php echo TITLE; ?></title>

<?php

}

} else {

if ($_GET['cPath']) {

if (strpos($_GET['cPath'], '_') == '1') {

$arr = explode('_', xtc_input_validation($_GET['cPath'], 'cPath', ''));

$_cPath = $arr[1];

} else {

//$_cPath=(int)$_GET['cPath'];

if (isset ($_GET['cat'])) {

$site = explode('_', $_GET['cat']);

$cID = $site[0];

$_cPath = str_replace('c', '', $cID);

}

}

$categories_meta_query = xtDBquery("SELECT categories_meta_keywords,

categories_meta_description,

categories_meta_title,

categories_name

FROM " . TABLE_CATEGORIES_DESCRIPTION . "

WHERE categories_id='" . $_cPath . "' and

language_id='" . $_SESSION['languages_id'] . "'");

$categories_meta = xtc_db_fetch_array($categories_meta_query, true);

if ($categories_meta['categories_meta_keywords'] == '') {

$categories_meta['categories_meta_keywords'] = META_KEYWORDS;

}

if ($categories_meta['categories_meta_description'] == '') {

$categories_meta['categories_meta_description'] = META_DESCRIPTION;

}

if ($categories_meta['categories_meta_title'] == '') {

$categories_meta['categories_meta_title'] = $categories_meta['categories_name'];

}

?>

<meta name="description" content="<?php echo $categories_meta['categories_meta_description']; ?>" />

<meta name="keywords" content="<?php echo $categories_meta['categories_meta_keywords']; ?>" />

<title><?php echo TITLE.' - '.$categories_meta['categories_meta_title']; ?></title>

<?php

} else {

if ($_GET['coID']) {

$contents_meta_query = xtDBquery("SELECT content_heading

FROM " . TABLE_CONTENT_MANAGER . "

WHERE content_group='" . $_GET['coID'] . "' and

languages_id='" . $_SESSION['languages_id'] . "'");

$contents_meta = xtc_db_fetch_array($contents_meta_query, true);

?>

<meta name="description" content="<?php echo META_DESCRIPTION; ?>" />

<meta name="keywords" content="<?php echo META_KEYWORDS; ?>" />

<title><?php echo TITLE.' - '.$contents_meta['content_heading']; ?></title>

<?php

} else {

?>

<meta name="description" content="<?php echo META_DESCRIPTION; ?>" />

<meta name="keywords" content="<?php echo META_KEYWORDS; ?>" />

<title><?php echo TITLE; ?></title>

<?php

}

}

}

?>

Musik verbindet

Gruß Roland

xtCommerce Version:

3.04 SP2.1

Link to comment
Share on other sites

  • 1 year later...

Archived

This topic is now archived and is closed to further replies.

×
  • Create New...