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  
 
   
ready for zero dupe

 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB SEO TooLKit  » Zero duplicate
::  
Author Message
asiaexpat
PR1
PR1


Joined: 04 Aug 2006
Posts: 121

ready for zero dupePosted: Wed Feb 21, 2007 11:43 am    Post subject: ready for zero dupe

i dont need the censoring right away so can I go ahead and apply

We can just save this SQL when we know there will be massive redirections and put it back once
the HTTP 301 storm has passed.
->>To do this, you'll need to :

Replace :
_________

// www.phpBB-SEO.com SEO TOOLKIT BEGIN
// Define censored word matches
$orig_word = array();
$replacement_word = array();
obtain_word_list($orig_word, $replacement_word);
$topic_title = ( count($orig_word) ) ? preg_replace($orig_word, $replacement_word, $topic_title) : $topic_title;

With :
______etc...??

what file are these changes to be made?????
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 13607

ready for zero dupePosted: Wed Feb 21, 2007 11:54 am    Post subject: Re: ready for zero dupe

It's all in viewtopic.php for topic title censoring.

To safely test header before you go online, you can do what's suggested here.

++

_________________
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

ready for zero dupePosted: Wed Feb 21, 2007 12:01 pm    Post subject: Re: ready for zero dupe

I do not understand this
The previous find-add before put something else before
}
?>

so where does this last add-before go? after or before the previous edit??

The following FIND and BEFORE, ADD in phpbb_seo/phpbb_seo_class.php may have already been performed
by another phpBB SEO mod.
To make sure about it, please make sure your phpbb_seo/phpbb_seo_class.php does not already contain
the code in the BEFORE, ADD.

If so, just skip this step

#
#-----[ FIND ]------------------------------------------
# Note : This particular replace may have already been performed
# If so, just skip this step

}
?>

#
#-----[ BEFORE, ADD ]------------------------------------------
# Note : This particular replace may have already been performed
# If so, just skip this step

/**
* check start var consistency
*/
function seo_start($start = 0, $limit = 0) {
if ($limit > 0) {
$start = ( is_int( $start/$limit ) ) ? $start : intval($start/$limit)*$limit;
$this->start = ( $start > 0 ) ? $this->seo_static['start'] . $start : '';
} else {
$this->start = ( $start > 0 ) ? $this->seo_static['start'] . $start : '';
}
}

#
Back to top
asiaexpat
PR1
PR1


Joined: 04 Aug 2006
Posts: 121

ready for zero dupePosted: Wed Feb 21, 2007 12:06 pm    Post subject: Re: ready for zero dupe

the test worked ok

still unsure of edits in my last post--it is not clear where to put

**
* check start var consistency
*/
function seo_start($start = 0, $limit = 0) {
if ($limit > 0) {
$start = ( is_int( $start/$limit ) ) ? $start : intval($start/$limit)*$limit;
$this->start = ( $start > 0 ) ? $this->seo_static['start'] . $start : '';
} else {
$this->start = ( $start > 0 ) ? $this->seo_static['start'] . $start : '';
}
}
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 13607

ready for zero dupePosted: Wed Feb 21, 2007 12:06 pm    Post subject: Re: ready for zero dupe

I'm not sure to understand you well here.

You just need to add :

Code:
   /**
   * check start var consistency
   */
   function seo_start($start = 0, $limit = 0) {
      if ($limit > 0) {
         $start = ( is_int( $start/$limit ) ) ? $start : intval($start/$limit)*$limit;
         $this->start = ( $start > 0  ) ? $this->seo_static['start'] . $start : '';
      } else {
         $this->start = ( $start > 0  ) ? $this->seo_static['start'] . $start : '';
      }
   }


Before :

Code:
}
?>



in phpbb_seo_class.php, and only if this particular piece of code was not already installed in the file by another mod (which should not be the case, the concerned mod is not released yet 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

ready for zero dupePosted: Wed Feb 21, 2007 12:07 pm    Post subject: Re: ready for zero dupe

ok done-i will upload all files now
Back to top
asiaexpat
PR1
PR1


Joined: 04 Aug 2006
Posts: 121

ready for zero dupePosted: Wed Feb 21, 2007 12:09 pm    Post subject: Re: ready for zero dupe

files now uploaded
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 13607

ready for zero dupePosted: Wed Feb 21, 2007 12:12 pm    Post subject: Re: ready for zero dupe

Works perfectly Very Happy

http://www.asia-expatsforum.com/phpBB2/big-dupe-vt2853.html
Quote:

HTTP Status Code: HTTP/1.1 301 Moved Permanently


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

ready for zero dupePosted: Wed Feb 21, 2007 12:16 pm    Post subject: Re: ready for zero dupe

OK now what?

leave robots to allow forums etc??


and are there any redirection issues?

btw I did not change the censor code

the gym style also works ok now
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 13607

ready for zero dupePosted: Wed Feb 21, 2007 12:19 pm    Post subject: Re: ready for zero dupe

It's no big deal for the censor code, as you will not be massively redirecting.

No issues with the zero dupe, beside better indexing, ranking and no duplicates Wink

And yes, do not disallow index.php, viewforum.php and viewtopic.php in your robots.txt.

++

_________________
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

ready for zero dupePosted: Wed Feb 21, 2007 12:21 pm    Post subject: Re: ready for zero dupe

ok thanks

lets see how it long it takes for the indexing to improve Very Happy
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 13607

ready for zero dupePosted: Wed Feb 21, 2007 12:24 pm    Post subject: Re: ready for zero dupe

well, you still need to do something with GYM sitemaps styling, even though Google does not really bother about it.

++

_________________
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

ready for zero dupePosted: Wed Feb 21, 2007 12:29 pm    Post subject: Re: ready for zero dupe

i thought i fixed that yesterday--still not styling correctly??
Back to top
dcz
Administrateur - Site Admin
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 13607

ready for zero dupePosted: Thu Feb 22, 2007 11:38 am    Post subject: Re: ready for zero dupe

Well, it's RC2, so there are some possible issues, the one you're encountering being one of them : http://www.phpbb-seo.com/boards/gym-sitemaps/discussions-vt874.html

RC3 is real near now, and will fix this as well as will add some handy options 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  » phpBB SEO TooLKit  » Zero duplicate
Page 1 of 1

Navigation Similar Topics

Jump to: