ready for zero dupe

Zero duplicate support forum.
Personalized HTTP 301 dynamic redirections.

Moderator: Moderators

ready for zero dupe

Postby asiaexpat » Wed Feb 21, 2007 11:43 am

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

Advertisement

Postby dcz » Wed Feb 21, 2007 11:54 am

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

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

Postby asiaexpat » Wed Feb 21, 2007 12:01 pm

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 : '';
}
}

#
asiaexpat
PR1
PR1
 
Posts: 121
Joined: Fri Aug 04, 2006 4:29 am

Postby asiaexpat » Wed Feb 21, 2007 12:06 pm

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

Postby dcz » Wed Feb 21, 2007 12:06 pm

I'm not sure to understand you well here.

You just need to add :

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



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

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

Postby asiaexpat » Wed Feb 21, 2007 12:07 pm

ok done-i will upload all files now
asiaexpat
PR1
PR1
 
Posts: 121
Joined: Fri Aug 04, 2006 4:29 am

Postby asiaexpat » Wed Feb 21, 2007 12:09 pm

files now uploaded
asiaexpat
PR1
PR1
 
Posts: 121
Joined: Fri Aug 04, 2006 4:29 am

Postby dcz » Wed Feb 21, 2007 12:12 pm

Works perfectly :D

http://www.asia-expatsforum.com/phpBB2/big-dupe-vt2853.html
HTTP Status Code: HTTP/1.1 301 Moved Permanently


;)

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

Postby asiaexpat » Wed Feb 21, 2007 12:16 pm

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

Postby dcz » Wed Feb 21, 2007 12:19 pm

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

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

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

Postby asiaexpat » Wed Feb 21, 2007 12:21 pm

ok thanks

lets see how it long it takes for the indexing to improve :D
asiaexpat
PR1
PR1
 
Posts: 121
Joined: Fri Aug 04, 2006 4:29 am

Postby dcz » Wed Feb 21, 2007 12:24 pm

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

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

Postby asiaexpat » Wed Feb 21, 2007 12:29 pm

i thought i fixed that yesterday--still not styling correctly??
asiaexpat
PR1
PR1
 
Posts: 121
Joined: Fri Aug 04, 2006 4:29 am

Postby dcz » Thu Feb 22, 2007 11:38 am

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-sit ... vt874.html

RC3 is real near now, and will fix this as well as will add some handy options ;)

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


Return to Zero duplicate phpBB2

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 3 guests