google sitemap

Search Engine Optimization : How to get better indexed in the Google Search Engine.

Moderator: Moderators

Postby dcz » Tue Aug 08, 2006 10:09 pm

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: Select all
#
#-----[ 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 ;)

++
Last edited by dcz on Mon Aug 14, 2006 7:33 am, edited 1 time in total.
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: 21406
Joined: Fri Apr 28, 2006 9:03 pm

Advertisement

Postby asiaexpat » Tue Aug 08, 2006 11:47 pm

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
asiaexpat
PR1
PR1
 
Posts: 121
Joined: Fri Aug 04, 2006 4:29 am

Postby dcz » Wed Aug 09, 2006 10:36 am

This is normal, they don't work ;)

.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 ;)

Do it once this is done instead.

++
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: 21406
Joined: Fri Apr 28, 2006 9:03 pm

Postby asiaexpat » Wed Aug 09, 2006 11:06 am

now I am confused

my .htacess is not correct??

I have removed the sitemap from google.

next step??
asiaexpat
PR1
PR1
 
Posts: 121
Joined: Fri Aug 04, 2006 4:29 am

Postby dcz » Wed Aug 09, 2006 11:47 am

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 ;)

++
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: 21406
Joined: Fri Apr 28, 2006 9:03 pm

Postby asiaexpat » Wed Aug 09, 2006 12:29 pm

the mod rewrite was installed

i will try your portal.php code change now
asiaexpat
PR1
PR1
 
Posts: 121
Joined: Fri Aug 04, 2006 4:29 am

Postby asiaexpat » Wed Aug 09, 2006 12:53 pm

are you sure this is correct

Code: Select all
/*'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
asiaexpat
PR1
PR1
 
Posts: 121
Joined: Fri Aug 04, 2006 4:29 am

Postby dcz » Wed Aug 09, 2006 1:12 pm

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 ;)

/*'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 :lol:

++
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: 21406
Joined: Fri Apr 28, 2006 9:03 pm

Postby asiaexpat » Wed Aug 09, 2006 1:16 pm

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?
asiaexpat
PR1
PR1
 
Posts: 121
Joined: Fri Aug 04, 2006 4:29 am

Postby dcz » Wed Aug 09, 2006 1:19 pm

Not as long as those link do not work.



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

++
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: 21406
Joined: Fri Apr 28, 2006 9:03 pm

Re: google sitemap

Postby appsdeveloper » Wed Mar 12, 2014 6:19 am

asiaexpat wrote:i want to make a sitemap to submit to google
any suggestions on how to do that??


First of all you create your XML sitemap free on http://www.xml-sitemaps.com then Go to GWT -> Crawl - > Add sitemap

This steps I hope helpful!
appsdeveloper
 
Posts: 10
Joined: Tue Mar 11, 2014 4:34 am

Re: google sitemap

Postby k2bsolutions » Tue Apr 08, 2014 10:22 am

How to add HTML sitemap ? Any one please help me .
k2bsolutions
 
Posts: 2
Joined: Tue Apr 08, 2014 10:04 am

Previous

Return to Google SEO

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 1 guest