lostyazilim
tr.link

htaccess güvenlik önlemleri (Tek tıkla wordpress kurulumu için)

7 Mesajlar 1.410 Okunma
lstbozum
tr.link

pikshub pikshub WM Aracı E-Mail Onaysız
  • Üyelik 22.11.2015
  • Yaş/Cinsiyet 29 / E
  • Meslek Öğrenci
  • Konum İstanbul Avrupa
  • Ad Soyad Y** A**
  • Mesajlar 120
  • Beğeniler 25 / 39
  • Ticaret 3, (%100)
Geçen Wordpress'i digitalocean'da tek tıkla kurmuştuk. Şimdi htaccess dosyası ile güvenlik önlemleri alacağız.

PuTTY kullanarak root kullanıcısıyla giriş yapıyoruz (bundan Wordpress kurulumu yazısında bahsediyorum)

öncelikle wordpress'in yüklü olduğu dizine gidiyoruz:

cd /var/www/html

Daha sonra htaccess dosyasını açıyoruz:

nano .htaccess

htaccess dosyasında kısa bir Wordpress için bir kod göreceksiniz. #END wordpress kısmından sonra aşağıdaki kodu ekleyiniz:




order allow,deny
deny from all



RewriteEngine On
RewriteBase /
RewriteRule ^wp-admin/includes/ - [F,L]
RewriteRule !^wp-includes/ - [S=3]
RewriteRule ^wp-includes/[^/]+\.php$ - [F,L]
RewriteRule ^wp-includes/js/tinymce/langs/.+\.php - [F,L]
RewriteRule ^wp-includes/theme-compat/ - [F,L]



order allow,deny
deny from all
satisfy all



Deny from all



Order allow,deny
Deny from all
Satisfy All



RewriteEngine on
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?0n-line.tv.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?100dollars-seo.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?12masterov.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?1pamm.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?4webmasters.org.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?5forex.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?7makemoneyonline.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?acads.net.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?adcash.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?adf.ly.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?adspart.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?adventureparkcostarica.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?adviceforum.info.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?affordablewebsitesandmobileapps.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?afora.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?akuhni.by.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?alibestsale.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?allknow.info.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?allnews.md.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?allwomen.info.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?alpharma.net.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?altermix.ua.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?amt-k.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?anal-acrobats.hol.es.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?anapa-inns.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?android-style.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?anticrawler.org.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?arendakvartir.kz.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?arkkivoltti.net.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?artparquet.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?aruplighting.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?autovideobroadcast.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?aviva-limoux.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?azartclub.org.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?baixar-musicas-gratis.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?baladur.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?balitouroffice.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?bard-real.com.ua.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?bestmobilityscooterstoday.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?best-seo-offer.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?best-seo-solution.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?best-seo-software.xyz.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?bestwebsitesawards.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?bif-ru.info.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?biglistofwebsites.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?billiard-classic.com.ua.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?bizru.info.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?black-friday.ga.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?blackhatworth.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?blogtotal.de.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?bluerobot.info.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?blue-square.biz.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?bmw.afora.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?brakehawk.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?break-the-chains.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?brk-rti.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?brothers-smaller.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?budmavtomatika.com.ua.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?burger-imperia.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?buttons-for-website.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?buttons-for-your-website.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?buy-cheap-online.info.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?buy-forum.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?cardiosport.com.ua.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?cartechnic.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?cenokos.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?cenoval.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?cezartabac.ro.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?chinese-amezon.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?cityadspix.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?ci.ua.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?civilwartheater.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?clicksor.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?coderstate.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?codysbbq.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?conciergegroup.org.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?connectikastudio.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?copyrightclaims.org.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?cubook.supernew.org.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?customsua.com.ua.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?dailyrank.net.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?darodar.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?dbutton.net.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?delfin-aqua.com.ua.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?demenageur.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?descargar-musica-gratis.net.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?detskie-konstruktory.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?dipstar.org.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?djekxa.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?dojki-hd.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?domination.ml.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?doska-vsem.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?dostavka-v-krym.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?drupa.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?dvr.biz.ua.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?e-buyeasy.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?ecomp3.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?econom.co.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?edakgfvwql.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?egovaleo.it.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?ekto.ee.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?e-kwiaciarz.pl.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?elmifarhangi.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?erot.co.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?escort-russian.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?este-line.com.ua.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?euromasterclass.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?europages.com.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?eurosamodelki.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?event-tracking.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?fast-wordpress-start.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?fbdownloader.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?floating-share-buttons.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?forex-procto.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?forsex.info.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?forum20.smailik.org.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?forum69.info.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?free-floating-buttons.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?free-share-buttons.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?free-social-buttons.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?freewhatsappload.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?fsalas.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?general****.org.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?germes-trans.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?get-free-social-traffic.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?get-free-traffic-now.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?get-your-social-buttons.info.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?ghazel.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?girl****.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?gkvector.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?glavprofit.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?gobongo.info.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?goodprotein.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?googlsucks.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?guardlink.org.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?handicapvantoday.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?hongfanji.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?hosting-tracker.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?howopen.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?howtostopreferralspam.eu.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?hulfingtonpost.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?humanorightswatch.org.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?hundejo.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?hvd-store.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?ico.re.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?igru-xbox.net.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?iloveitaly.ro.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?iloveitaly.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?ilovevitaly.co.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?ilovevitaly.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?ilovevitaly.info.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?ilovevitaly.org.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?ilovevitaly.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?iminent.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?imperiafilm.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?investpamm.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?iskalko.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?ispaniya-costa-blanca.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?it-max.com.ua.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?jjbabskoe.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?justprofit.xyz.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?kabbalah-red-bracelets.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?kambasoft.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?kazrent.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?kino-fun.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?kino-key.info.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?kinopolet.net.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?knigonosha.net.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?konkursov.net.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?laxdrills.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?littleberry.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?livefixer.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?lsex.xyz.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?luxup.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?makemoneyonline.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?manualterap.roleforum.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?maridan.com.ua.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?masterseek.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?mebelcomplekt.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?mebeldekor.com.ua.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?med-zdorovie.com.ua.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?minegam.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?mini.7zap.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?mirobuvi.com.ua.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?mirtorrent.net.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?mobilemedia.md.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?moyakuhnia.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?msk.afora.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?muscle-factory.com.ua.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?myftpupload.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?niki-mlt.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?novosti-hi-tech.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?online-hit.info.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?onlywoman.org.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?o-o-6-o-o.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?o-o-8-o-o.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?o-o-6-o-o.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?o-o-8-o-o.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?o-o-8-o-o.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?ooo-olni.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?ozas.net.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?palvira.com.ua.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?petrovka-online.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?photokitchendesign.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?pizza-imperia.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?pizza-tycoon.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?****hub-forum.ga.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?****hub-forum.uni.me.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?****hub-ru.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?****oforadult.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?portnoff.od.ua.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?pozdravleniya-c.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?priceg.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?pricheski-video.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?producm.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?prodvigator.ua.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?prointer.net.ua.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?promoforum.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?psa48.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?qualitymarketzone.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?quit-smoking.ga.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?qwesa.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?rankings-analytics.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?ranksonic.info.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?ranksonic.net.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?ranksonic.org.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?rapidgator-****.ga.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?rcb101.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?rednise.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?research.ifmo.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?resellerclub.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?reversing.cc.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?rightenergysolutions.com.au.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?rospromtest.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?rusexy.xyz.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?sady-urala.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?sanjosestartups.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?santasgift.ml.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?savetubevideo.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?screentoolkit.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?search-error.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?semalt.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?semaltmedia.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?seoanalyses.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?seoexperimenty.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?seopub.net.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?seo-platform.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?seo-smm.kz.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?sexyali.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?sexyteens.hol.es.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?sharebutton.net.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?sharebutton.to.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?shop.xz618.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?sibecoprom.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?simple-share-buttons.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?siteripz.net.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?sitevaluation.org.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?sledstvie-veli.net.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?slftsdybbg.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?slkrm.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?snip.to.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?soaksoak.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?social-buttons.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?socialseet.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?sohoindia.net.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?solnplast.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?sosdepotdebilan.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?spb.afora.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?spravka130.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?steame.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?success-seo.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?superiends.org.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?taihouse.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?tattooha.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?tedxrj.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?theguardlan.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?tomck.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?top1-seo-service.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?toyota.7zap.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?traffic2cash.org.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?traffic2money.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?trafficmonetize.org.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?trafficmonetizer.org.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?trion.od.ua.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?uasb.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?uzungil.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?videos-for-your-business.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?video--production.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?video-woman.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?viel.su.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?viktoria-center.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?vodaodessa.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?vodkoved.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?webmaster-traffic.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?webmonetizer.net.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?websites-reviews.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?websocial.me.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?wmasterlead.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?wordpress-crew.net.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?ykecwqlixx.ru.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?you****-forum.ga.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?you****-forum.uni.me.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?you****-ru.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?yourserverisdown.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?zastroyka.org.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?грузоподъемные-машины.рф.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?наркомания.лечениенаркомании.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?непереводимая.рф.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?профмонтаж-врн.рф.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?снятьдомвсевастополе.рф.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http(s)?://(www\.)?холодныйобзвон.рф.*$ [NC]
RewriteRule .* - [F,L]



Kaynakça:

Htaccess ile WordPress tabanlı siteyi güvenli hale getirmek
cthax

kişi bu mesajı beğendi.

wmaraci
reklam

cthax cthax @emileyt.vanlife Kullanıcı
  • Üyelik 18.11.2014
  • Yaş/Cinsiyet 42 / E
  • Meslek Freelancer
  • Konum İzmir
  • Ad Soyad C** K**
  • Mesajlar 3486
  • Beğeniler 1222 / 1221
  • Ticaret 130, (%100)
hocam paylaşımınız hiç şüphesiz değerli ama birde kodun ne yaptığını mantığını da açıklasaydınız benim gibi bu işi bilmeyenler içinde bir klavuz olmuş olur
 

 

pikshub pikshub WM Aracı E-Mail Onaysız
  • Üyelik 22.11.2015
  • Yaş/Cinsiyet 29 / E
  • Meslek Öğrenci
  • Konum İstanbul Avrupa
  • Ad Soyad Y** A**
  • Mesajlar 120
  • Beğeniler 25 / 39
  • Ticaret 3, (%100)
cthax wp-config olan herhangi olabilecek girişleri kapattık. wp-includes olabilecek girişleri kapattık. htaccess dosyasına olan erişimleri kapattık, readme.html dosyasında versiyon yer alıyor. Biz bunun okunmasını istemiyoruz. Bunun erişimini kapattık. Herhangi bir log, config dosyalarına olan olabilecek erişimi kapattık ve çok fazla kaynak tüketen referans giriş yapan siteleri engelledik.
cthax

kişi bu mesajı beğendi.

cthax cthax @emileyt.vanlife Kullanıcı
  • Üyelik 18.11.2014
  • Yaş/Cinsiyet 42 / E
  • Meslek Freelancer
  • Konum İzmir
  • Ad Soyad C** K**
  • Mesajlar 3486
  • Beğeniler 1222 / 1221
  • Ticaret 130, (%100)
pikshub hocam şimdi gerçekten teşekkür ederim aydınlattığınız için hemen bahsettiğiniz kodları cop/paste yapıyorum htacess dosyasına
doğru yer mi hocam??


 

 

wmaraci
wmaraci

zeytinyagliyemek zeytinyagliyemek Sms Onayı Gerekli Telefon Onaysız
  • Üyelik 03.12.2015
  • Yaş/Cinsiyet 28 / E
  • Meslek Aşçı
  • Konum Gaziantep
  • Ad Soyad K** Ç**
  • Mesajlar 30
  • Beğeniler 3 / 1
  • Ticaret 0, (%0)
sağolun hocam yaptım
 

 

pikshub pikshub WM Aracı E-Mail Onaysız
  • Üyelik 22.11.2015
  • Yaş/Cinsiyet 29 / E
  • Meslek Öğrenci
  • Konum İstanbul Avrupa
  • Ad Soyad Y** A**
  • Mesajlar 120
  • Beğeniler 25 / 39
  • Ticaret 3, (%100)

cthax adlı üyeden alıntı

pikshub hocam şimdi gerçekten teşekkür ederim aydınlattığınız için hemen bahsettiğiniz kodları cop/paste yapıyorum htacess dosyasına
doğru yer mi hocam??




Evet doğru yer. Aslında yer belirtmemin nedeni bir kodun arasına eklenerek yanlışlık yapılmasını engellemek istemem. Yani doğru bir biçimde eklendikten sonra her yere eklenebilir.

Ek Olarak:

Geri dönüşün için teşekkürler
cthax

kişi bu mesajı beğendi.

xFeyz xFeyz creative solutions Kullanıcı
  • Üyelik 05.02.2014
  • Yaş/Cinsiyet 28 / E
  • Meslek developer
  • Konum Bursa
  • Ad Soyad F** Ö**
  • Mesajlar 704
  • Beğeniler 195 / 222
  • Ticaret 8, (%100)
doğru yere eklemişsiniz, lakin utf8-bomsuz biçimde kaydedin.
cthax pikshub

kişi bu mesajı beğendi.

EFSANE! | omerbeyoglu.me
Site Ayarları
  • Tema Seçeneği
  • Site Sesleri
  • Bildirimler
  • Özel Mesaj Al