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

Joined: 28 Apr 2006 Posts: 15242
|
|
| Back to top |
|
 |
|
 |
Drew
Joined: 24 Dec 2007 Posts: 22 Location: raleigh nc
|
Posted: Mon Sep 01, 2008 4:54 am Post subject: Re: Isapi_rewrite phpBB3 |
|
|
Any one found a solution yet?
Unfortuatly the two prior suggestions do not work for me nor does this modification
| Code: | # 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 |
 |
|
|
| Back to top |
|
 |
Drew
Joined: 24 Dec 2007 Posts: 22 Location: raleigh nc
|
Posted: Mon Sep 01, 2008 5:29 am Post subject: Re: Isapi_rewrite phpBB3 |
|
|
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
 |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15242
|
|
| Back to top |
|
 |
|
| Navigation |
Similar Topics |
|
|
|
|
|
|
|
| |
|
|
|
|
| |
|
|
|
|
| |