taki
Kod
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} !(.*)/$
RewriteRule ^(.*)$ http://%{HTTP_HOST}/$1/ [L,R=301]
RewriteRule ^([-_!~,;*'()$a-zA-Z0-9]+),k,([0-9]+)/ index.php?action=cat&id=$2 [L]
RewriteRule ^([-_!~,;*'()$a-zA-Z0-9]+)/([-_!~,;*'()$a-zA-Z0-9]+),p,([0-9]+)/strona,([0-9]+)/ index.php?action=sub&id=$3&page=$4 [L]
RewriteRule ^([-_!~,;*'()$a-zA-Z0-9]+)/([-_!~,;*'()$a-zA-Z0-9]+),p,([0-9]+)/ index.php?action=sub&id=$3&page=1 [L]
RewriteRule ^([-_!~,;*'()$a-zA-Z0-9]+)/([-_!~,;*'()$a-zA-Z0-9]+),s,([0-9]+)/ index.php?action=site&id=$3 [L]
RewriteRule ^szukaj,(.+)/strona,([0-9]+)/ index.php?action=search&search=$1&page=$2 [L]
RewriteRule ^szukaj,(.+)/ index.php?action=search&search=$1&page=1 [L]
RewriteRule ^tag,(.+)/strona,([0-9]+)/ index.php?action=tag&tag=$1&page=$2 [L]
RewriteRule ^tag,(.+)/ index.php?action=tag&tag=$1&page=1 [L]
RewriteRule ^pr,([0-9]+)/strona,([0-9]+)/ index.php?action=pr&pr=$1&page=$2 [L]
RewriteRule ^pr,([0-9]+)/ index.php?action=pr&pr=$1&page=1 [L]
RewriteRule ^rules/ index.php?action=rules [L]
RewriteRule ^help/ index.php?action=info [L]
RewriteRule ^new,listings/ index.php?action=new [L]
RewriteRule ^hot,listings/ index.php?action=pop [L]
RewriteRule ^top,rated/ index.php?action=top [L]
RewriteRule ^friends/ index.php?action=friends [L]
RewriteRule ^map,of,directory/ index.php?action=map [L]
RewriteRule ^contact/ index.php?action=contact [L]
RewriteRule ^add,site/ index.php?action=global_add [L]
RewriteRule ^regulamin/ index.php?action=rules [L]
RewriteRule ^jak,dodac,wpis/ index.php?action=info [L]
RewriteRule ^najnowsze/ index.php?action=new [L]
RewriteRule ^popularne/ index.php?action=pop [L]
RewriteRule ^najlepsze/ index.php?action=top [L]
RewriteRule ^przyjaciele/ index.php?action=friends [L]
RewriteRule ^mapa,katalogu/ index.php?action=map [L]
RewriteRule ^kontakt/ index.php?action=contact [L]
RewriteRule ^dodaj,strone/ index.php?action=global_add [L]
Nikt nie jest w stanie pomóc? Co się dzieje? To nie wina pliku .htacces, wywalałem go i to nic nie daje. Pliki html ładują się poprawnie a apache zmienia adresy wszystkich stron na localhost.
WPiszcie sobię domenę
http://notesforfree.com - miałem taką na zbyciu,podpiąłem pod swój ip i co?! :<