Isapi_rewrite phpBB3

phpBB3 SEO Advanced mod Rewrite support forum.
This mods performs URL rewriting for phpBB, injecting forums and topic titles in their URLs.

Moderator: Moderators

Postby dcz » Mon Jun 02, 2008 9:32 am

It's just that you need the simple mod rewrite version, the changes are not this many from the .htaccess to the httpd.ini, take a look at this post above, it explain how to adapt your specific .htaccess.

Post yours in the other thread you posted in case you need more help ;)
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: 21238
Joined: Fri Apr 28, 2006 9:03 pm

Advertisement

Postby Drew » Mon Sep 01, 2008 4:54 am

Any one found a solution yet?

Unfortuatly the two prior suggestions do not work for me nor does this modification

Code: Select all
# You may need to un-comment the following line
# Options +FollowSymlinks
# REMEBER YOU ONLY NEED TO STARD MOD REWRITE ONCE
RewriteEngine On
# REWRITE BASE
RewriteBase /
# HERE IS A GOOD PLACE TO ADD THE WWW PREFIXE REDIRECTION

#####################################################
# PHPBB SEO REWRITE RULES - ADVANCED
#####################################################
# AUTHOR : dcz www.phpbb-seo.com
# STARTED : 01/2006
#################################
# FORUMS PAGES
###############
# FORUM INDEX REWRITERULE WOULD STAND HERE IF USED. "forum" REQUIRES TO BE SET AS FORUM INDEX
# RewriteRule ^/forum/forum\.html$ /forum/index.php [I,L]
# FORUM
RewriteRule ^/forum/[a-z0-9_-]*-f([0-9]+)(-([0-9]+))?\.html$ /forum/viewforum.php\?f=$1&start=$3 [I,L]
# TOPIC WITH VIRTUAL FOLDER
RewriteRule ^/forum/[a-z0-9_-]*-f([0-9]+)/[a-z0-9_-]*-t([0-9]+)(-([0-9]+))?\.html$ /forum/viewtopic.php\?f=$1&t=$2&start=$4 [I,L]
# GLOBAL ANNOUNCES WITH VIRTUAL FOLDER
RewriteRule ^/forum/announces/[a-z0-9_-]*-t([0-9]+)(-([0-9]+))?\.html$ /forum/viewtopic.php\?t=$1&start=$3 [I,L]
# TOPIC WITHOUT FORUM ID & DELIM
RewriteRule ^/forum/([a-z0-9_-]*)/?[a-z0-9_-]*-t([0-9]+)(-([0-9]+))?\.html$ /forum/viewtopic.php\?forum_uri=$1&t=$2&start=$4 [I,L]
# PROFILES SIMPLE
RewriteRule ^/forum/member([0-9]+)\.html$ /forum/memberlist.php\?mode=viewprofile&u=$1 [I,L]
# USER MESSAGES SIMPLE
RewriteRule ^/forum/member([0-9]+)-(topics|posts)(-([0-9]+))?\.html$ /forum/search.php\?author_id=$1&sr=$2&start=$4 [I,L]
# GROUPS SIMPLE
RewriteRule ^/forum/group([0-9]+)(-([0-9]+))?\.html$ /forum/memberlist.php\?mode=group&g=$1&start=$3 [I,L]
# POST
RewriteRule ^/forum/post([0-9]+)\.html$ /forum/viewtopic.php\?p=$1 [I,L]
# ACTIVE TOPICS
RewriteRule ^/forum/active-topics(-([0-9]+))?\.html$ /forum/search.php\?search_id=active_topics&start=$2&sr=topics [I,L]
# UNANSWERED TOPICS
RewriteRule ^/forum/unanswered(-([0-9]+))?\.html$ /forum/search.php\?search_id=unanswered&start=$2&sr=topics [I,L]
# NEW POSTS
RewriteRule ^/forum/newposts(-([0-9]+))?\.html$ /forum/search.php\?search_id=newposts&start=$2&sr=topics [I,L]
# THE TEAM
RewriteRule ^/forum/the-team\.html$ /forum/memberlist.php\?mode=leaders [I,L]
# HERE IS A GOOD PLACE TO ADD OTHER PHPBB RELATED REWRITERULES

# FORUM WITHOUT ID & DELIM
# THESE FOUR LINES MUST BE LOCATED AT THE END OF YOUR HTACCESS TO WORK PROPERLY
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^/forum/([a-z0-9_-]+)(-([0-9]+))\.html$ /forum/viewforum.php\?forum_uri=$1&start=$3 [I,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^/forum/([a-z0-9_-]+)\.html$ /forum/viewforum.php\?forum_uri=$1 [I,L]
# END PHPBB PAGES



:roll:
Drew
 
Posts: 22
Joined: Mon Dec 24, 2007 7:22 am
Location: raleigh nc

Postby Drew » Mon Sep 01, 2008 5:29 am

btw htaccess seems to work with Helicon - note the editor

here is what happens when I run the expressions through regex. I get pattern not matched

Image
Drew
 
Posts: 22
Joined: Mon Dec 24, 2007 7:22 am
Location: raleigh nc

Postby dcz » Mon Sep 01, 2008 9:25 am

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

Previous

Return to Advanced SEO URL

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 5 guests