Registrieren Hilfe Suche Mitgliederliste Wer ist online? Einloggen
Willkommen bei Tritanium Community! Falls dies Ihr erster Besuch hier ist, lesen Sie sich bitte die Hilfe mit den häufigsten Fragen und ausführlichen Erklärungen durch! Falls Sie an den Diskussionen teilnehmen wollen, sollten Sie sich registrieren oder, falls Sie das schon getan haben, sich einloggen. Wir wünschen Ihnen viel Spaß!

Tritanium Community » Other Languages » English » How can I rewrite the url for tbb forum?

Seiten (1) [1] Neue Antwort erstellenNeues Thema erstellen

Autor Thema: How can I rewrite the url for tbb forum?
Ganz neu hier

ID # 2979

How can I rewrite the url for tbb forum?
I want to rewrite the url for tbb, use the file .htaccesse. I read this document but don't known how to rewite. Who can help me to do it?

Thanks in advance

Please admin add the translate google on this site to help guest of another contrys.
my site:
Geposted: 30.01.2009 08:57

ID # 1

Re: How can I rewrite the url for tbb forum?

this is for the TBB2 but it should also work for the TBB1 in a similar way:

This example is for this board, so you probably have to adapt some values:

RewriteEngine on
RewriteBase   /community/
RewriteRule  ^forum/([0-9]+)$ index.php?action=ViewForum&forumID=$1 [L]
RewriteRule  ^forum/(.*)$ $1 [L]

What does this mean?
Line 1: Enable rewriting
Line 2: The board is located in the folder "community" ( community /...)
Line 3: URIs of the form "forum/somenumber" are replaced by index.php?action=ViewForum&forumID=somenumber. This means you can go to forum/21 and you are (invisibly) redirected to index.php?action=ViewForum&forumID=21 .
Line 4: For everything else (e.g. urls to images etc.) we have to delete the "forum" prefix. This is important for relative paths produced by the call to because you webbrowser thinks you are in the subfolder "forum".

You can see the result of this file by going to

And sorry for the language problems, I'm working on it....

tritanium scripts developer
my private homepage
Geposted: 31.01.2009 14:01

Seiten (1) [1] Neue Antwort erstellenNeues Thema erstellen
Tritanium Bulletin Board 2
© Tritanium Scripts