Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)

Paste

Pasted as Plain Text by gyhdt ( 12 years ago )
RewriteEngine On

# ZMIEN SCIEZKE, JESLI TWOJA STRONA ZNAJDUJE SIE W PODKATALOGU
# PRZYKLAD: RewriteBase /moja/fajna/strona/

RewriteBase /

## ARTICLES ##
RewriteRule ^drukuj_artykul-([0-9]+)-([a-z0-9_]+)\.html$ print.php?type=A&item;_id=$1 [L]
RewriteRule ^artykul-([0-9]+)-([a-z0-9_]+)-strona-([0-9]+)\.html$ articles.php?article_id=$1&rowstart;=$3&titleart;=$2 [L]
RewriteRule ^artykul-([0-9]+)-([a-z0-9_]+)\.html$ articles.php?article_id=$1&titleart;=$2 [L]
RewriteRule ^artykuly-([0-9]+)-([a-z0-9_]+)-od_artykulu-([0-9]+)\.html$ articles.php?cat_id=$1&rowstart;=$3&titlecat;=$2 [L]
RewriteRule ^artykuly-([0-9]+)-([a-z0-9_]+)\.html$ articles.php?cat_id=$1&titlecat;=$2 [L]
RewriteRule ^artykuly\.html$ articles.php [L]
## ## ## ## ##

## DOWNLOADS ##
RewriteRule ^pliki-([0-9]+)-([a-z0-9_]+)-plik-([0-9]+)\.html$ downloads.php?cat_id=$1&download;_id=$3 [L]
RewriteRule ^pliki-([0-9]+)-([a-z0-9_]+)-od_pliku-([0-9]+)\.html$ downloads.php?cat_id=$1&rowstart;=$3&titlecat;=$2 [L]
RewriteRule ^pliki-([0-9]+)-([a-z0-9_]+)\.html$ downloads.php?cat_id=$1&titlecat;=$2 [L]
RewriteRule ^pliki\.html$ downloads.php [L]
## ## ## ## ##

## FAQ ##
RewriteRule ^faq-([0-9]+)-([a-z0-9_]+)-od_faq-([0-9]+)\.html$ faq.php?cat_id=$1&rowstart;=$3&titlecat;=$2 [L]
RewriteRule ^faq-([0-9]+)-([a-z0-9_]+)\.html$ faq.php?cat_id=$1&titlecat;=$2 [L]
RewriteRule ^faq\.html$ faq.php [L]
## ## ## ## ##

## NEWS ##
RewriteRule ^drukuj_news-([0-9]+)-([a-z0-9_]+)\.html$ print.php?type=N&item;_id=$1 [L]
RewriteRule ^newsy_od-([0-9]+)\.html$ news.php?rowstart=$1 [L]
RewriteRule ^news-([0-9]+)-([a-z0-9_]+)\.html$ news.php?readmore=$1&titlenews;=$2 [L]
RewriteRule ^newsy\.html$ news.php [L]
RewriteRule ^kategoria_newsow-([0-9]+)-([a-z0-9_]+)\.html$ news_cats.php?cat_id=$1 [L]
RewriteRule ^kategorie_newsow\.html$ news_cats.php [L]
##

## PHOTOGALLERY ##
RewriteRule ^galeria_zdjec-([0-9]+)-([a-z0-9_]+)-od_zdjecia-([0-9]+)\.html$ photogallery.php?album_id=$1&rowstart;=$3&titlealbum;=$2 [L]
RewriteRule ^galeria_zdjec-([0-9]+)-([a-z0-9_]+)\.html$ photogallery.php?album_id=$1&titlealbum;=$2 [L]
RewriteRule ^zdjecie-([0-9]+)-([a-z0-9_]+)\.html$ photogallery.php?photo_id=$1 [L]
RewriteRule ^galeria_zdjec_od-([0-9]+)\.html$ photogallery.php?rowstart=$1 [L]
RewriteRule ^galeria_zdjec\.html$ photogallery.php [L]
## ## ## ## ##

## SUBMIT ##
RewriteRule ^dodaj_artykul\.html$ submit.php?stype=a [L]
RewriteRule ^dodaj_ciekawa_strone\.html$ submit.php?stype=l [L]
RewriteRule ^dodaj_news\.html$ submit.php?stype=n [L]
RewriteRule ^dodaj_zdjecie\.html$ submit.php?stype=p [L]
## ## ## ## ##

## USERS ##
RewriteRule ^profil_uzytkownika-([0-9]+)-([a-z0-9_]+)\.html$ profile.php?lookup=$1 [L]
RewriteRule ^grupa_uzytkownikow-([0-9]+)-([a-z0-9_]+)\.html$ profile.php?group_id=$1 [L]
## ## ## ## ##

## WEBLINKS ##
RewriteRule ^ciekawe_strony-([0-9]+)-([a-z0-9_]+)-strona-([0-9]+)\.html$ weblinks.php?cat_id=$1&weblink;_id=$3 [L]
RewriteRule ^ciekawe_strony-([0-9]+)-([a-z0-9_]+)\.html$ weblinks.php?cat_id=$1&titlecat;=$2 [L]
RewriteRule ^ciekawe_strony\.html$ weblinks.php [L]
## ## ## ## ##

## OTHERS ##
RewriteRule ^super/podstrona$ forum/viewthread.php?thread_id=27093 [L] 
RewriteRule ^kontakt\.html$ contact.php [L]
RewriteRule ^szukaj\.html$ search.php [L]
RewriteRule ^index\.html$ index.php [L]
RewriteRule ^zgubione haslo\.html$ lostpassword.php [L]
RewriteRule ^rejestracja\.html$ register.php [L]
RewriteRule ^archiwum_shoutboxa\.html$ infusions/shoutbox_panel/shoutbox_archive.php [L]
RewriteRule ^drukuj_temat-([0-9]+)-([a-z0-9_]+)\.html$ print.php?type=F&thread;=$1 [L]
RewriteRule ^drukuj_posta-([0-9]+)-nr-([0-9]+)-temat-([0-9]+)-([a-z0-9_]+)\.html$ print.php?type=F&thread;=$3&post;=$1&nr;=$2 [L]
## ## ## ## ##

 

Revise this Paste

Your Name: Code Language: