Convert phpbb2 forum with seo mod of WebMedic
To phpbb3 with Advanced SEO URL
Activated:
Forum URL caching: yes
Forum ID Removing: yes
in control panel, In Forum URL Management, added:
vfx (x corresponding to the number I had before in each FORUM)
With This, my FORUMS urls where the same than before
But topics urls where:
old mod:
any-title-vtxxx.html
adv.mod:
any-title-txxx.html
So it was solved with:
Desactivated:
Forum URL caching: no
Forum ID Removing: no
Rebuilded the new .htaccess
Replace code in
phpbb_seo/phpbb_seo_class.php
- Code: Select all
$this->seo_delim = array( 'forum' => '-f', 'topic' => '-t',
with :
- Code: Select all
$this->seo_delim = array( 'forum' => '-vf', 'topic' => '-vt',
in .htaccess
RewriteRule ^post([0-9]+)\.html$ viewtopic.php?p=$1 [QSA,L,NC]
with :
RewriteRule ^(post|[a-z0-9_-]*-vp)([0-9]+)\.html$ viewtopic.php?p=$2 [QSA,L,NC]
And all works fine
Even when I desactivated Forum URL caching an Forum ID Removing, the forums keeped the vfx
Thanks

English |
French
