| |
|
| :: |
| Author |
Message |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15414
|
Posted: Thu Dec 07, 2006 9:32 am Post subject: Re: sitemap --> google |
|
|
The able2know rewriterule dealing with "forum" should not interfere with the mx Google sitemaps one as long as the able2know ones are located after all the other rewriterules.
For the guest sessions mod it's the right one, but I still see SID when I first load a page on your web-site, so it's not working.
For the change in viewforum, the install is asking for :
| Code: | #
#-----[ OPEN ]------------------------------------------
#
#
viewforum.php
#
#-----[ FIND ]------------------------------------------
#
//
// Start session management
//
#
#-----[ BEFORE, ADD ]------------------------------------------
#
// www.phpBB-SEO.com SEO TOOLKIT BEGIN
$seo_forum_name = $forum_row['forum_name'];
// www.phpBB-SEO.com SEO TOOLKIT END
#
#-----[ FIND ]------------------------------------------
#
$topic_title = ( count($orig_word) ) ? preg_replace($orig_word, $replacement_word, $topic_rowset[$i]['topic_title']) : $topic_rowset[$i]['topic_title'];
#
#-----[ AFTER, ADD ]------------------------------------------
#
// www.phpBB-SEO.com SEO TOOLKIT BEGIN
$seo_topic_name = $topic_title;
// www.phpBB-SEO.com SEO TOOLKIT END |
Don't you find all this code ?
++ |
_________________ Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________
Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche |
|
| Back to top |
|
 |
|
 |
linus PR0


Joined: 02 Jul 2006 Posts: 68 Location: Italy
|
Posted: Thu Dec 07, 2006 10:47 am Post subject: Re: sitemap --> google |
|
|
| Code: | //
// If the query doesn't return any rows this isn't a valid forum. Inform
// the user.
//
if ( !($forum_row = $db->sql_fetchrow($result)) )
{
message_die(GENERAL_MESSAGE, 'Forum_not_exist');
}
// www.phpBB-SEO.com SEO TOOLKIT BEGIN
$uri = seo_req_uri();
$start = ( is_int(intval($start)/intval($board_config['topics_per_page'])) ) ? $start : 0;
$url_chk = format_url($forum_row['forum_name']) . "-vf$forum_id" . ( ($start !=0) ? "-$start" : "" ) . ".html";
if ( ($mark_read == '') && !strpos($uri, $url_chk) && empty($HTTP_POST_VARS['topicdays']) && empty($HTTP_GET_VARS['topicdays']) ) {
seo_redirect( PHPBB_URL . $url_chk );
}
// www.phpBB-SEO.com SEO TOOLKIT END
// www.phpBB-SEO.com SEO TOOLKIT BEGIN
$seo_forum_name = $forum_row['forum_name'];
// www.phpBB-SEO.com SEO TOOLKIT END
//
// Start session management
//
$userdata = session_pagestart($user_ip, $forum_id);
init_userprefs($userdata);
//
// End session management
//
|
| Code: | ///
// Okay, lets dump out the page ...
//
if( $total_topics )
{
for($i = 0; $i < $total_topics; $i++)
{
$topic_id = $topic_rowset[$i]['topic_id'];
$topic_title = ( count($orig_word) ) ? preg_replace($orig_word, $replacement_word, $topic_rowset[$i]['topic_title']) : $topic_rowset[$i]['topic_title'];
// www.phpBB-SEO.com SEO TOOLKIT BEGIN
$seo_topic_name = $topic_title;
// www.phpBB-SEO.com SEO TOOLKIT END
$replies = $topic_rowset[$i]['topic_replies'];
$topic_type = $topic_rowset[$i]['topic_type'];
if( $topic_type == POST_ANNOUNCE )
{
$topic_type = $lang['Topic_Announcement'] . ' ';
}
$refresh_time_enable = TRUE;
//
// Start auth check
//
|
 |
_________________ ... |
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15414
|
|
| Back to top |
|
 |
linus PR0


Joined: 02 Jul 2006 Posts: 68 Location: Italy
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15414
|
|
| Back to top |
|
 |
linus PR0


Joined: 02 Jul 2006 Posts: 68 Location: Italy
|
Posted: Thu Dec 07, 2006 11:11 am Post subject: Re: sitemap --> google |
|
|
 |
_________________ ... |
|
| Back to top |
|
 |
linus PR0


Joined: 02 Jul 2006 Posts: 68 Location: Italy
|
Posted: Thu Dec 07, 2006 11:53 am Post subject: Re: sitemap --> google |
|
|
I have another problem, sitemaps = 103 ERROR in google
my htaccess is OUT
before is 42 ERROR, nOw 103
ERROR :
-http://www.forum-linux-italia.com/alco...0-per-linux-esiste-vt260.html?view=next
-http://www.forum-linux-italia.com/post1407.html
but this link function...
in robots.txt = /post  |
_________________ ... |
|
| Back to top |
|
 |
linus PR0


Joined: 02 Jul 2006 Posts: 68 Location: Italy
|
Posted: Thu Dec 07, 2006 12:03 pm Post subject: Re: sitemap --> google |
|
|
| Code: | RewriteEngine on
RewriteCond %{HTTP_HOST} ^forum-linux-italia\.com$ [NC]
RewriteRule ^(.*) http://www.forum-linux-italia.com/$1 [QSA,L,R=301]
Options +FollowSymlinks
RewriteEngine on
RewriteBase /
RewriteRule ^.+/([^/]+\.html)$ /index.php [R=301,L]
RewriteRule ^.*-vc([0-9]+)\.html$ /index.php?c=$1 [QSA,L]
RewriteRule ^.*-vf([0-9]+)-([0-9]+)\.html$ /viewforum.php?f=$1&start=$2 [QSA,L]
RewriteRule ^.*-vf([0-9]+)\.html$ /viewforum.php?f=$1 [QSA,L]
RewriteRule ^.*-vt([0-9]+)-([0-9]+)\.html$ /viewtopic.php?t=$1&start=$2 [QSA,L]
RewriteRule ^.*-vt([0-9]+)\.html$ /viewtopic.php?t=$1 [QSA,L]
RewriteRule ^cat([0-9]+)\.html$ /index.php?c=$1 [QSA,L]
RewriteRule ^forum([0-9]+)-([0-9]+)\.html$ /viewforum.php?f=$1&start=$2 [QSA,L]
RewriteRule ^forum([0-9]+)\.html$ /viewforum.php?f=$1 [QSA,L]
RewriteRule ^topic([0-9]+)-([0-9]+)\.html$ /viewtopic.php?t=$1&start=$2 [QSA,L]
RewriteRule ^topic([0-9]+)\.html$ /viewtopic.php?t=$1 [QSA,L]
RewriteRule ^post([0-9]+)\.html$ /viewtopic.php?p=$1 [QSA,L]
RewriteRule ^member([0-9]+)\.html$ /profile.php?mode=viewprofile&u=$1 [QSA,L]
RewriteRule ^forums.* /index.php [L,NC]
RewriteRule ^post-([0-9]*).html&highlight=([a-zA-Z0-9]*) /viewtopic.php?p=$1&highlight=$2 [L,NC]
RewriteRule ^post-([0-9]*).* /viewtopic.php?p=$1 [L,NC]
RewriteRule ^view-poll([0-9]*)-([0-9]*)-([a-zA-Z]*).* /viewtopic.php?t=$1&postdays=$2&postorder=$3&vote=viewresult [L,NC]
RewriteRule ^about([0-9]*).html&highlight=([a-zA-Z0-9]*) /viewtopic.php?t=$1&highlight=$2 [L,NC]
RewriteRule ^about([0-9]*).html&view=newest /viewtopic.php?t=$1&view=newest [L,NC]
RewriteRule ^about([0-9]*)-([0-9]*)-([a-zA-Z]*)-([0-9]*).* /viewtopic.php?t=$1&postdays=$2&postorder=$3&start=$4 [L,NC]
RewriteRule ^about([0-9]*)-([0-9]*).* /viewtopic.php?t=$1&start=$2 [L,NC]
RewriteRule ^about([0-9]*).* /viewtopic.php?t=$1 [L,NC]
RewriteRule ^about([0-9]*).html /viewtopic.php?t=$1&start=$2&postdays=$3&postorder=$4&highlight=$5 [L,NC]
RewriteRule ^mark-forum([0-9]*).html* /viewforum.php?f=$1&mark=topics [L,NC]
RewriteRule ^updates-topic([0-9]*).html* /viewtopic.php?t=$1&watch=topic [L,NC]
RewriteRule ^stop-updates-topic([0-9]*).html* /viewtopic.php?t=$1&unwatch=topic [L,NC]
RewriteRule ^forum-([0-9]*).html /viewforum.php?f=$1 [L,NC]
RewriteRule ^topic-([0-9]*)-([0-9]*)-([0-9]*).* /viewforum.php?f=$1&topicdays=$2&start=$3 [L,NC]
RewriteRule ^ptopic([0-9]*).* /viewtopic.php?t=$1&view=previous [L,NC]
RewriteRule ^ntopic([0-9]*).* /viewtopic.php?t=$1&view=next [L,NC]
RewriteRule ^sitemaps\.html$ /sitemaps.php [QSA,L]
RewriteRule ^forum-map\.html$ /sitemaps.php?fim [QSA,L]
RewriteRule ^.+-fmp([0-9]+)-([0-9]+)\.html$ /sitemaps.php?fmp=$1&start=$2 [QSA,L]
RewriteRule ^.+-fmp([0-9]+)\.html$ /sitemaps.php?fmp=$1 [QSA,L]
RewriteRule ^.+-sc([0-9]+)\.html$ /sitemaps.php?c=$1 [QSA,L]
RewriteRule ^sitemaps\.xml$ /sitemap.php [L]
RewriteRule ^forum-sitemap-([0-9]+)\.xml$ /sitemap.php?fid=$1 [L]
RewriteRule ^sitemap-forum\.xml$ /sitemap.php?forum [L]
|
|
_________________ ... |
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15414
|
Posted: Thu Dec 07, 2006 1:28 pm Post subject: Re: sitemap --> google |
|
|
You should only believe yourself in such matter, if the url work, then it's Google to be mistaking.
Many possible causes for this, and not very astonishing with all the changes you made today. Google errors are far from live, so you can end up seeing an error listed that is not occurring anymore.
And we do want to disallow the post URLs, so it's rather normal Google tells you it is so
++ |
_________________ Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________
Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche |
|
| Back to top |
|
 |
linus PR0


Joined: 02 Jul 2006 Posts: 68 Location: Italy
|
Posted: Thu Dec 07, 2006 1:45 pm Post subject: Re: sitemap --> google |
|
|
ok  |
_________________ ... |
|
| Back to top |
|
 |
|
|
| Navigation |
Similar Topics |
|
|
|
|
|
|
|