Birden cok sitemap (mesela 6 tane)

phpBB için Arama Motoru Optimizasyonu

Birden cok sitemap (mesela 6 tane)

İleti tergek 29.09.2006, 21:21

Acaba bunun sakıncası varmı Google a 6 tane sitemap ekledim

Resim
Resim
Kullanıcı avatarı
tergek
Üye
Üye
 
İleti: 133
Kayıt: 11.12.2005, 22:28
Konum: İstanbul

İleti Dawson 29.09.2006, 23:14

hiç bir sakıncası yok bildiğim kadarıyla bi sakıncası olsa eklenmesine izin werirmiydi sence :)
webBB Proje geliştirme
ŞFBB Proje geliştirme
Kullanıcı avatarı
Dawson
Üye
Üye
 
İleti: 118
Kayıt: 12.10.2005, 18:00
Konum: Bursa

Cvp: Birden cok sitemap (mesela 6 tane)

İleti tergek 30.09.2006, 09:32

Bilmemki googledan hersey beklenir :?
Resim
Kullanıcı avatarı
tergek
Üye
Üye
 
İleti: 133
Kayıt: 11.12.2005, 22:28
Konum: İstanbul

İleti

ALEXIS
30.09.2006, 09:55

birbirinin aynısı olan 6 tane sitemap a gerek yok.
Kullanıcı avatarı
ALEXIS
Site Yöneticisi
Site Yöneticisi
 
İleti: 2563
Kayıt: 30.06.2005, 09:08

Cvp: Birden cok sitemap (mesela 6 tane)

İleti tergek 30.09.2006, 10:05

6 tane sitemap var ama aylardır sadece 131 sayfayı indexlemiş. Sorun nedir acaba?

Seo mod olmasına ragmen hiçbirnde linkler html olarak gozukmuyo :cry: neden acaba?
İşte sitemaplar

googlesitemapgenerator.php
sitemap_index.xml
sitemap_forums.xml
sitemap_topics.xml
sitemap_posts.xml
sitemap.xml
Resim
Kullanıcı avatarı
tergek
Üye
Üye
 
İleti: 133
Kayıt: 11.12.2005, 22:28
Konum: İstanbul

Cvp: Birden cok sitemap (mesela 6 tane)

İleti

ALEXIS
30.09.2006, 10:19

"phpBB SEO keyword URLs" varsa onların hepsini sil sadece şunu kullan:

[syntax="php"]<?php
/***************************************************************************
* googlesitemap.php
* -------------------
* begin : Saturday, Feb 23, 2001
* copyright : (C) 2001 The phpBB Group
* email : support@phpbb.com
*
***************************************************************************/

/***************************************************************************
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
***************************************************************************/


define('IN_PHPBB', true);
$phpbb_root_path = './';
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . "common.$phpEx");


//-- [+] phpBB SEO keyword URLs ------------------------------------------
//
function make_url_friendly($url)
{
$url = trim($url);
$url = strtolower($url);

$find = array('<b>', '</b>');
$url = str_replace ($find, '', $url);

$url = preg_replace('/<(\/{0,1})img(.*?)(\/{0,1})\>/', 'image', $url);

$find = array(' ', '&quot;', '&amp;', '&', '\r\n', '\n', '/', '\\', '+', '<', '>');
$url = str_replace ($find, '-', $url);

$find = array('é', 'è', 'ë', 'ê', 'É', 'È', 'Ë', 'Ê');
$url = str_replace ($find, 'e', $url);

$find = array('í', 'ı', 'ì', 'î', 'ï', 'I', 'İ', 'Í', 'Ì', 'Î', 'Ï');
$url = str_replace ($find, 'i', $url);

$find = array('ó', 'ö', 'Ö', 'ò', 'ô', 'Ó', 'Ò', 'Ô');
$url = str_replace ($find, 'o', $url);

$find = array('á', 'ä', 'â', 'à', 'â', 'Ä', 'Â', 'Á', 'À', 'Â');
$url = str_replace ($find, 'a', $url);

$find = array('ú', 'ü', 'Ü', 'ù', 'û', 'Ú', 'Ù', 'Û');
$url = str_replace ($find, 'u', $url);

$find = array('ç', 'Ç');
$url = str_replace ($find, 'c', $url);

$find = array('ş', 'Ş');
$url = str_replace ($find, 's', $url);

$find = array('ğ', 'Ğ');
$url = str_replace ($find, 'g', $url);

$find = array('/[^a-z0-9\-<>]/', '/[\-]+/', '/<[^>]*>/');

$repl = array('', '-', '');

$url = preg_replace ($find, $repl, $url);
$url = str_replace ('--', '-', $url);

return $url;
}
//
//-- [-] phpBB SEO keyword URLs ------------------------------------------


// Compresss the sitemap with gzip
// this isn't as pretty as the code in page_header.php, but it's simple & it works :)
if(function_exists(ob_gzhandler) && $board_config['gzip_compress'] == 1)
{
ob_start(ob_gzhandler);
}

// Begin Configuration Section
$included_forum_ids = array();
$excluded_forum_ids = array(49);
// End Configuration Section


if ( count($included_forum_ids) > 0 )
{
$included_forum_ids_sql = 'forum_id IN (' . implode(', ', $included_forum_ids) . ')';
}

if ( count($excluded_forum_ids) > 0 )
{
$excluded_forum_ids_sql = 'forum_id NOT IN (' . implode(', ', $excluded_forum_ids) . ')';
}

if ( ( count($included_forum_ids) > 0 ) && ( count($excluded_forum_ids) > 0 ) )
{
$and = 'AND';
}

if ( ( count($included_forum_ids) > 0 ) || ( count($excluded_forum_ids) > 0 ) )
{
$where = 'WHERE';
}

$sql = "SELECT topic_id, forum_id, topic_title, topic_time, topic_type FROM " . TOPICS_TABLE . " $where $included_forum_ids_sql $and $excluded_forum_ids_sql ORDER BY topic_time DESC";

if ( !$result = $db->sql_query($sql) )
{
message_die(GENERAL_ERROR, 'Error: could not retrive topic IDs', '', __LINE__, __FILE__, $sql);
}

$script_name = preg_replace('/^\/?(.*?)\/?$/', "\\1", trim($board_config['script_path']));
$server_name = trim($board_config['server_name']);
$server_protocol = ( $board_config['cookie_secure'] ) ? 'https://' : 'http://';
$server_port = ( $board_config['server_port'] <> 80 ) ? ':' . trim($board_config['server_port']) . '/' : '/';
$server_url = $server_protocol . $server_name . $server_port . $script_name;

if(substr($server_url, -1, 1) != "/")
{
$server_url .= "/";
}

$output = '<' . '?xml version="1.0" encoding="UTF-8"?' . '>' . "\n";
$output .= '<urlset xmlns="http://www.google.com/schemas/sitemap/0.84">' . "\n";

while ( $row = $db->sql_fetchrow($result) )
{
$topic_id = $row['topic_id'];
$topic_title = $row['topic_title'];
$lastmodified = date('Y-m-d',$row['topic_time']);
$viewtopic = $server_url . str_replace ('--', '-', make_url_friendly($row['topic_title']) . "-vt" . $row['topic_id'] . ".html");
$priority = ( $row['topic_type'] == POST_STICKY || $row['topic_type'] == POST_ANNOUNCE ) ? '1.0' : '0.5';

$output .= "<url>\n";
$output .= "\t<loc>$viewtopic</loc>\n";
$output .= "\t<lastmod>$lastmodified</lastmod>\n";
$output .= "\t<changefreq>daily</changefreq>\n";
$output .= "\t<priority>$priority</priority>\n";
$output .= "</url>\n\n";
}
$output .= "</urlset>\n";

header('Content-type: application/xml');
echo $output;
?>[/syntax]
Kullanıcı avatarı
ALEXIS
Site Yöneticisi
Site Yöneticisi
 
İleti: 2563
Kayıt: 30.06.2005, 09:08

Cvp: Birden cok sitemap (mesela 6 tane)

İleti tergek 30.09.2006, 10:22

Bunuda daha oncede denemiştim ama soyle hata veriyor :(



googlesitemap.php

edit:

Tamam az once halettim . Asagıdaki kısmı cıkarınca oldu. Cook tesekkurler alexis

googlesitemap.php

Kod: Tümünü seç
//-- [+] phpBB SEO keyword URLs ------------------------------------------
//
function make_url_friendly($url)
{
        $url = trim($url);
        $url = strtolower($url);

        $find = array('<b>', '</b>');
        $url = str_replace ($find, '', $url);

        $url = preg_replace('/<(\/{0,1})img(.*?)(\/{0,1})\>/', 'image', $url);

        $find = array(' ', '&quot;', '&amp;', '&', '\r\n', '\n', '/', '\\', '+', '<', '>');
        $url = str_replace ($find, '-', $url);

        $find = array('é', 'è', 'ë', 'ê', 'É', 'È', 'Ë', 'Ê');
        $url = str_replace ($find, 'e', $url);

        $find = array('í', 'ı', 'ì', 'î', 'ï', 'I', 'İ', 'Í', 'Ì', 'Î', 'Ï');
        $url = str_replace ($find, 'i', $url);

        $find = array('ó', 'ö', 'Ö', 'ò', 'ô', 'Ó', 'Ò', 'Ô');
        $url = str_replace ($find, 'o', $url);

        $find = array('á', 'ä', 'â', 'à', 'â', 'Ä', 'Â', 'Á', 'À', 'Â');
        $url = str_replace ($find, 'a', $url);

        $find = array('ú', 'ü', 'Ü', 'ù', 'û', 'Ú', 'Ù', 'Û');
        $url = str_replace ($find, 'u', $url);

        $find = array('ç', 'Ç');
        $url = str_replace ($find, 'c', $url);

        $find = array('ş', 'Ş');
        $url = str_replace ($find, 's', $url);

        $find = array('ğ', 'Ğ');
        $url = str_replace ($find, 'g', $url);

        $find = array('/[^a-z0-9\-<>]/', '/[\-]+/', '/<[^>]*>/');

        $repl = array('', '-', '');

        $url = preg_replace ($find, $repl, $url);
        $url = str_replace ('--', '-', $url);

        return $url;
}
//
//-- [-] phpBB SEO keyword URLs ------------------------------------------
En son tergek tarafından, 30.09.2006, 10:43 tarihinde değiştirildi, toplamda 1 değişiklik yapıldı.
Resim
Kullanıcı avatarı
tergek
Üye
Üye
 
İleti: 133
Kayıt: 11.12.2005, 22:28
Konum: İstanbul

İleti

ALEXIS
30.09.2006, 10:36

"phpBB SEO keyword URLs" modu kurulu mu?

Tıpatıp aynısı burda çalışıyor şu an: http://www.canver.net/googlesitemap.php


bir de bunu dene:

Kod: Tümünü seç
[ BUL ]

function make_url_friendly($url)

[ BUNUNLA DEĞİŞTİR ]

"function make_url_friendly($url)";
Kullanıcı avatarı
ALEXIS
Site Yöneticisi
Site Yöneticisi
 
İleti: 2563
Kayıt: 30.06.2005, 09:08

İleti tergek 30.09.2006, 10:39

Tamam az once halettim . Asagıdaki kısmı cıkarınca oldu. Cook tesekkurler alexis

googlesitemap.php

Kod: Tümünü seç
//-- [+] phpBB SEO keyword URLs ------------------------------------------
//
function make_url_friendly($url)
{
        $url = trim($url);
        $url = strtolower($url);

        $find = array('<b>', '</b>');
        $url = str_replace ($find, '', $url);

        $url = preg_replace('/<(\/{0,1})img(.*?)(\/{0,1})\>/', 'image', $url);

        $find = array(' ', '&quot;', '&amp;', '&', '\r\n', '\n', '/', '\\', '+', '<', '>');
        $url = str_replace ($find, '-', $url);

        $find = array('é', 'è', 'ë', 'ê', 'É', 'È', 'Ë', 'Ê');
        $url = str_replace ($find, 'e', $url);

        $find = array('í', 'ı', 'ì', 'î', 'ï', 'I', 'İ', 'Í', 'Ì', 'Î', 'Ï');
        $url = str_replace ($find, 'i', $url);

        $find = array('ó', 'ö', 'Ö', 'ò', 'ô', 'Ó', 'Ò', 'Ô');
        $url = str_replace ($find, 'o', $url);

        $find = array('á', 'ä', 'â', 'à', 'â', 'Ä', 'Â', 'Á', 'À', 'Â');
        $url = str_replace ($find, 'a', $url);

        $find = array('ú', 'ü', 'Ü', 'ù', 'û', 'Ú', 'Ù', 'Û');
        $url = str_replace ($find, 'u', $url);

        $find = array('ç', 'Ç');
        $url = str_replace ($find, 'c', $url);

        $find = array('ş', 'Ş');
        $url = str_replace ($find, 's', $url);

        $find = array('ğ', 'Ğ');
        $url = str_replace ($find, 'g', $url);

        $find = array('/[^a-z0-9\-<>]/', '/[\-]+/', '/<[^>]*>/');

        $repl = array('', '-', '');

        $url = preg_replace ($find, $repl, $url);
        $url = str_replace ('--', '-', $url);

        return $url;
}
//
//-- [-] phpBB SEO keyword URLs ------------------------------------------
Resim
Kullanıcı avatarı
tergek
Üye
Üye
 
İleti: 133
Kayıt: 11.12.2005, 22:28
Konum: İstanbul

İleti

ALEXIS
30.09.2006, 10:45

o kısmı çıkarırsan konuadı.html olarak görünmez
Kullanıcı avatarı
ALEXIS
Site Yöneticisi
Site Yöneticisi
 
İleti: 2563
Kayıt: 30.06.2005, 09:08

Cvp: Birden cok sitemap (mesela 6 tane)

İleti tergek 30.09.2006, 10:51

cıkardıktan sonra bole oldu . bence sorun yok gibi :?

http://www.forumruhu.com/googlesitemap.php
Resim
Kullanıcı avatarı
tergek
Üye
Üye
 
İleti: 133
Kayıt: 11.12.2005, 22:28
Konum: İstanbul

İleti

ALEXIS
30.09.2006, 11:38

ok, iyi görünüyor.
Kullanıcı avatarı
ALEXIS
Site Yöneticisi
Site Yöneticisi
 
İleti: 2563
Kayıt: 30.06.2005, 09:08

İleti EFE03 08.10.2006, 16:04

googlesitemap.php içinde hangi kod vra
EFE03
Üye
Üye
 
İleti: 302
Kayıt: 09.06.2006, 07:37

Cvp: Birden cok sitemap (mesela 6 tane)

İleti Kasirga 09.10.2006, 04:40

Bende yaptim ama bende hata veriyor neden olabilir acaba?

Kod: Tümünü seç
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home/kervanko/public_html/googlesitemap.php on line 3

Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home/kervanko/public_html/googlesitemap.php on line 3

Parse error: syntax error, unexpected T_STRING in /home/kervanko/public_html/googlesitemap.php on line 3
Kasirga
Üye
Üye
 
İleti: 38
Kayıt: 11.05.2006, 01:09

Cvp: Birden cok sitemap (mesela 6 tane)

İleti EFE03 09.10.2006, 06:16

onu mesala www.siteadresi.com/forum içine atacaksın
EFE03
Üye
Üye
 
İleti: 302
Kayıt: 09.06.2006, 07:37

İleti tergek 09.10.2006, 15:55

Bu sitemaplar hiç işime yaramadı benım.Google'a siteyi ilk kaydettegimde bi kere indexledi ozamanda az baslık vardı. Ondan sonrada hep ilk indexledigi sayfaları guncelliyo. Googlesitemap.php ye hiç bakmıyor :(
Resim
Kullanıcı avatarı
tergek
Üye
Üye
 
İleti: 133
Kayıt: 11.12.2005, 22:28
Konum: İstanbul

İleti EFE03 09.10.2006, 20:51

ya benim bölümleri indexliyor, mesala o fifa 2007 topici var oyunlar bölümü olarak gösteriyor
EFE03
Üye
Üye
 
İleti: 302
Kayıt: 09.06.2006, 07:37

İleti GreeNEyeS 17.10.2006, 11:49

"phpBB SEO keyword URLs" varsa onların hepsini sil sadece şunu kullan:

hepsini silip onu kurunca html olarak indexledi ama siteden php olarak görünüyor sayfalar html gitti
GreeNEyeS
Üye
Üye
 
İleti: 13
Kayıt: 10.01.2006, 16:46

İleti guzelmekan 22.11.2006, 08:16

baba google heran bişi yapabilir 6 tane aynısını koyma bence google sitemap ı değişik değişik varsa koyabilirsin anlamında koymuş oraya. mesela sadece bir dizini xml yapcaksin onu koyacaksin gibi.
guzelmekan
Üye
Üye
 
İleti: 32
Kayıt: 01.09.2006, 20:46
Konum: İstanbul


Arama Motoru Optimizasyonu



Kimler çevrimiçi

Bu forumu görüntüleyenler: Kayıtlı kullanıcı yok ve 0 misafir

cron