| |
| |
|
|
|
|
| |
|
| |
|
| :: |
| Author |
Message |
scarbo
Joined: 04 Mar 2008 Posts: 2
|
Posted: Tue Mar 04, 2008 9:35 pm Post subject: 404 error on every page |
|
|
Hello,
my forum is in /forum folder, and .htaccess is in root.
Here is .htaccess:
| Code: | <IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# You could need to un-comment the following line
# Options +FollowSymlinks
RewriteEngine On
RewriteBase /
#########################################################
# 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$ /forum/index.php [QSA,L,NC]
# FORUM PROTECTION RULE
RewriteRule ^/forum/[a-z0-9_-]*/([^/]+\.html)$ /forum/index.php [R=301,L,NC]
# CATEGORIES
RewriteRule ^/forum/[a-z0-9_-]*-c([0-9]+)\.html$ /forum/index.php?c=$1 [QSA,L,NC]
# PAGINATED FORUM
RewriteRule ^/forum/[a-z0-9_-]*-f([0-9]+)-([0-9]+)\.html$ /forum/viewforum.php?f=$1&start=$2 [QSA,L,NC]
# FORUM
RewriteRule ^/forum/[a-z0-9_-]*-f([0-9]+)\.html$ /forum/viewforum.php?f=$1 [QSA,L,NC]
# PAGINATED TOPIC
RewriteRule ^/forum/[a-z0-9_-]*-t([0-9]+)-([0-9]+)\.html$ /forum/viewtopic.php?t=$1&start=$2 [QSA,L,NC]
# TOPIC
RewriteRule ^/forum/[a-z0-9_-]*-t([0-9]+)\.html$ /forum/viewtopic.php?t=$1 [QSA,L,NC]
# POST
RewriteRule ^/forum/post([0-9]+)\.html$ /forum/viewtopic.php?p=$1 [QSA,L,NC]
#PROFILES
RewriteRule ^/forum/member([0-9]+)\.html$ /forum/profile.php?mode=viewprofile&u=$1 [QSA,L,NC]
# END PHPBB PAGES
#####################################################
|
Somebody help, please?
Thank you |
|
|
| Back to top |
|
 |
|
 |
HB phpBB SEO Team

Joined: 16 Oct 2006 Posts: 831
|
Posted: Wed Mar 05, 2008 1:53 am Post subject: Re: 404 error on every page |
|
|
| Try removing the leading slash from the match pattern (^/forum/ -> ^forum/). |
_________________ Dan Kehn |
|
| Back to top |
|
 |
scarbo
Joined: 04 Mar 2008 Posts: 2
|
Posted: Wed Mar 05, 2008 8:28 pm Post subject: Re: 404 error on every page |
|
|
No
I turned off this mod in sessions.php so link in forum appear in normal way; but this is what I see when I turn it on:
http://www.st-tulum.com/forum/st-portal-com-f1.html
So, when I try to access any forum page with these links, browser returns me to root folder
Is it htaccess problem or what?
Thank you,
Ante |
|
|
| Back to top |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15242
|
|
| Back to top |
|
 |
|
| Navigation |
Similar Topics |
|
|
|
|
|
|
|
| |
|
|
|
|
| |
|
|
|
|
| |