| |
| |
|
|
|
|
| |
|
| |
|
| :: |
| Author |
Message |
Matthew
Joined: 13 Dec 2007 Posts: 2
|
Posted: Thu Dec 13, 2007 8:23 pm Post subject: File not found error |
|
|
I am experiencing the same problem that others have faced, but the solutions to their problems have not help me in this case.
I am a little familiar with .htaccess, and even have some other things written for other parts of my website. However, I can't get the forum to work, and keep getting 404 errors when I click on topics or forums.
Here is my .htaccess file:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^rawmaterials/(.*)/(.*).html rawmaterials/raw.php?a=$1&id=$2
#########################################################
# 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$ /phpbb/index.php [QSA,L,NC]
# FORUM PROTECTION RULE
# RewriteRule ^forum/[a-z0-9_-]+/([^/]+\.html)$ /phpbb/index.php [R=301,L,NC]
# CATEGORIES
RewriteRule ^forum/[a-z0-9_-]*-c([0-9]+)\.html$ /phpbb/index.php?c=$1 [QSA,L,NC]
# PAGINATED FORUM
RewriteRule ^forum/[a-z0-9_-]*-f([0-9]+)-([0-9]+)\.html$ /phpbb/viewforum.php?f=$1&start=$2 [QSA,L,NC]
# FORUM
RewriteRule ^forum/[a-z0-9_-]*-f([0-9]+)\.html$ /phpbb/viewforum.php?f=$1 [QSA,L,NC]
# PAGINATED TOPIC
RewriteRule ^forum/topic([0-9]+)-([0-9]+)\.html$ /phpbb/viewtopic.php?t=$1&start=$2 [QSA,L,NC]
# TOPIC
RewriteRule ^forum/topic([0-9]+)\.html$ /phpbb/viewtopic.php?t=$1 [QSA,L,NC]
# POST
RewriteRule ^forum/post([0-9]+)\.html$ /phpbb/viewtopic.php?p=$1 [QSA,L,NC]
#PROFILES
RewriteRule ^forum/member([0-9]+)\.html$ /phpbb/profile.php?mode=viewprofile&u=$1 [QSA,L,NC]
# END PHPBB PAGES
#####################################################
RewriteCond %{HTTP_HOST} ^miniwargaming\.com$ [NC]
RewriteRule ^(.*) http://www.miniwargaming.com/$1 [QSA,L,R=301]
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
Any ideas what is wrong?
Thanks!
Matthew |
|
|
| Back to top |
|
 |
|
 |
Matthew
Joined: 13 Dec 2007 Posts: 2
|
Posted: Thu Dec 13, 2007 8:25 pm Post subject: Re: File not found error |
|
|
Ah! Nevermind!
I found out the problem.
I didn't change the "phpbb" to "forum" in the second part of each of the rewrites.
Thanks anyway!
Matthew |
|
|
| Back to top |
|
 |
|
| Navigation |
Similar Topics |
|
|
|
|
|
|
|
| |
|
|
|
|
| |
|
|
|
|
| |