| |
| |
|
|
|
|
| |
|
| |
|
| :: |
| Author |
Message |
schlogo
Joined: 28 May 2007 Posts: 4
|
Posted: Mon May 28, 2007 11:42 pm Post subject: move a moded forum from subdomain to subfolder |
|
|
Hello
I am running a phpbb forum with phpbb mod rewrite, it works perfectly in a subdomain. Now, I want to move it to a subfolder in the main domain. I moved the files , the forum works but no rewrite anymore
Here s the htaccess as it appears in a subfolder called forum... Would you know why it fails?
| Code: |
# You could need to un-comment the following line
# Options +FollowSymlinks
RewriteEngine On
RewriteBase /
#########################################################
# PHPBB SEO REWRITE RULES #
#########################################################
# AUTHOR : DCZ http://www.phpbb-seo.com/
# STARTED : 01/2006
#####################################################
# FORUMS PAGES
########################
# FORUM INDEX (un-comment if used)
# RewriteRule ^forum/index\.html$ /forum/index.php [QSA,L,NC]
# FORUM PROTECTION RULE
# RewriteRule ^forum/[a-z0-9_-]+/([^/]+\.html)$ /forum/index.php [R=301,L,NC]
# CATEGORIES
RewriteRule ^forum/[a-z0-9_-]*-c([0-9]+)\.html$ /forum/index.php?c=$1 [QSA,L,NC]
# PAGINATED FORUM
RewriteRule ^forum/[a-z0-9_-]*-f([0-9]+)-([0-9]+)\.html$ /forum/viewforum.php?f=$1&start=$2 [QSA,L,NC]
# FORUM
RewriteRule ^forum/[a-z0-9_-]*-f([0-9]+)\.html$ /forum/viewforum.php?f=$1 [QSA,L,NC]
# PAGINATED TOPIC
RewriteRule ^forum/[a-z0-9_-]*-t([0-9]+)-([0-9]+)\.html$ /forum/viewtopic.php?t=$1&start=$2 [QSA,L,NC]
# TOPIC
RewriteRule ^forum/[a-z0-9_-]*-t([0-9]+)\.html$ /forum/viewtopic.php?t=$1 [QSA,L,NC]
# POST
RewriteRule ^forum/post([0-9]+)\.html$ /forum/viewtopic.php?p=$1 [QSA,L,NC]
#PROFILES
RewriteRule ^forum/membre([0-9]+)\.html$ /forum/profile.php?mode=viewprofile&u=$1 [QSA,L,NC]
# END PHPBB PAGES
##################################################### |
|
|
|
| Back to top |
|
 |
|
 |
schlogo
Joined: 28 May 2007 Posts: 4
|
Posted: Tue May 29, 2007 12:52 pm Post subject: Re: move a moded forum from subdomain to subfolder |
|
|
no guess?  |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15242
|
|
| Back to top |
|
 |
schlogo
Joined: 28 May 2007 Posts: 4
|
Posted: Tue May 29, 2007 10:48 pm Post subject: Re: move a moded forum from subdomain to subfolder |
|
|
It makes sense but it does not work  |
|
|
| Back to top |
|
 |
schlogo
Joined: 28 May 2007 Posts: 4
|
Posted: Tue May 29, 2007 11:38 pm Post subject: Re: move a moded forum from subdomain to subfolder |
|
|
you were actually right, it works, Just forgot to remove the htaccess from forum directory. It make sense but...not really, was it not supposed to work with the htaccess in the directory?
Anyway, it works, thanks for your help
O |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

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