Hallo Leutz,
ich schlage mich nun schon zwei komplette Tage mit dem Problem herum und finde keine Lösung.
Probiert hat ich folgende Dinge:
http://ug.typo3-nrw.de/typo3-seo.html
#565017
#864510
#27370
Momentan bin ist metatags extended installiert und so sieht mein script aus:
CONSTANTS:
###--- MetaTags setzten---###
#[global]
plugin.meta >
plugin.meta {
description = description eben
keywords = was, weiss, ich, was
robots = all
copyright = © cahoonah.com
email =
author = falk heinzelmann
language = en
distribution =
rating =
revisit = 14
includeGlobal = 0
}
#styles.content.meta.site_keywords = was, weis, ich, was
#styles.content.meta.site_description = cahoonah.com - ***
#plugin.meta.copyright = © cahoonah.com
#plugin.meta.flags.robos = all
#plugin.meta.author = falk
#plugin.meta.revisit = 14
#plugin.meta.includeGlobal =1
#plugin.meta.description = noch eine des... warum auch immer??
Wie ihr seht befinden sich heir schon etliche Versionen und Versuche. Vieles ist schon wieder gelöscht.
SETUP:
plugin.meta.global.description = desc
#Hier kommt eine Beschreibung, die für alle Seiten gilt.#
plugin.meta.global.keywords = was, weiss, ich, was
#Hier kommen die Keywords, die auf jeder Seite dargestellt werden.#
plugin.meta.flags.useSecondaryDescKey = 0
plugin.meta.flags.alwaysGlobalDescription = 1
plugin.meta.flags.alwaysGlobalKeywords = 1
plugin.meta.flags.DC = 0
#Mit dem Setzen auf den Wert 0, werden doppelte Metatags vermieden.#
seite.headerData.999 < plugin.meta
Erscheinen tut von alle dem nichts. Währe froh, wenn ich alleine die Standartzeieln "styles.content.meta.site_keywords" etwas bewirken würden, aber es taucht im Quelltext rein gar nichts auf.
Gehostet ist das ganze bei hetzner.de und es läuft Typo3 v4.0.
Plugins sind einige installiert, aber denke, daran liegt es nicht. Zumindest ist kein RealURL isntalliert, der ja sonst immer für etwas Ärger sorgt.
Gibt es noch etwas zu beachten? Muss an der Apacheconfig was gedreht werden. Bin ratlos und freue mich über jede weitere Idee.
Bedankt.
falk
Hallo falk
sowas im Setup klappt bei mir eigentlich
page.meta {
keywords.field = keywords
keywords.ifEmpty (
stadard keywords, keyword2
)
description.field = description
description.ifEmpty (
Das ist eine Beschreibung
)
robots = INDEX,FOLLOW
}
lg georg
ps: realurl sorgt nur für ärger wenns falsch konfiguriert ist 😉
just2b schrieb
Hallo falk
sowas im Setup klappt bei mir eigentlich
page.meta {
keywords.field = keywords
keywords.ifEmpty (
stadard keywords, keyword2
)
description.field = description
description.ifEmpty (
Das ist eine Beschreibung
)
robots = INDEX,FOLLOW
}
lg georg
ps: realurl sorgt nur für ärger wenns falsch konfiguriert ist 😉
Hallo Georg,
danke für die prompte Antwort, aber mein Header sieht leider immer noch so aus:
<?xml version="1.0" encoding="utf-8"?>
<!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="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!--
This website is powered by TYPO3 - inspiring people to share!
TYPO3 is a free open source Content Management Framework initially created by Kasper Skaarhoj and licensed under GNU/GPL.
TYPO3 is copyright 1998-2006 of Kasper Skaarhoj. Extensions are copyright of their respective owners.
Information and contribution at http://typo3.com/ and http://typo3.org/
-->
<link rel="stylesheet" type="text/css" href="typo3temp/stylesheet_927b3e17ef.css" />
<link rel="stylesheet" type="text/css" href="fileadmin/template/photoblog/cah_photoblog-dark.css" />
<title>cahoonah.com - it's a jungel out there...</title>
<meta name="generator" content="TYPO3 4.0 CMS" />
<script type="text/javascript" src="typo3temp/javascript_757c080409.js"></script>
</head>
Kann es ein, dass es daran liegt, dass die Seite, auf der ich das probiere nicht die erste im Tree ist? Es ist die erste mit diesem Template, habe aber noch einige Templates weiter unten im Tree.
Anfängeralarm! 😉
Danke.
Hallo,
nun dann schreibs in die 1. Seite, wird dann sowieso vererbt!
wie schaut denn dein TS aus?
georg
Ne, das wars auch nicht.
Ich habe meherere Seite und mehrere Templates. Das, an dem ich gerade arbeite ist das, was ich als letztes erstellt habe. Es taucht aber, wenn ich mir die Templates via List ausgeben lasse, ganz unten auf. Der Tree ist gegenläufig, soll heißen, das letzte Template geht auf meine erste Seite und das ist die, die momentan auch aufgerfuen wird. Muss ich nun all meine anderen Templates löschen? Habe es mal in das erste, in der Liste eingetragen - leider auch ohne Erfolg.
Hier mal das komplette TS von meinem Setup
SETUP:
config.doctype = xhtml_trans
page.config.index_enable = 1
config.metaCharset = utf-8
config.additionalHeaders = Content-Type:text/html;charset=utf-8
config.xhtml_cleaning = all
###--- Set Page Title to what I want!---###
includeLibs.pagetitle = typo3conf/ext/mf_pagetitle/pagetitle.php
plugin.mf_pagetitle.title = cahoonah.com - it's a jungel out there...
config.titleTagFunction = user_pagetitle_class->changetitle
page.meta {
keywords.field = keywords
keywords.ifEmpty (
photoblog, nikon d50, cahoonah
)
description.field = description
description.ifEmpty (
cahoonah.com - photoblog - no specific topic. just trying to capture the moment. It's a jungle out there...
)
robots = INDEX,FOLLOW
}
###---- muss in die htacces für simulatedstaticdocument SSD----###
#RewriteEngine on
#RewriteRule ^[^/]*\.html$ index.php
#RewriteCond %{REQUEST_FILENAME} !-f
####----SSD TS für Setup---###
#config.simulateStaticDocuments = 1
#config.simulateStaticDocuments_noTypeIfNoTitle = 1
##page.includeLibs.gmenu_layers = media/scripts/gmenu_layers.php
site = PAGE
site.typeNum = 0
site.stylesheet = fileadmin/template/photoblog/cah_photoblog-dark.css
tt_content.menu.20.1.1.target = _top #set subpart nave menu target to _top
###-------------SET CONTETNT--------------------###
site.20 = TEMPLATE
site.20 {
template = FILE
template.file = fileadmin/template/photoblog/cah_photoblog-dark.html
workOnSubpart = MYDOCUMENT
marks.CONTENT_LEFT = CONTENT
marks.CONTENT_LEFT < styles.content.getLeft
marks.CONTENT_MAIN = CONTENT
marks.CONTENT_MAIN < styles.content.get
# marks.CONTENT_LEFT = TEXT
# marks.CONTENT_LEFT.value = HELLO WORLD!
###---------------MENU TOP-----------------------###
marks.MENUTOP = HMENU
marks.MENUTOP.1 = TMENU
marks.MENUTOP.1.wrap = | <BR>
marks.MENUTOP.1.NO {
linkWrap = :: |
ATagBeforeWrap = 1
displayActiveOnLoad =1
}
marks.MENUTOP.1.ACT = 1
marks.MENUTOP.1.ACT {
linkWrap = <b> :: | </b>
RO = 1
}
marks.CONTENT_LEFT=HMENU
marks.CONTENT_LEFT.entryLevel = 1
marks.CONTENT_LEFT.1 = TMENU
marks.CONTENT_LEFT.1.expAll = 0
marks.CONTENT_LEFT.1 {
NO{
allWrap = <div class="menu-no1"> :: | </div>
# beforeImg = media/bullets/bullet1_n.gif
}
ACT{
allWrap = <div class="menu-act1"> :: | </div>
# beforeImg = media/bullets/bullet1_h.gif
RO = 1
}
}
marks.CONTENT_LEFT.2 = TMENU
marks.CONTENT_LEFT.2 {
NO{
allWrap = <div class="menu-no2"> :: | </div>
# beforeImg = media/bullets/bullet1_n.gif
}
ACT{
allWrap = <div class="menu-act2"> :: | </div>
# beforeImg = media/bullets/bullet1_h.gif
RO = 1
}
}
marks.CONTENT_LEFT.3 = TMENU
marks.CONTENT_LEFT.3 {
NO{
allWrap = <div class="menu-no3"> :: | </div>
# beforeImg = media/bullets/bullet1_n.gif
}
ACT{
allWrap = <div class="menu-act3"> :: | </div>
# beforeImg = media/bullets/bullet1_h.gif
RO = 1
}
}
marks.FOOTER = TEXT
marks.FOOTER.value = [cc] 2007 cAHOONAH.com
}
Habe alle extensions, die sich mit den Metatags beschäftigen deinstalliert... auch kein Erfolg.
Sehe ich das richtig, das dein TS Snippet, die Keywords und Descriptions aus den einzelnen Seiten nimmt und die in den Headder bastelt? Gefällt mir. 😉
Vielen Dank.
falk
Hallo Georg,
page.meta {
keywords.field = keywords
keywords.ifEmpty (
stadard keywords, keyword2
)
description.field = description
description.ifEmpty (
Das ist eine Beschreibung
)
robots = INDEX,FOLLOW
}
Das funktioniert aber auch schon ohne metatags extended.
Oder wo ist da der Zusammenhang?
Gruß
Dirk
hab ich wo gesagt dass mans braucht?
georg
Ich frage nur, weil ich in mehreren threads den zitierten TS-Code im Zusammenhang mit der Empfehlung metatags extended zu installieren gelesen habe.
Nach meinem derzeitigen Erkenntnisstand empfiehlt sich entweder das eine oder das andere aber nicht beides zusammen.
Sehe ich das richtig?
Gruß
Dirk
PS:schöne Feiertage 🙂