Parašė nuken· 2010 Vas. 6 09:02:46
#8
tu pridrukas,
RewriteEngine On
RewriteBase /
##sitemap.php
RewriteRule ^sitemap$ sitemap.php
##articles.php
RewriteRule ^artikel/([0-9]+)/[^/]*$ readarticle.php?article_id=$1 [L]
RewriteRule ^artikel_kategorie/([0-9]+)/[^/]*$ articles.php?cat_id=$1 [L]
RewriteRule ^artikel$ articles.php
##downloads.php
RewriteRule ^downloads/([0-9]+)/[^/]*/out/([0-9]+)$ downloads.php?cat_id=$1&download_id=$2 [L]
RewriteRule ^downloads/([0-9]+)/[^/]*$ downloads.php?cat_id=$1 [L]
RewriteRule ^downloads$ downloads.php
##weblinks.php
RewriteRule ^links/([0-9]+)/[^/]*/out/([0-9]+)$ weblinks.php?cat_id=$1&weblink_id=$2 [L]
RewriteRule ^links/([0-9]+)/[^/]*$ weblinks.php?cat_id=$1 [L]
RewriteRule ^links$ weblinks.php
##news.php & news_cats.php
RewriteRule ^news.html$ news.php
RewriteRule ^news/([0-9]+)/[^/]*$ news.php?readmore=$1 [L]
RewriteRule ^news_kategorie/([0-9]+)/[^/]*$ news_cats.php?cat_id=$1 [L]
RewriteRule ^news$ news_cats.php
RewriteRule ^news.html$ news.php
##faq.php
RewriteRule ^faq/([0-9]+)/[^/]*$ faq.php?cat_id=$1 [L]
RewriteRule ^faq$ faq.php
##photogallery.php
RewriteRule ^album/([0-9]+)/[^/]*$ photogallery.php?album_id=$1 [L]
RewriteRule ^foto/([0-9]+)/[^/]*$ photogallery.php?photo_id=$1 [L]
RewriteRule ^galerie$ photogallery.php
##members.php
RewriteRule ^user$ members.php
##setuser.php
RewriteRule ^logout$ setuser.php?logout=yes
##messages.php
RewriteRule ^nachrichten$ messages.php
##contact.php
RewriteRule ^kontakt$ contact.php
##search.php
RewriteRule ^suche$ search.php
##submit.php
RewriteRule ^einsenden/foto$ submit.php?stype=p
RewriteRule ^einsenden/artikel$ submit.php?stype=a
RewriteRule ^einsenden/news$ submit.php?stype=n
RewriteRule ^einsenden/link$ submit.php?stype=l
##profile.php & edit_profile.php
RewriteRule ^user/([0-9]+)/([-_0-9a-zA-Z]*)/profil_aendern$ edit_profile.php [L]
RewriteRule ^user/([0-9]+)/([-_0-9a-zA-Z]*)$ profile.php?lookup=$1 [L]
RewriteRule ^gruppe/([0-9]+)/([-_0-9a-zA-Z]*)$ profile.php?group_id=$1 [L]
##register.php
RewriteRule ^user/register$ register.php
##lostpassword.php
RewriteRule ^user/passwort_verloren$ lostpassword.php
neišvertei. :S