phpBB SEO
Boards
Directory  
SEO  
Downloads
  phpBB SEO : Search Engine Optimization, Directory, Forums  
Index
Forums
Annuaire
Référencement
Télécharger
 
  Search Rechercher
    Register
Username :  Password :  Log me on automatically each visit  
S'enregistrer  
 
   
please help with the 404 and htacess

 
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB3 mod Rewrite  » Advanced SEO URL
::  
Author Message
janmyszkier



Joined: 12 Oct 2007
Posts: 43
Location: Wroclaw, Poland.

please help with the 404 and htacessPosted: 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
Administrateur - Site Admin


Joined: 28 Apr 2006
Posts: 15242

please help with the 404 and htacessPosted: Sun Dec 23, 2007 7:56 pm    Post subject: Re: please help with the 404 and htacess

Right now, the site seems down. Since it looks like dealing with redirecting, try to deactivate the zero dupe.

And this .htaccess is intended to be used in the domain's root dir, eg one level above the trafficXs_forum/ dir.

Remember you may need to generate a new .htaccess when you change settings.

++

_________________
Useful links :
SEO Forum || SEO Directory || SEO phpBB || SEO phpBB3 || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Référencement phpBB3 || Recherche
Back to top
Visit poster's website
janmyszkier



Joined: 12 Oct 2007
Posts: 43
Location: Wroclaw, Poland.

please help with the 404 and htacessPosted: 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
Display posts from previous:   
Post new topic   Reply to topic    phpBB SEO » SEO Forum  » phpBB3 mod Rewrite  » Advanced SEO URL
Page 1 of 1

Navigation Similar Topics

Jump to: