| |
| |
|
|
|
|
| |
|
| |
|
| :: |
| Author |
Message |
janmyszkier
Joined: 12 Oct 2007 Posts: 43 Location: Wroclaw, Poland.
|
Posted: Sun Dec 23, 2007 7:50 pm Post subject: please help with the 404 and htacess |
|
|
we have the forum:
http://trafficxs.com/trafficXs_forum/
and here's the htaccess, however rewriting doesn't work as supposed to.
| Code: |
# 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 ^/trafficXs_forum/forum\.html$ /trafficXs_forum/index.php [QSA,L,NC]
# FORUM
RewriteRule ^/trafficXs_forum/[a-z0-9_-]*-f([0-9]+)(-([0-9]+))?\.html$ /trafficXs_forum/viewforum.php?f=$1&start=$3 [QSA,L,NC]
# TOPIC WITH VIRTUAL FOLDER
RewriteRule ^/trafficXs_forum/[a-z0-9_-]*-f([0-9]+)/[a-z0-9_-]*-t([0-9]+)(-([0-9]+))?\.html$ /trafficXs_forum/viewtopic.php?f=$1&t=$2&start=$4 [QSA,L,NC]
# GLOBAL ANNOUNCES WITH VIRTUAL FOLDER
RewriteRule ^/trafficXs_forum/announces/[a-z0-9_-]*-t([0-9]+)(-([0-9]+))?\.html$ /trafficXs_forum/viewtopic.php?t=$1&start=$3 [QSA,L,NC]
# TOPIC WITHOUT FORUM ID & DELIM
RewriteRule ^/trafficXs_forum/[a-z0-9_-]*/?[a-z0-9_-]*-t([0-9]+)(-([0-9]+))?\.html$ /trafficXs_forum/viewtopic.php?t=$1&start=$3 [QSA,L,NC]
# PROFILES THROUGH USERNAME
RewriteRule ^/trafficXs_forum/member/([^/]+)/?$ /trafficXs_forum/memberlist.php?mode=viewprofile&un=$1 [QSA,L,NC]
# USER MESSAGES THROUGH USERNAME
RewriteRule ^/trafficXs_forum/messages/([^/]+)/?(page([0-9]+)\.html)?$ /trafficXs_forum/search.php?author=$1&sr=posts&start=$3 [QSA,L,NC]
# GROUPS ADVANCED
RewriteRule ^/trafficXs_forum/[a-z0-9_-]*-g([0-9]+)(-([0-9]+))?\.html$ /trafficXs_forum/memberlist.php?mode=group&g=$1&start=$3 [QSA,L,NC]
# POST
RewriteRule ^/trafficXs_forum/post([0-9]+)\.html$ /trafficXs_forum/viewtopic.php?p=$1 [QSA,L,NC]
# THE TEAM
RewriteRule ^/trafficXs_forum/the-team\.html$ /trafficXs_forum/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 ^/trafficXs_forum/[a-z0-9_-]+(-([0-9]+))?\.html$ /trafficXs_forum/viewforum.php?start=$2 [QSA,L,NC]
# END PHPBB PAGES
#####################################################
|
Let me know your thoughts |
|
|
| Back to top |
|
 |
|
 |
dcz Administrateur - Site Admin

Joined: 28 Apr 2006 Posts: 15242
|
|
| Back to top |
|
 |
janmyszkier
Joined: 12 Oct 2007 Posts: 43 Location: Wroclaw, Poland.
|
Posted: Sun Dec 23, 2007 8:15 pm Post subject: Re: please help with the 404 and htacess |
|
|
htaccess is in root already zero dupe deactivated , still no luck :/
ok this is where phpinfo comes handy, seems host dosn't support it |
|
|
| Back to top |
|
 |
|
| Navigation |
Similar Topics |
|
|
|
|
|
|
|
| |
|
|
|
|
| |
|
|
|
|
| |