sitemap --> google

Support for the phpBB2 SEO mods released in the phpBB2 SEO Toolikt forum.

Moderator: Moderators

Postby dcz » Thu Dec 07, 2006 9:32 am

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: Select all
#
#-----[ 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 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21219
Joined: Fri Apr 28, 2006 9:03 pm

Advertisement

Postby linus » Thu Dec 07, 2006 10:47 am

Code: Select all
//
// 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: Select all
///
// 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
//



:cry: :?:
User avatar
linus
PR0
PR0
 
Posts: 68
Joined: Sun Jul 02, 2006 12:19 pm
Location: Italy

Postby dcz » Thu Dec 07, 2006 10:59 am

Well it's ok for the forum links in viewtopic.php now : -http://www.forum-linux-italia.com/generale-vf16.html

But I still fell on SIDs when I go to your board.

Did you install the bots mod or anything similar ?

++
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21219
Joined: Fri Apr 28, 2006 9:03 pm

Postby linus » Thu Dec 07, 2006 11:04 am

User avatar
linus
PR0
PR0
 
Posts: 68
Joined: Sun Jul 02, 2006 12:19 pm
Location: Italy

Postby dcz » Thu Dec 07, 2006 11:09 am

hmm, this is strange, because right now when I tried, I did not see any SID any more.
And it's a good new, because I don't see a mod that could cause a problem in your list, even though I don't know all of them.

Maybe you finally uploaded the correct sessions.php file ;)

All done it seems :D
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21219
Joined: Fri Apr 28, 2006 9:03 pm

Postby linus » Thu Dec 07, 2006 11:11 am

:? :arrow: :P
User avatar
linus
PR0
PR0
 
Posts: 68
Joined: Sun Jul 02, 2006 12:19 pm
Location: Italy

Postby linus » Thu Dec 07, 2006 11:53 am

I have another problem, sitemaps = 103 ERROR in google

my htaccess is OUT :cry:

before is 42 ERROR, nOw 103 :?:

:cry: :cry: :cry:

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 :?:
User avatar
linus
PR0
PR0
 
Posts: 68
Joined: Sun Jul 02, 2006 12:19 pm
Location: Italy

Postby linus » Thu Dec 07, 2006 12:03 pm

Code: Select all
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]
User avatar
linus
PR0
PR0
 
Posts: 68
Joined: Sun Jul 02, 2006 12:19 pm
Location: Italy

Postby dcz » Thu Dec 07, 2006 1:28 pm

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 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21219
Joined: Fri Apr 28, 2006 9:03 pm

Postby linus » Thu Dec 07, 2006 1:45 pm

ok :wink:
User avatar
linus
PR0
PR0
 
Posts: 68
Joined: Sun Jul 02, 2006 12:19 pm
Location: Italy

Previous

Return to phpBB2 SEO MODS

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 2 guests