File not found error

phpBB2 SEO Mixed mod Rewrite support forum.
This mods performs URL rewriting for phpBB, injecting categories and forums titles in their URLs, but keeping a static rewriting for topics.

Moderator: Moderators

File not found error

Postby Matthew » Thu Dec 13, 2007 8:23 pm

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
Matthew
 
Posts: 2
Joined: Thu Dec 13, 2007 8:20 pm

Advertisement

Postby Matthew » Thu Dec 13, 2007 8:25 pm

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
Matthew
 
Posts: 2
Joined: Thu Dec 13, 2007 8:20 pm


Return to phpBB2 Mixed mod rewrite

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 1 guest