| :: |
| Author |
Message |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14131
|
|
| Back to top |
|
 |
|
 |
asiaexpat PR1

Joined: 04 Aug 2006 Posts: 121
|
Posted: Tue Feb 20, 2007 2:31 pm Post subject: Re: dramatic drop in indexed pages |
|
|
so i need to do phpBB SEO Advanced mod Rewrite 0.0.2 => 0.2.0 update
first and then
do the phpBB SEO Advanced mod Rewrite 0.2.0 => 0.2.2 update or just use the file from 2.2 download and only update index.php from 0.2 to 0.2.2 |
|
|
| Back to top |
|
 |
HB phpBB SEO Team

Joined: 16 Oct 2006 Posts: 807
|
Posted: Tue Feb 20, 2007 2:35 pm Post subject: Re: dramatic drop in indexed pages |
|
|
| asiaexpat wrote: | | when i dont even have a phpbb_seo/phpbb_seo_class.php, |
That file is part of the 0.2.2 download. It may be easier for you to first remove all traces of the prior versions and reinstall on a test server. It is needlessly confusing to merge the newer refactored version with the beta version when they're not that big in the first place.
While I'm doling out unsolicited advice, I recommend double-checking your work. I use beyond compare to spot check all my site's mods. For example, I'll compare against the "virgin" phpBB release when migrating to a new phpBB version. Although I use ezMOD, I've managed to miss a line or two over the years. The same strategy works even better for smaller fixes. If you backup your board to a local install before starting you can double check your work afterward to confirm the changes called out in the MOD instructions were indeed followed. In 99.8% of the cases, the troubles reported on forums with mod installations are attributed to incorrect application of the mod's instructions, not a coding error (ezMOD is a godsend in this respect).
dcz has thoughtfully tagged all changes with BEGIN / END comments, but that doesn't mean you didn't miss a change. The above suggestions apply to any modifications, not just phpbb-seo's, and are the stock and trade of any professional programmer. Since the mods we're discussing have farther reaching consequences that Joe Bob's favorite phbBB tweak, it behooves you to get it right the first time. |
_________________ Dan Kehn |
|
| Back to top |
|
 |
asiaexpat PR1

Joined: 04 Aug 2006 Posts: 121
|
Posted: Tue Feb 20, 2007 2:40 pm Post subject: Re: dramatic drop in indexed pages |
|
|
i have done tons of modding and i will first backup the files in question so if anything goes wrong ill just put the old files back
I will first upgrade to 0.2.0 and if that seems ok then up to 2.2
I think tomorrow night will copy the new files to the server-- i.e in about 24 hours |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14131
|
Posted: Tue Feb 20, 2007 2:45 pm Post subject: Re: dramatic drop in indexed pages |
|
|
What HB says is really wise.
There are not much changes, you can just apply the 0.0.2 install reverse and then directly install the 0.2.2, will be safer and easier.
If not, what you suggest should as well work, just do not edit phpbb_seo_class.php when applying the 0.2.0=>0.2.2 update, as you'll download the 0.2.2 one already
The 0.0.2=>0.2.0 changes in phpbb_seo_class.php are needed to keep your current url standard, it's just meant to continue using the old delimiters : -vc, -vf and -vt instead of the new ones (-c,-f and -t).
++ |
_________________ 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 |
|
 |
asiaexpat PR1

Joined: 04 Aug 2006 Posts: 121
|
Posted: Tue Feb 20, 2007 2:52 pm Post subject: Re: dramatic drop in indexed pages |
|
|
| yes i will edit the phpbb_seo_class.php with the The 0.0.2=>0.2.0 changes and not overwrite it with the 2.2 version--right?--to maintain old delimiters |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14131
|
Posted: Wed Feb 21, 2007 12:14 am Post subject: Re: dramatic drop in indexed pages |
|
|
Concerning the phpbb_seo_class.php file you should only change the delimiters, no need to update it that's all eg :
| Code: |
#
#-----[ OPEN ]------------------------------------------
#
phpbb_seo/phpbb_seo_class.php
#
#-----[ FIND ]------------------------------------------
#
$this->seo_delim = array('cat' => '-c',
'forum' => '-f',
'topic' => '-t',
#
#-----[ REPLACE WITH ]------------------------------------------
#
$this->seo_delim = array('cat' => '-vc',
'forum' => '-vf',
'topic' => '-vt',
|
Then, apply the code change for the other php files, if you follow the first and the second update, you'll only have to re edit index.php, to put a piece of code in a better place.
++ |
_________________ 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 |
|
 |
asiaexpat PR1

Joined: 04 Aug 2006 Posts: 121
|
Posted: Wed Feb 21, 2007 12:57 am Post subject: Re: dramatic drop in indexed pages |
|
|
| ok i have already done the file editing and will upload them to the server tonight--if all is ok then will edit the index.php to bring it up to 0.2.2 |
|
|
| Back to top |
|
 |
asiaexpat PR1

Joined: 04 Aug 2006 Posts: 121
|
Posted: Wed Feb 21, 2007 11:32 am Post subject: Re: dramatic drop in indexed pages |
|
|
| i have uploaded the files and also edited common.php and index.php to 0.2.2 versions |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14131
|
|
| Back to top |
|
 |
|
|