Herzlich willkommen im Archiv vom ABAKUS Online Marketing Forum
Du befindest Dich im Archiv vom ABAKUS Online Marketing Forum. Hier kannst Du Dich für das Forum mit den aktuellen Beiträgen registrieren.
darf man fragen wie du dasd gemacht hast? Gibt ja mehrere Möglichkeiten...Christophe hat geschrieben:Es reicht, folgende Dateien mit einer robots.txt-Datei auszuschließen.
common.php
download.php
faq.php
groupcp.php
memberlist.php
modcp.php
privmsg.php
attach_rules.php
config.php
login.php
merge.php
posting.php
profile.php
search.php
uacp.php
viewonline.php
viewforum.php
viewtopic.php
Code: Alles auswählen
User-agent: *
Disallow: /forum/admin/
Disallow: /forum/db/
Disallow: /forum/includes/
Disallow: /forum/language/
Disallow: /forum/templates/
Disallow: /forum/custom.php
Disallow: /forum/config.php
Disallow: /forum/groupcp.php
Disallow: /forum/login.php
Disallow: /forum/modcp.php
Disallow: /forum/posting.php
Disallow: /forum/privmsg.php
Disallow: /forum/profile.php
Disallow: /forum/search.php
Disallow: /forum/viewonline.php
Disallow: /forum/faq.php
Disallow: /forum/memberlist.php
Disallow: /forum/download.php
Bin grad dabei solche Sachen zu korrigieren, das Problem hab ich schonmal gelöst.Wenn man z.B. viewtopic.php drin lässt, erzeugt "viewtopic.php?t=xxx&view=next"
doppelten Content was Google (und übrigens auch ich als Benutzer) nicht mag.
Code: Alles auswählen
#
#-----[ FIND ]-----------------------------------
#
$view_prev_topic_url = append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&view=previous");
$view_next_topic_url = append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . "=$topic_id&view=next");
#
#-----[ REPLACE WITH ]---------------------------
#
$sql = "SELECT t.topic_id
FROM " . TOPICS_TABLE . " t, " . TOPICS_TABLE . " t2
WHERE
t2.topic_id = $topic_id
AND t.forum_id = t2.forum_id
AND t.topic_last_post_id > t2.topic_last_post_id
ORDER BY t.topic_last_post_id ASC
LIMIT 1";
if ( !($result = $db->sql_query($sql)) || $db->sql_numrows($result) != 1 )
{
$nextTopicText = $lang['No_newer_topics'];
$view_next_topic_url = append_sid("viewtopic.php?t=$topic_id");
}
else
{
$row = $db->sql_fetchrow($result);
$view_next_topic_url = append_sid("viewtopic.php?t=" . $row['topic_id'] );
}
$db->sql_freeresult($result);
$sql = "SELECT t.topic_id
FROM " . TOPICS_TABLE . " t, " . TOPICS_TABLE . " t2
WHERE
t2.topic_id = $topic_id
AND t.forum_id = t2.forum_id
AND t.topic_last_post_id < t2.topic_last_post_id
ORDER BY t.topic_last_post_id DESC
LIMIT 1";
if ( !($result = $db->sql_query($sql)) || $db->sql_numrows($result) != 1 )
{
$prevTopicText = $lang['No_older_topics'];
$view_prev_topic_url = append_sid("viewtopic.php?t=$topic_id");
}
else
{
$row = $db->sql_fetchrow($result);
$view_prev_topic_url = append_sid("viewtopic.php?t=" . $row['topic_id'] );
}
$db->sql_freeresult($result);