Problem: 404 Page not found

Discussions and support about the different URL Rewriting techniques for phpBB.

Moderator: Moderators

Problem: 404 Page not found

Postby apeee » Tue Nov 06, 2007 11:55 am

Hi! I have downloaded and installed phpBB3-SEO-Premod_V_3-0-RC7, but getting 404 error page. Can anyone please HELP me know why I'm getting so. And where should I keep the .htaccess file in website.

The .htaccess that is currently being used is:

Code: Select all
# Lines That should already be in your .htacess
<Files "config.php">
Order Allow,Deny
Deny from All
</Files>
<Files "common.php">
Order Allow,Deny
Deny from All
</Files>

# 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 ^forums/forum\.html$ /forums/index.php [QSA,L,NC]
# FORUM
RewriteRule ^forums/[a-z0-9_-]*-f([0-9]+)(-([0-9]+))?\.html$ /forums/viewforum.php?f=$1&start=$3 [QSA,L,NC]
# TOPIC WITH VIRTUAL FOLDER
RewriteRule ^forums/[a-z0-9_-]*-f([0-9]+)/[a-z0-9_-]*-t([0-9]+)(-([0-9]+))?\.html$ /forums/viewtopic.php?f=$1&t=$2&start=$4 [QSA,L,NC]
# GLOBAL ANNOUNCES WITH VIRTUAL FOLDER
RewriteRule ^forums/announces/[a-z0-9_-]*-t([0-9]+)(-([0-9]+))?\.html$ /forums/viewtopic.php?t=$1&start=$3 [QSA,L,NC]
# TOPIC WITHOUT FORUM ID & DELIM
RewriteRule ^forums/[a-z0-9_-]*/?[a-z0-9_-]*-t([0-9]+)(-([0-9]+))?\.html$ /forums/viewtopic.php?t=$1&start=$3 [QSA,L,NC]
# POST
RewriteRule ^forums/post([0-9]+)\.html$ /forums/viewtopic.php?p=$1 [QSA,L,NC]
#PROFILES
RewriteRule ^forums/member([0-9]+)\.html$ /forums/memberlist.php?mode=viewprofile&u=$1 [QSA,L,NC]
# THE TEAM
RewriteRule ^forums/the-team\.html$ /forums/memberlist.php?mode=leaders [QSA,L,NC]
# 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
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule ^forums/[a-z0-9_-]+(-([0-9]+))?\.html$ /forums/viewforum.php?start=$2 [QSA,L,NC]
# END PHPBB PAGES
#####################################################
Last edited by apeee on Tue Nov 06, 2007 2:50 pm, edited 1 time in total.
apeee
PR0
PR0
 
Posts: 60
Joined: Tue Nov 06, 2007 11:47 am

Advertisement

Postby apeee » Tue Nov 06, 2007 2:50 pm

sorry..tried myself and got the solution....just copied the .htaccess to root
apeee
PR0
PR0
 
Posts: 60
Joined: Tue Nov 06, 2007 11:47 am


Return to phpBB mod Rewrite

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: Google [Bot] and 11 guests