Example again :
- Code: Select all
RewriteRule ^ftopic(t|p)-([0-9]*).html modules.php?name=Forums&file=viewtopic&$1=$2
becomes :
- Code: Select all
RewriteRule ^ftopic(t|p)-([0-9]*)\.html viewtopic.php?$1=$2 [QSA,L,NC]
These two :
- Code: Select all
RewriteRule ^forum-([0-9]*)-([0-9]*).html modules.php?name=Forums&file=viewforum&f=$1&start=$2
RewriteRule ^forum-([0-9]*).html modules.php?name=Forums&file=viewforum&f=$1
becomes :
- Code: Select all
RewriteRule ^forum-([0-9]*)(-([0-9]*))?\.html viewforum.php?f=$1&start=$3 [QSA,L,NC]
This one :
- Code: Select all
RewriteRule ^ftopic-([0-9]*)-([0-9]*).html modules.php?name=Forums&file=viewtopic&t=$1&start=$2
becomes :
- Code: Select all
RewriteRule ^ftopic-([0-9]*)-([0-9]*)\.html viewtopic.php?t=$1&start=$2 [QSA,L,NC]
It's rather long to list them all, since many nuke RewriteRule are just useless, and other does rewrite url that do not need to be, but with these three, you'll be already redirecting forum, topic and post, pagination included.
Just add an s to your forum index in phpbb_seo_class.php to use forums.html instead of the default forum.html and you'll be properly handling the the forum index as well.
Of course, it would be better to local test all of this, but there si nothing difficult, patience and time is what you'll need the most to take care about all cases.
++

English |
French

