| |
| |
|
|
|
|
| |
|
| |
|
| :: |
| Author |
Message |
tek428
Joined: 05 Feb 2007 Posts: 4
|
Posted: Mon Feb 05, 2007 12:48 pm Post subject: Help please! |
|
|
I installed everything like I should have, but for some reason, my forum isn't working now.
When you click on a forum link, it brings me to "no posts found" error.
See here:
http://www.aglococash.org/forums/ |
|
|
| Back to top |
|
 |
|
 |
tek428
Joined: 05 Feb 2007 Posts: 4
|
Posted: Mon Feb 05, 2007 12:53 pm Post subject: Re: Help please! |
|
|
Here is my .htaccess file
| Code: | # BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
#########################################################
# PHPBB SEO REWRITE RULES #
#########################################################
# AUTHOR : DCZ http://www.phpbb-seo.com/
# STARTED : 01/2006
#####################################################
# FORUMS PAGES
########################
# FORUM INDEX (un-comment if used)
RewriteRule ^forums/index\.html$ forums/index.php [QSA,L]
# FORUM PROTECTION RULE
RewriteRule ^forums/.*/([^/]+\.html)$ forums/index.php [R=301,L]
# CATEGORIES
RewriteRule ^forums/.*-c([0-9]+)\.html$ forums/index.php?c=$1 [QSA,L]
# PAGINATED FORUM
RewriteRule ^forums/.*-f([0-9]+)-([0-9]+)\.html$ forums/viewforum.php?f=$1&start=$2 [QSA,L]
# FORUM
RewriteRule ^forums/.*-f([0-9]+)\.html$ forums/viewforum.php?f=$1 [QSA,L]
# PAGINATED TOPIC
RewriteRule ^forums/topic([0-9]+)-([0-9]+)\.html$ forums/viewtopic.php?t=$1&start=$2 [QSA,L]
# TOPIC
RewriteRule ^forums/topic([0-9]+)\.html$ forums/viewtopic.php?t=$1 [QSA,L]
# POST
RewriteRule ^forums/post([0-9]+)\.html$ forums/viewtopic.php?p=$1 [QSA,L]
#PROFILES
RewriteRule ^forums/member([0-9]+)\.html$ forums/profile.php?mode=viewprofile&u=$1 [QSA,L]
# END PHPBB PAGES
#####################################################
RewriteCond %{HTTP_HOST} ^aglococash.org [nc]
RewriteRule (.*) http://www.aglococash.org/$1 [R=301,L] |
|
|
|
| Back to top |
|
 |
tek428
Joined: 05 Feb 2007 Posts: 4
|
Posted: Mon Feb 05, 2007 12:57 pm Post subject: Re: Help please! |
|
|
ok, so if I take the WORDPRESS part of my htaccess the optimization stuff works just fine.
Any idea as to why this isn't working with the wordpress part in my htaccess file?  |
|
|
| Back to top |
|
 |
tek428
Joined: 05 Feb 2007 Posts: 4
|
Posted: Mon Feb 05, 2007 1:16 pm Post subject: Re: Help please! |
|
|
I put the wordpress stuff at the bottom of my htaccess, and now both wordpress SEO and phpbb SEO are working.
Now, can anyone tell me why that made it work?  |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 14779
|
Posted: Tue Feb 06, 2007 11:37 am Post subject: Re: Help please! |
|
|
And welcome
What a self support you did
Anyway, it's just a matter of order in the rewriterules, it can sometime be crucial.
In this case, the wordpress rewriterule should as a matter of fact be at the bottom of the .htaccess, just because it's matching pretty much everything and thus bypasses the other rewriterules.
The phpBB SEO ones are pretty strict and do only match what they should, so they do not cause problem to wordpress rewriting.
In the end your .htaccess should be :
| Code: | RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^aglococash.org [nc]
RewriteRule (.*) http://www.aglococash.org/$1 [R=301,L]
#########################################################
# PHPBB SEO REWRITE RULES #
#########################################################
# AUTHOR : DCZ http://www.phpbb-seo.com/
# STARTED : 01/2006
#####################################################
# FORUMS PAGES
########################
# FORUM INDEX (un-comment if used)
RewriteRule ^forums/index\.html$ forums/index.php [QSA,L]
# FORUM PROTECTION RULE
RewriteRule ^forums/.*/([^/]+\.html)$ forums/index.php [R=301,L]
# CATEGORIES
RewriteRule ^forums/.*-c([0-9]+)\.html$ forums/index.php?c=$1 [QSA,L]
# PAGINATED FORUM
RewriteRule ^forums/.*-f([0-9]+)-([0-9]+)\.html$ forums/viewforum.php?f=$1&start=$2 [QSA,L]
# FORUM
RewriteRule ^forums/.*-f([0-9]+)\.html$ forums/viewforum.php?f=$1 [QSA,L]
# PAGINATED TOPIC
RewriteRule ^forums/topic([0-9]+)-([0-9]+)\.html$ forums/viewtopic.php?t=$1&start=$2 [QSA,L]
# TOPIC
RewriteRule ^forums/topic([0-9]+)\.html$ forums/viewtopic.php?t=$1 [QSA,L]
# POST
RewriteRule ^forums/post([0-9]+)\.html$ forums/viewtopic.php?p=$1 [QSA,L]
#PROFILES
RewriteRule ^forums/member([0-9]+)\.html$ forums/profile.php?mode=viewprofile&u=$1 [QSA,L]
# END PHPBB PAGES
#####################################################
# BEGIN WordPress
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# END WordPress |
++ |
_________________ Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________
Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche |
|
| Back to top |
|
 |
opaa
Joined: 12 May 2007 Posts: 1
|
Posted: Tue May 15, 2007 11:14 pm Post subject: Re: Help please! |
|
|
thanks - i had the same problem . now it works very fine . |
|
|
| Back to top |
|
 |
|
|
|
|
|
| |
|
|
|
|
| |
|
|
|
|
| |