phpBB SEO
Boards
Directory  
SEO  
Downloads
  phpBB SEO : Search Engine Optimization, Directory, Forums  
Index
Forums
Annuaire
Référencement
Télécharger
 
  Search Rechercher
    Register
Username :  Password :  Log me on automatically each visit  
S'enregistrer  
 
   
google sitemap
Goto page Previous  1, 2, 3
 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » Google Forums  » Google SEO
::  
Author Message
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14279

google sitemapPosted: Tue Aug 08, 2006 10:09 pm    Post subject: Re: google sitemap

All right,

I do not use EZportal, but this should work, and can be tested with no risk as long as you backup the files involved first.

So I assume you installed the recent topic block :


Code:

#
#-----[ OPEN ]-------------------------------------------------------
#
portal.php

#
#-----[ FIND ]---------------------------------------------
#
//
// End session management
//
#
#-----[ AFTER ADD ]---------------------------------------
#This for filtering topic titles with the phpBB censoring system, as
# anywhere else in the forum.

// www.phpBB-SEO.com SEO TOOLKIT BEGIN
// Define censored word matches
$orig_word = array();
$replacement_word = array();
// www.phpBB-SEO.com SEO TOOLKIT END

#
#-----[ FIND ]---------------------------------------------
#

for ($i = 0; $i < $number_recent_topics; $i++)
{

#
#-----[ AFTER ADD ]---------------------------------------
#

   // www.phpBB-SEO.com SEO TOOLKIT BEGIN
   $seo_topic_name  = ( count($orig_word) ) ? preg_replace($orig_word, $replacement_word, $recent_topic_row[$i]['topic_title']) : $recent_topic_row[$i]['topic_title'];

#
#-----[ FIND ]---------------------------------------------
#
      'U_TITLE' => append_sid("viewtopic.$phpEx?" . POST_POST_URL . '=' . $recent_topic_row[$i]['post_id']) . '#' .$recent_topic_row[$i]['post_id'],
      'L_TITLE' => $recent_topic_row[$i]['topic_title'],
#
#-----[ REPLACE WITH ]---------------------------------------------
#

      /*'U_TITLE' => append_sid("viewtopic.$phpEx?" . POST_POST_URL . '=' . $recent_topic_row[$i]['post_id']) . '#' .$recent_topic_row[$i]['post_id'],
      'L_TITLE' => $recent_topic_row[$i]['topic_title'],*/
      'U_TITLE' => append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . '=' . $recent_topic_row[$i]['topic_id']),
      'L_TITLE' => $seo_topic_name,
   // www.phpBB-SEO.com SEO TOOLKIT BEGIN


Then, it won't link to the last page of the topic, but to the topic itself. User will just have to follow the last page link and bots will fell on really interesting URLs Wink

++

_________________
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


Last edited by dcz on Mon Aug 14, 2006 7:33 am; edited 1 time in total
Back to top
Visit poster's website
asiaexpat
PR1
PR1


Joined: 04 Aug 2006
Posts: 121

google sitemapPosted: Tue Aug 08, 2006 11:47 pm    Post subject: Re: google sitemap

thanks I'll try that tonight

google is returning errors for the stemap submitted---is that normal??

i get a long list of these as errors

View errors for: http://asia-expatsforum.com/phpBB2/forum-sitemap-16.xm

View errors for: http://asia-expatsforum.com/phpBB2/forum-sitemap-17.xml

etc

34 of theml
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14279

google sitemapPosted: Wed Aug 09, 2006 10:36 am    Post subject: Re: google sitemap

This is normal, they don't work Wink

.htaccess matter here. Please use the release thread to install it properly.

I think you should take your sitemap out of Google for now, until you decide yourself for mod rewrite or not and etc...

One thing at a time, no need to tell Google you have a nice sitemaps if you're about to change all your URLs Wink

Do it once this is done instead.

++

_________________
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
Visit poster's website
asiaexpat
PR1
PR1


Joined: 04 Aug 2006
Posts: 121

google sitemapPosted: Wed Aug 09, 2006 11:06 am    Post subject: Re: google sitemap

now I am confused

my .htacess is not correct??

I have removed the sitemap from google.

next step??
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14279

google sitemapPosted: Wed Aug 09, 2006 11:47 am    Post subject: Re: google sitemap

Please ask for support on specific mod on their release thread, the Rewriterules to implement to be able to turn mod rewrite on for Google sitemaps links are located in the contrib/ folder's .htaccess of the release.

For now, first install the mod rewrite, you can turn of the mod rewrite for Google sitemaps for now so that you'll be able to test the outputted links and see how it works Wink

++

_________________
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
Visit poster's website
asiaexpat
PR1
PR1


Joined: 04 Aug 2006
Posts: 121

google sitemapPosted: Wed Aug 09, 2006 12:29 pm    Post subject: Re: google sitemap

the mod rewrite was installed

i will try your portal.php code change now
Back to top
asiaexpat
PR1
PR1


Joined: 04 Aug 2006
Posts: 121

google sitemapPosted: Wed Aug 09, 2006 12:53 pm    Post subject: Re: google sitemap

are you sure this is correct

Code:
/*'U_TITLE' => append_sid("viewtopic.$phpEx?" . POST_POST_URL . '=' . $recent_topic_row[$i]['post_id']) . '#' .$recent_topic_row[$i]['post_id'],
      'L_TITLE' => $recent_topic_row[$i]['topic_title'],*/
      'U_TITLE' => append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . '=' . $recent_topic_row[$i]['topic_id']),
      'L_TITLE' => $seo_topic_name,.


i get parse errors
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14279

google sitemapPosted: Wed Aug 09, 2006 1:12 pm    Post subject: Re: google sitemap

oups.

It's because I cannot test, I don't use this one, but it must be an obvious one.

I think there is an extra dot "." here, we should get rid of Wink

Quote:
/*'U_TITLE' => append_sid("viewtopic.$phpEx?" . POST_POST_URL . '=' . $recent_topic_row[$i]['post_id']) . '#' .$recent_topic_row[$i]['post_id'],
'L_TITLE' => $recent_topic_row[$i]['topic_title'],*/
'U_TITLE' => append_sid("viewtopic.$phpEx?" . POST_TOPIC_URL . '=' . $recent_topic_row[$i]['topic_id']),
'L_TITLE' => $seo_topic_name,.


Tell me if this is it, erf, the most obvious it is the harder to find Laughing

++

_________________
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
Visit poster's website
asiaexpat
PR1
PR1


Joined: 04 Aug 2006
Posts: 121

google sitemapPosted: Wed Aug 09, 2006 1:16 pm    Post subject: Re: google sitemap

Great call--ok can open portal now

So can I now go ahead and resubmit my sitemaps.xml to google??--and then just ignore the errors from google?
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 14279

google sitemapPosted: Wed Aug 09, 2006 1:19 pm    Post subject: Re: google sitemap

Not as long as those link do not work.

asiaexpat wrote:


View errors for: http://asia-expatsforum.com/phpBB2/forum-sitemap-16.xm

View errors for: http://asia-expatsforum.com/phpBB2/forum-sitemap-17.xml


It's an .htaccess issue, please use the mx Google sitemaps release thread for this support Wink

++

_________________
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
Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » Google Forums  » Google SEO
Page 3 of 3 Goto page Previous  1, 2, 3

Navigation Similar Topics

Jump to: