| |
| |
|
|
|
|
| |
|
| |
|
| :: |
| Author |
Message |
Feodaron
Joined: 12 Mar 2008 Posts: 2
|
Posted: Wed Mar 12, 2008 10:54 pm Post subject: Error 404 still |
|
|
Hello,
first, I want to excuse for my English, it isnt good.
Second, I want to ask you for help me with a problem.
I have installed phpbb3 seo premod forum and I want to use simple rewrite mod.
But I have still problem with error 404. Every time, if I try rewrited URL (for example - forum2.html), server gives me error 404.
I tried generate .htaccess many times, but I have problem still.
I am sure, that mod_rewrite is available on my hosting.
Forum is located in localhost/root/ and I am giving .htaccess to localhost/.
Thank you.
This is my htaccess file and my forum is on http://mmorpg-on.cz/root/
| Code: | # 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 - SIMPLE
#####################################################
# 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 ^root/forum\.html$ /root/index.php [QSA,L,NC]
# FORUM
RewriteRule ^root/forum([0-9]+)/?(page([0-9]+)\.html)?$ /root/viewforum.php?f=$1&start=$3 [QSA,L,NC]
# TOPIC WITH VIRTUAL FOLDER
RewriteRule ^root/forum([0-9]+)/topic([0-9]+)(-([0-9]+))?\.html$ /root/viewtopic.php?f=$1&t=$2&start=$4 [QSA,L,NC]
# GLOBAL ANNOUNCES WITH VIRTUAL FOLDER
RewriteRule ^root/announces/topic([0-9]+)(-([0-9]+))?\.html$ /root/viewtopic.php?t=$1&start=$3 [QSA,L,NC]
# TOPIC WITHOUT FORUM ID & DELIM
RewriteRule ^root/[a-z0-9_-]*/?topic([0-9]+)(-([0-9]+))?\.html$ /root/viewtopic.php?t=$1&start=$3 [QSA,L,NC]
# PROFILES THROUGH USERNAME
RewriteRule ^root/member/([^/]+)/?$ /root/memberlist.php?mode=viewprofile&un=$1 [QSA,L,NC]
# USER MESSAGES THROUGH USERNAME
RewriteRule ^root/messages/([^/]+)/?(page([0-9]+)\.html)?$ /root/search.php?author=$1&sr=posts&start=$3 [QSA,L,NC]
# GROUPS ADVANCED
RewriteRule ^root/[a-z0-9_-]*-g([0-9]+)(-([0-9]+))?\.html$ /root/memberlist.php?mode=group&g=$1&start=$3 [QSA,L,NC]
# POST
RewriteRule ^root/post([0-9]+)\.html$ /root/viewtopic.php?p=$1 [QSA,L,NC]
# THE TEAM
RewriteRule ^root/the-team\.html$ /root/memberlist.php?mode=leaders [QSA,L,NC]
# HERE IS A GOOD PLACE TO ADD OTHER PHPBB RELATED REWRITERULES
# END PHPBB PAGES
##################################################### |
|
|
|
| Back to top |
|
 |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 13994
|
|
| Back to top |
|
 |
Feodaron
Joined: 12 Mar 2008 Posts: 2
|
Posted: Sun Mar 23, 2008 2:46 pm Post subject: Re: Error 404 still |
|
|
| dcz wrote: | mm, make sure you do not have any .htaccess in the root/ dir.
|
It was my problem. Now it is ok.
Thanks a lot for help. |
|
|
| Back to top |
|
 |
|
| Navigation |
Similar Topics |
|
|
|
|
|
|
|
| |
|
|
|
|
| |
|
|
|
|
| |