I have a problem! Please help me...

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

Moderator: Moderators

Postby MorYeL » Fri Sep 01, 2006 1:55 pm

lavinya helped me :D

Thanks for your kind... Regards...
MorYeL
PR0
PR0
 
Posts: 99
Joined: Fri Aug 11, 2006 12:13 pm

Advertisement

Postby dcz » Fri Sep 01, 2006 2:28 pm

Cool :D

What was the problem just in case it could be useful to other to find out how you fixed it ?

++
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21407
Joined: Fri Apr 28, 2006 9:03 pm

Postby lavinya » Fri Sep 01, 2006 3:03 pm

:shock:

moryel try

Code: Select all

RewriteEngine On
RewriteRule ^.+/([^/]+\.html)$ index.php [R=301,L]
# CATEGORIES
RewriteRule ^.+-vc([0-9]+)\.html$ index.php?c=$1 [QSA,L]
# PAGINATED FORUM
RewriteRule ^.+-vf([0-9]+)-([0-9]+)\.html$ viewforum.php?f=$1&start=$2 [QSA,L]
# FORUM
RewriteRule ^.+-vf([0-9]+)\.html$ viewforum.php?f=$1 [QSA,L]
# PAGINATED TOPIC
RewriteRule ^.+-vt([0-9]+)-([0-9]+)\.html$ viewtopic.php?t=$1&start=$2 [QSA,L]
# TOPIC
RewriteRule ^.+-vt([0-9]+)\.html$ viewtopic.php?t=$1 [QSA,L]
# POST
RewriteRule ^post([0-9]+)\.html$ viewtopic.php?p=$1 [QSA,L]
#PROFILES
RewriteRule ^member([0-9]+)\.html$ profile.php?mode=viewprofile&u=$1 [QSA,L]



remove /

because apache 301 red... oto add /
and options line remove because if it doesn't work added code.
and remove rewritebase because rewrite base is not neccessary new version of apache ... so it isn't neccessary.. :wink:
User avatar
lavinya
PR1
PR1
 
Posts: 167
Joined: Mon Jul 24, 2006 9:05 am
Location: Turkey

Postby dcz » Fri Sep 01, 2006 3:15 pm

All right nothing serious then, just small tweaks around the server config.

Thanks to have helped ;)

++
Useful links :
SEO Forum || SEO Directory || SEO phpBB || Search
____________________

Liens Utiles :
Forum référencement || Annuaire référencement || Référencement phpBB || Recherche
dcz
Admin
Admin
 
Posts: 21407
Joined: Fri Apr 28, 2006 9:03 pm

Previous

Return to phpBB2 mod Rewrite

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 1 guest