Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: adreso keitimas..

Parašė Enzo· 2008 Sau. 24 18:01:52
#13

Na jei nesupranti imetu koda

RewriteEngine On
RewriteBase /

RewriteCond %{QUERY_STRING} ^prod=([^&]+)$
RewriteRule ^.*$ /%.htm [R=301,L]

RewriteRule ^naujiena,id:([A-Za-z0-9-]+)$ news.php?readmore=$1 [L]
RewriteRule ^puslapis,id:([A-Za-z0-9-]+)$ viewpage.php?page_id=$1 [L]
RewriteRule ^narys,([A-Za-z0-9-]+)$ profile.php?lookup=$1 [L]
RewriteRule ^narys,grupe,id:([A-Za-z0-9-]+)$ profile.php?group_id=$1 [L]
RewriteRule ^narys,([A-Za-z0-9-]+):vertinimai$ profile.php?lookup=$1&v=r [L]
RewriteRule ^kategorija,id:([A-Za-z0-9-]+)$ news_cats.php?cat_id=$1 [L]
RewriteRule ^straipsnis,id:([A-Za-z0-9-]+)$ readarticle.php?article_id=$1 [L]
RewriteRule ^duk,id:([A-Za-z0-9-]+)$ faq.php?cat_id=$1 [L]
RewriteRule ^nuotrauka,id:([A-Za-z0-9-]+)$ photogallery.php?photo_id=$1 [L]
RewriteRule ^kat,id:([A-Za-z0-9-]+)$ articles.php?cat_id=$1 [L]

RewriteRule ^naujienos$ news.php [L]
RewriteRule ^forumas$ forum/index.php [L]
RewriteRule ^komentarai$ comments.php [L]
RewriteRule ^registruotis$ register.php [L]
RewriteRule ^paieska$ search.php [L]
RewriteRule ^forumas$ forum/index.php [L]
RewriteRule ^namai$ index.php [L]
RewriteRule ^slaptazodis$ lostpassword.php [L]
RewriteRule ^atsijungti$ setuser.php?logout=yes [L]
RewriteRule ^nariai$ members.php [L]
RewriteRule ^zinutes$ messages.php [L]
RewriteRule ^aprasymas$ edit_profile.php [L]
RewriteRule ^nuorodos$ weblinks.php [L]
RewriteRule ^siulyti?naujiena$ submit.php?stype=n [L]
RewriteRule ^siulyti?linka$ submit.php?stype=l [L]
RewriteRule ^siulyti?foto$ submit.php?stype=p [L]
RewriteRule ^siulyti?straipsni$ submit.php?stype=a [L]
RewriteRule ^pateikti$ submit.php [L]
RewriteRule ^straipsniai$ articles.php [L]
RewriteRule ^duk$ faq.php [L]
RewriteRule ^kategorijos$ news_cats.php [L]
RewriteRule ^kontaktai$ contact.php [L]
RewriteRule ^galerija$ photogallery.php [L]
RewriteRule ^apklausa$ balsavimas.php [L]
RewriteRule ^siuntiniai$ downloads.php [L]



RewriteCond %{HTTP_USER_AGENT} Wget [OR]
RewriteCond %{HTTP_USER_AGENT} CherryPickerSE [OR]
RewriteCond %{HTTP_USER_AGENT} CherryPickerElite [OR]
RewriteCond %{HTTP_USER_AGENT} EmailCollector [OR]
RewriteCond %{HTTP_USER_AGENT} EmailSiphon [OR]
RewriteCond %{HTTP_USER_AGENT} EmailWolf [OR]
RewriteCond %{HTTP_USER_AGENT} ExtractorPro
RewriteRule ^.*$ X.html [L]

RewriteEngine on RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://(www\.)?gamer.xz.lt/.*$ [NC] RewriteRule \.(gif|jpg|png|GIF|JPG|PNG)$ - [F]




Cia atsidaryk notepad tada idek sita koda spausk save as ir pasirink all types ir rasyk .htaccess

Redagavo Enzo· 2008 Sau. 24 18:01:10