Zum Inhalt springen

Default - Einstellungen im Header (generator etc.) ändern

Erstellt am 19. August 2005 · 1 Antwort · letzte Antwort am 19. August 2005

Tags: Frage

hopp2c011 ·

Hallo!

Ich beu gerade meine erste typo3-Seite. Das Problem: Ich habe gehört, das Google CMS-basierte Seiten nicht sonderlich gern hat. Darum möchte ich, dass Google möglichst schlecht erkennen kann, dass die Seiten mit typo3 gemacht sind. In dem von typo3 generierten Code sieht der Head-Teil so aus:

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

<!--
This website is brought to you by TYPO3 - get.content.right
TYPO3 is a free open source Content Management Framework created by Kasper Skaarhoj and licensed under GNU/GPL.
TYPO3 is copyright 1998-2005 of Kasper Skaarhoj. Extensions are copyright of their respective owners.
Information and contribution at http://www.typo3.com
-->

<style type="text/css">
/*<![CDATA[*/
<!--
/* default styles for extension "tx_mininews_pi1" */
.tx-mininews-pi1 .tx-mininews-pi1-listrow P.tx-mininews-pi1-listrowField-title { font-weight:bold; }
.tx-mininews-pi1 .tx-mininews-pi1-listrow P.tx-mininews-pi1-listrowField-teaser { margin-bottom:15px; }
.tx-mininews-pi1 .tx-mininews-pi1-fp_listrow P.tx-mininews-pi1-fp_listrowField-title { font-weight:bold; }
.tx-mininews-pi1 .tx-mininews-pi1-fp_listrow P.tx-mininews-pi1-fp_listrowField-teaser { margin-top:0px; margin-bottom:10px; }
.tx-mininews-pi1 .tx-mininews-pi1-singleView P.tx-mininews-pi1-singleViewField-teaser { font-style:italic; margin-top:5px; margin-bottom:10px; }
.tx-mininews-pi1 .tx-mininews-pi1-browsebox P SPAN.tx-mininews-pi1-browsebox-strong { font-weight:bold; }
.tx-mininews-pi1 .tx-mininews-pi1-listrow P.tx-mininews-pi1-listrowField-teaser A { color:black; text-decoration:none; }
.tx-mininews-pi1 .tx-mininews-pi1-listrow P.tx-mininews-pi1-listrowField-teaser A:hover { color:black; text-decoration:none; }
-->
/*]]>*/
</style>
<link rel="stylesheet" type="text/css" href="fileadmin/css-sliding-faux-columns_dateien/styles-site.css" />
<title>Sehr geehrte Damen und Herren,ite neu </title>

<meta name="generator" content="TYPO3 3.8 CMS" />
<meta name="keywords" content="keywords" />
<meta name="generator" content="me" />
<script type="text/javascript">
/*<![CDATA[*/
<!--
browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);
var msie4 = (browserName == "Microsoft Internet Explorer" && browserVer >= 4);
if ((browserName == "Netscape" && browserVer >= 3) || msie4 || browserName=="Konqueror") {version = "n3";} else {version = "n2";}
// Blurring links:
function blurLink(theObject) { //
if (msie4) {theObject.blur();}
}

// -->
/*]]>*/
</script>

Löschen würde ich gern:

This website is brought to you
<meta name="generator" content="TYPO3 3.8 CMS" />

Das Javascript brauche ich nicht.

Und die default-Styles für "tx_mininews_pi1" sollen auch aus dem code.

Ich habe schon nach vielen gewünschten Änderungen im Header gesucht und auch was gefunden (z.B. Doctype auf XHTML einstellen, language einstellen...), aber da komme ich jetzt einfach nicht weiter. Weis jemand rat?

hope 😢

Dander ·

Also das:

This website is brought to you
<meta name="generator" content="TYPO3 3.8 CMS" />

darfst du gar nicht löschen, da das der hinweiß darauf ist das die seite mit typo3 erstellt wurde

beim rest wäre es am einfachsten wenn du das ganze in der "class.tslib_pagegen.php"

aber lass den hinweiß auf typo3 drinnen