lostyazilim
tr.link

İyi bir .htaccess dosyası

7 Mesajlar 1.086 Okunma
lstbozum
tr.link

BYILDIZ BYILDIZ WM Aracı Kullanıcı
  • Üyelik 07.04.2014
  • Yaş/Cinsiyet 29 / E
  • Meslek Öğrenci
  • Konum Antalya
  • Ad Soyad B** Y**
  • Mesajlar 483
  • Beğeniler 105 / 39
  • Ticaret 24, (%100)
Arkadaşlar, google page speed, seo, index ve buna benzer şeyler için elinde iyi bir .htaccess kodu olan konu altına yazarsa çok memnun olurum. Teşekkürler.
 

 

wmaraci
reklam

KTB KTB xxxx Kullanıcı
  • Üyelik 25.11.2012
  • Yaş/Cinsiyet 35 / E
  • Meslek
  • Konum Diğer
  • Ad Soyad Ö** K**
  • Mesajlar 1233
  • Beğeniler 133 / 331
  • Ticaret 249, (%100)
Benim htaccess dosyam çok fazla araştırma ile düzenlendi sorunsuz kullanıyorum sürekli araştırma ile geliştiriyorum değişiklik yaparsam bildiririm. Buyrun, deneyin.


# BEGIN WordPress

RewriteEngine On
RewriteCond %{HTTP:VIA} !^$ [OR]
RewriteCond %{HTTP:FORWARDED} !^$ [OR]
RewriteCond %{HTTP:USERAGENT_VIA} !^$ [OR]
RewriteCond %{HTTP:X_FORWARDED_FOR} !^$ [OR]
RewriteCond %{HTTP:PROXY_CONNECTION} !^$ [OR]
RewriteCond %{HTTP:XPROXY_CONNECTION} !^$ [OR]
RewriteCond %{HTTP:HTTP_PC_REMOTE_ADDR} !^$ [OR]
RewriteCond %{HTTP:HTTP_CLIENT_IP} !^$
RewriteRule ^(.*)$ - [F]
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
RewriteCond %{HTTP_USER_AGENT} (havij|libwww-perl|wget|python|nikto|curl|scan|java|winhttp|clshttp|loader) [NC,OR]
RewriteCond %{HTTP_USER_AGENT} (%0A|%0D|%27|%3C|%3E|%00) [NC,OR]
RewriteCond %{HTTP_USER_AGENT} (;|<|>|'|"|\)|\(|%0A|%0D|%22|%27|%28|%3C|%3E|%00).*(libwww-perl|wget|python|nikto|curl|scan|java|winhttp|HTTrack|clshttp|archiver|loader|email|harvest|extract|grab|miner) [NC,OR]
RewriteCond %{THE_REQUEST} \?\ HTTP/ [NC,OR]
RewriteCond %{THE_REQUEST} \/\*\ HTTP/ [NC,OR]
RewriteCond %{THE_REQUEST} etc/passwd [NC,OR]
RewriteCond %{THE_REQUEST} cgi-bin [NC,OR]
RewriteCond %{THE_REQUEST} (%0A|%0D|\\r|\\n) [NC,OR]
RewriteCond %{REQUEST_URI} owssvr\.dll [NC,OR]
RewriteCond %{HTTP_REFERER} (%0A|%0D|%27|%3C|%3E|%00) [NC,OR]
RewriteCond %{HTTP_REFERER} \.opendirviewer\. [NC,OR]
RewriteCond %{QUERY_STRING} [a-zA-Z0-9_]=http:// [NC,OR]
RewriteCond %{QUERY_STRING} [a-zA-Z0-9_]=(\.\.//?)+ [NC,OR]
RewriteCond %{QUERY_STRING} [a-zA-Z0-9_]=/([a-z0-9_.]//?)+ [NC,OR]
RewriteCond %{QUERY_STRING} \=PHP[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12} [NC,OR]
RewriteCond %{QUERY_STRING} (\.\./|%2e%2e%2f|%2e%2e/|\.\.%2f|%2e\.%2f|%2e\./|\.%2e%2f|\.%2e/) [NC,OR]
RewriteCond %{QUERY_STRING} ftp\: [NC,OR]
RewriteCond %{QUERY_STRING} http\: [NC,OR]
RewriteCond %{QUERY_STRING} https\: [NC,OR]
RewriteCond %{QUERY_STRING} \=\|w\| [NC,OR]
RewriteCond %{QUERY_STRING} ^(.*)/self/(.*)$ [NC,OR]
RewriteCond %{QUERY_STRING} ^(.*)cPath=http://(.*)$ [NC,OR]
RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR]
RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%3E) [NC,OR]
RewriteCond %{QUERY_STRING} (\<|%3C).*embed.*(\>|%3E) [NC,OR]
RewriteCond %{QUERY_STRING} (<|%3C)([^e]*e)+mbed.*(>|%3E) [NC,OR]
RewriteCond %{QUERY_STRING} (\<|%3C).*object.*(\>|%3E) [NC,OR]
RewriteCond %{QUERY_STRING} (<|%3C)([^o]*o)+bject.*(>|%3E) [NC,OR]
RewriteCond %{QUERY_STRING} (\<|%3C).*iframe.*(\>|%3E) [NC,OR]
RewriteCond %{QUERY_STRING} (<|%3C)([^i]*i)+frame.*(>|%3E) [NC,OR]
RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [NC,OR]
RewriteCond %{QUERY_STRING} base64_(en|de)code[^(]*\([^)]*\) [NC,OR]
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2}) [OR]
RewriteCond %{QUERY_STRING} ^.*(\(|\)|<|>|%3c|%3e).* [NC,OR]
RewriteCond %{QUERY_STRING} ^.*(\x00|\x04|\x08|\x0d|\x1b|\x20|\x3c|\x3e|\x7f).* [NC,OR]
RewriteCond %{QUERY_STRING} (NULL|OUTFILE|LOAD_FILE) [OR]
RewriteCond %{QUERY_STRING} (\.{1,}/)+(motd|etc|bin) [NC,OR]
RewriteCond %{QUERY_STRING} (localhost|loopback|127\.0\.0\.1) [NC,OR]
RewriteCond %{QUERY_STRING} (<|>|'|%0A|%0D|%27|%3C|%3E|%00) [NC,OR]
RewriteCond %{QUERY_STRING} concat[^\(]*\( [NC,OR]
RewriteCond %{QUERY_STRING} union([^s]*s)+elect [NC,OR]
RewriteCond %{QUERY_STRING} union([^a]*a)+ll([^s]*s)+elect [NC,OR]
RewriteCond %{QUERY_STRING} \-[sdcr].*(allow_url_include|allow_url_fopen|safe_mode|disable_functions|auto_prepend_file) [NC,OR]
RewriteCond %{QUERY_STRING} (;|<|>|'|"|\)|%0A|%0D|%22|%27|%3C|%3E|%00).*(/\*|union|select|insert|drop|delete|update|cast|create|char|convert|alter|declare|order|script|set|md5|benchmark|encode) [NC,OR]
RewriteCond %{QUERY_STRING} (sp_executesql) [NC]
RewriteCond %{HTTP_USER_AGENT} ^w3af.sourceforge.net [NC,OR]
RewriteCond %{HTTP_USER_AGENT} dirbuster [NC,OR]
RewriteCond %{HTTP_USER_AGENT} nikto [NC,OR]
RewriteCond %{HTTP_USER_AGENT} SF [OR]
RewriteCond %{HTTP_USER_AGENT} sqlmap [NC,OR]
RewriteCond %{HTTP_USER_AGENT} fimap [NC,OR]
RewriteCond %{HTTP_USER_AGENT} nessus [NC,OR]
RewriteCond %{HTTP_USER_AGENT} whatweb [NC,OR]
RewriteCond %{HTTP_USER_AGENT} Openvas [NC,OR]
RewriteCond %{HTTP_USER_AGENT} jbrofuzz [NC,OR]
RewriteCond %{HTTP_USER_AGENT} libwhisker [NC,OR]
RewriteCond %{HTTP_USER_AGENT} webshag [NC,OR]
RewriteCond %{HTTP:Acunetix-Product} ^WVS
RewriteRule ^.* http://127.0.0.1/ [R=301,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 ^.* - [F,L]
RewriteCond %{HTTP_USER_AGENT} ^BlackWidow [OR]
RewriteCond %{HTTP_USER_AGENT} ^Bot\ mailto:craftbot@yahoo.com [OR]
RewriteCond %{HTTP_USER_AGENT} ^ChinaClaw [OR]
RewriteCond %{HTTP_USER_AGENT} ^Custo [OR]
RewriteCond %{HTTP_USER_AGENT} ^DISCo [OR]
RewriteCond %{HTTP_USER_AGENT} ^Download\ Demon [OR]
RewriteCond %{HTTP_USER_AGENT} ^eCatch [OR]
RewriteCond %{HTTP_USER_AGENT} ^EirGrabber [OR]
RewriteCond %{HTTP_USER_AGENT} ^EmailSiphon [OR]
RewriteCond %{HTTP_USER_AGENT} ^EmailWolf [OR]
RewriteCond %{HTTP_USER_AGENT} ^Express\ WebPictures [OR]
RewriteCond %{HTTP_USER_AGENT} ^ExtractorPro [OR]
RewriteCond %{HTTP_USER_AGENT} ^EyeNetIE [OR]
RewriteCond %{HTTP_USER_AGENT} ^FlashGet [OR]
RewriteCond %{HTTP_USER_AGENT} ^GetRight [OR]
RewriteCond %{HTTP_USER_AGENT} ^GetWeb! [OR]
RewriteCond %{HTTP_USER_AGENT} ^Go!Zilla [OR]
RewriteCond %{HTTP_USER_AGENT} ^Go-Ahead-Got-It [OR]
RewriteCond %{HTTP_USER_AGENT} ^GrabNet [OR]
RewriteCond %{HTTP_USER_AGENT} ^Grafula [OR]
RewriteCond %{HTTP_USER_AGENT} ^HMView [OR]
RewriteCond %{HTTP_USER_AGENT} HTTrack [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^Image\ Stripper [OR]
RewriteCond %{HTTP_USER_AGENT} ^Image\ Sucker [OR]
RewriteCond %{HTTP_USER_AGENT} Indy\ Library [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^InterGET [OR]
RewriteCond %{HTTP_USER_AGENT} ^Internet\ Ninja [OR]
RewriteCond %{HTTP_USER_AGENT} ^JetCar [OR]
RewriteCond %{HTTP_USER_AGENT} ^JOC\ Web\ Spider [OR]
RewriteCond %{HTTP_USER_AGENT} ^larbin [OR]
RewriteCond %{HTTP_USER_AGENT} ^LeechFTP [OR]
RewriteCond %{HTTP_USER_AGENT} ^Mass\ Downloader [OR]
RewriteCond %{HTTP_USER_AGENT} ^MIDown\ tool [OR]
RewriteCond %{HTTP_USER_AGENT} ^Mister\ PiX [OR]
RewriteCond %{HTTP_USER_AGENT} ^Navroad [OR]
RewriteCond %{HTTP_USER_AGENT} ^NearSite [OR]
RewriteCond %{HTTP_USER_AGENT} ^NetAnts [OR]
RewriteCond %{HTTP_USER_AGENT} ^NetSpider [OR]
RewriteCond %{HTTP_USER_AGENT} ^Net\ Vampire [OR]
RewriteCond %{HTTP_USER_AGENT} ^NetZIP [OR]
RewriteCond %{HTTP_USER_AGENT} ^Octopus [OR]
RewriteCond %{HTTP_USER_AGENT} ^Offline\ Explorer [OR]
RewriteCond %{HTTP_USER_AGENT} ^Offline\ Navigator [OR]
RewriteCond %{HTTP_USER_AGENT} ^PageGrabber [OR]
RewriteCond %{HTTP_USER_AGENT} ^Papa\ Foto [OR]
RewriteCond %{HTTP_USER_AGENT} ^pavuk [OR]
RewriteCond %{HTTP_USER_AGENT} ^pcBrowser [OR]
RewriteCond %{HTTP_USER_AGENT} ^RealDownload [OR]
RewriteCond %{HTTP_USER_AGENT} ^ReGet [OR]
RewriteCond %{HTTP_USER_AGENT} ^SiteSnagger [OR]
RewriteCond %{HTTP_USER_AGENT} ^SmartDownload [OR]
RewriteCond %{HTTP_USER_AGENT} ^SuperBot [OR]
RewriteCond %{HTTP_USER_AGENT} ^SuperHTTP [OR]
RewriteCond %{HTTP_USER_AGENT} ^Surfbot [OR]
RewriteCond %{HTTP_USER_AGENT} ^tAkeOut [OR]
RewriteCond %{HTTP_USER_AGENT} ^Teleport\ Pro [OR]
RewriteCond %{HTTP_USER_AGENT} ^VoidEYE [OR]
RewriteCond %{HTTP_USER_AGENT} ^Web\ Image\ Collector [OR]
RewriteCond %{HTTP_USER_AGENT} ^Web\ Sucker [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebAuto [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebCopier [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebFetch [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebGo\ IS [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebLeacher [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebReaper [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebSauger [OR]
RewriteCond %{HTTP_USER_AGENT} ^Website\ eXtractor [OR]
RewriteCond %{HTTP_USER_AGENT} ^Website\ Quester [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebStripper [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebWhacker [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebZIP [OR]
RewriteCond %{HTTP_USER_AGENT} ^Wget [OR]
RewriteCond %{HTTP_USER_AGENT} ^Widow [OR]
RewriteCond %{HTTP_USER_AGENT} ^WWWOFFLE [OR]
RewriteCond %{HTTP_USER_AGENT} ^Xaldon\ WebSpider [OR]
RewriteCond %{HTTP_USER_AGENT} ^Zeus
RewriteRule ^.* - [F,L]
RewriteCond %{HTTP_REFERER} ^http://.*amazonaws\.com [OR]
RewriteCond %{REMOTE_HOST} ^.*\.compute-1\.amazonaws\.com$ [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "AISearchBot" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "woriobot" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "heritrix" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "NetSeer" [NC,OR]
RewriteCond %{HTTP_USER_AGENT} "Nutch" [NC]
RewriteRule ^(.*)$ - [F]



Order Allow,Deny
deny from 212.83.145.246
deny from 212.83.145.246:~
Allow from all


# Enable GZIP

AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html


# Expires Headers - 2678400s = 31 days

Header set Connection keep-alive
ExpiresActive On
ExpiresDefault "access plus 2678400 seconds"
ExpiresByType text/html "access plus 7200 seconds"
ExpiresByType image/gif "access plus 2678400 seconds"
ExpiresByType image/jpeg "access plus 2678400 seconds"
ExpiresByType image/png "access plus 2678400 seconds"
ExpiresByType text/css "access plus 750000 seconds"
ExpiresByType text/javascript "access plus 2678400 seconds"
ExpiresByType application/x-javascript "access plus 2678400 seconds"


# Cache Headers

# Cache specified files for 31 days

Header set Cache-Control "max-age=2678400, public"

# Cache HTML files for a couple hours

Header set Cache-Control "max-age=7200, private, must-revalidate"

# Cache PDFs for a day

Header set Cache-Control "max-age=86400, public"

# Cache Javascripts for 31 days

Header set Cache-Control "max-age=2678400, private"


# END WordPress

# htaccess dosyasını kapatma

order deny,allow
deny from all


# wp-config dosyasını kapatma

order allow,deny
deny from all


# admin ajax dosyasını kapatma

Order allow,deny
Allow from all
Satisfy any


#wp-login doyasını kaldırma ve uzantı olarak disable etme

Order Allow,Deny
Deny from all


# sunucu imzasını kaldır
ServerSignature Off

# dosya yükleme boyutunu 10mb ile sınırlandır
LimitRequestBody 10240000

ErrorDocument 404 /hatalar/404.html
ErrorDocument 403 /hatalar/403.html
ErrorDocument 401 /hatalar/401.html
ErrorDocument 500 /hatalar/500.html
 

 

carpediem carpediem Üyeliği Durdurulmuş Banlı Kullanıcı
  • Üyelik 02.04.2015
  • Yaş/Cinsiyet 32 / E
  • Meslek muhasebe
  • Konum Ankara
  • Ad Soyad İ** T**
  • Mesajlar 867
  • Beğeniler 166 / 127
  • Ticaret 15, (%93)
güncel

Options -Indexes
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
Options +FollowSymlinks

## Mod security kapat

SecFilterEngine Off
SecFilterScanPOST Off

## Mod security kapat

## Tarayıcı Önbellekleme ##

ExpiresActive On
ExpiresByType image/jpg "access 1 year"
ExpiresByType image/jpeg "access 1 year"
ExpiresByType image/gif "access 1 year"
ExpiresByType image/png "access 1 year"
ExpiresByType text/css "access 1 month"
ExpiresByType text/html "access 1 month"
ExpiresByType application/pdf "access 1 month"
ExpiresByType text/x-javascript "access 1 month"
ExpiresByType application/x-shockwave-flash "access 1 month"
ExpiresByType image/x-icon "access 1 year"
ExpiresDefault "access 1 month"

## Tarayıcı Önbellekleme ##
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} ^BlackWidow [OR]
RewriteCond %{HTTP_USER_AGENT} ^Bot mailto:craftbot@yahoo.com [OR]
RewriteCond %{HTTP_USER_AGENT} ^ChinaClaw [OR]
RewriteCond %{HTTP_USER_AGENT} ^Custo [OR]
RewriteCond %{HTTP_USER_AGENT} ^DISCo [OR]
RewriteCond %{HTTP_USER_AGENT} ^Download Demon [OR]
RewriteCond %{HTTP_USER_AGENT} ^eCatch [OR]
RewriteCond %{HTTP_USER_AGENT} ^EirGrabber [OR]
RewriteCond %{HTTP_USER_AGENT} ^EmailSiphon [OR]
RewriteCond %{HTTP_USER_AGENT} ^EmailWolf [OR]
RewriteCond %{HTTP_USER_AGENT} ^Express WebPictures [OR]
RewriteCond %{HTTP_USER_AGENT} ^ExtractorPro [OR]
RewriteCond %{HTTP_USER_AGENT} ^EyeNetIE [OR]
RewriteCond %{HTTP_USER_AGENT} ^FlashGet [OR]
RewriteCond %{HTTP_USER_AGENT} ^GetRight [OR]
RewriteCond %{HTTP_USER_AGENT} ^GetWeb! [OR]
RewriteCond %{HTTP_USER_AGENT} ^Go!Zilla [OR]
RewriteCond %{HTTP_USER_AGENT} ^Go-Ahead-Got-It [OR]
RewriteCond %{HTTP_USER_AGENT} ^GrabNet [OR]
RewriteCond %{HTTP_USER_AGENT} ^Grafula [OR]
RewriteCond %{HTTP_USER_AGENT} ^HMView [OR]
RewriteCond %{HTTP_USER_AGENT} HTTrack [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^Image Stripper [OR]
RewriteCond %{HTTP_USER_AGENT} ^Image Sucker [OR]
RewriteCond %{HTTP_USER_AGENT} Indy Library [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^InterGET [OR]
RewriteCond %{HTTP_USER_AGENT} ^Internet Ninja [OR]
RewriteCond %{HTTP_USER_AGENT} ^JetCar [OR]
RewriteCond %{HTTP_USER_AGENT} ^JOC Web Spider [OR]
RewriteCond %{HTTP_USER_AGENT} ^larbin [OR]
RewriteCond %{HTTP_USER_AGENT} ^LeechFTP [OR]
RewriteCond %{HTTP_USER_AGENT} ^Mass Downloader [OR]
RewriteCond %{HTTP_USER_AGENT} ^MIDown tool [OR]
RewriteCond %{HTTP_USER_AGENT} ^Mister PiX [OR]
RewriteCond %{HTTP_USER_AGENT} ^Navroad [OR]
RewriteCond %{HTTP_USER_AGENT} ^NearSite [OR]
RewriteCond %{HTTP_USER_AGENT} ^NetAnts [OR]
RewriteCond %{HTTP_USER_AGENT} ^NetSpider [OR]
RewriteCond %{HTTP_USER_AGENT} ^Net Vampire [OR]
RewriteCond %{HTTP_USER_AGENT} ^NetZIP [OR]
RewriteCond %{HTTP_USER_AGENT} ^Octopus [OR]
RewriteCond %{HTTP_USER_AGENT} ^Offline Explorer [OR]
RewriteCond %{HTTP_USER_AGENT} ^Offline Navigator [OR]
RewriteCond %{HTTP_USER_AGENT} ^PageGrabber [OR]
RewriteCond %{HTTP_USER_AGENT} ^Papa Foto [OR]
RewriteCond %{HTTP_USER_AGENT} ^pavuk [OR]
RewriteCond %{HTTP_USER_AGENT} ^pcBrowser [OR]
RewriteCond %{HTTP_USER_AGENT} ^RealDownload [OR]
RewriteCond %{HTTP_USER_AGENT} ^ReGet [OR]
RewriteCond %{HTTP_USER_AGENT} ^SiteSnagger [OR]
RewriteCond %{HTTP_USER_AGENT} ^SmartDownload [OR]
RewriteCond %{HTTP_USER_AGENT} ^SuperBot [OR]
RewriteCond %{HTTP_USER_AGENT} ^SuperHTTP [OR]
RewriteCond %{HTTP_USER_AGENT} ^Surfbot [OR]
RewriteCond %{HTTP_USER_AGENT} ^tAkeOut [OR]
RewriteCond %{HTTP_USER_AGENT} ^Teleport Pro [OR]
RewriteCond %{HTTP_USER_AGENT} ^VoidEYE [OR]
RewriteCond %{HTTP_USER_AGENT} ^Web Image Collector [OR]
RewriteCond %{HTTP_USER_AGENT} ^Web Sucker [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebAuto [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebCopier [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebFetch [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebGo IS [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebLeacher [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebReaper [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebSauger [OR]
RewriteCond %{HTTP_USER_AGENT} ^Website eXtractor [OR]
RewriteCond %{HTTP_USER_AGENT} ^Website Quester [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebStripper [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebWhacker [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebZIP [OR]
RewriteCond %{HTTP_USER_AGENT} ^Wget [OR]
RewriteCond %{HTTP_USER_AGENT} ^Widow [OR]
RewriteCond %{HTTP_USER_AGENT} ^WWWOFFLE [OR]
RewriteCond %{HTTP_USER_AGENT} ^Xaldon WebSpider [OR]
RewriteCond %{HTTP_USER_AGENT} ^Zeus
RewriteRule .* - [F]
# Block Russian Referrer Spam
RewriteEngine on
RewriteCond %{HTTP_REFERER} ^http://.*ilovevitaly\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*ilovevitaly.\.ru/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*ilovevitaly\.org/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*ilovevitaly\.info/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*iloveitaly\.ru/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*econom\.co/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*savetubevideo\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*kambasoft\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*buttons\-for\-website\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*semalt\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*darodar\.com/ [NC]
RewriteRule ^(.*)$ – [F,L]
# Block Referrer Spam
RewriteEngine on
RewriteCond %{HTTP_REFERER} ^http://.*o-o-6-o-o\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*semalt\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*free-share-buttons\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*Get-Free-Traffic-Now\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*get-free-traffic-now\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*simple-share-buttons\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*site40.simple-share-buttons\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*site31.simple-share-buttons\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*site30.simple-share-buttons\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*site14.simple-share-buttons\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*site11.simple-share-buttons\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*site32.simple-share-buttons\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*adnxs\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*aliexpress\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*bestwebsitesawards\.com/ [NC]
RewriteCond %{HTTP_REFERER} ^http://.*blackhatworth\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*bycontext\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*cenoval\.ru/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*darodar\.com/ [NC]
RewriteCond %{HTTP_REFERER} ^http://.*econom\.co/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*hulfingtonpost\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*humanorightswatch\.org/ [NC]
RewriteCond %{HTTP_REFERER} ^http://.*ilovevitaly\.co/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*ilovevitaly\.com/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*ilovevitaly\.ru/ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://.*priceg\.com/ [NC]

RewriteEngine On
RewriteCond %{HTTP_REFERER} ^https?://([^.]+\.)*hulfingtonpost\.com [NC]
RewriteCond %{HTTP_REFERER} ^https?://([^.]+\.)*apanews\.com [NC]
RewriteCond %{HTTP_REFERER} ^https?://([^.]+\.)*adcash\.com [NC]
RewriteCond %{HTTP_REFERER} ^https?://([^.]+\.)*aliexpress\.com [NC]
RewriteCond %{HTTP_REFERER} ^https?://([^.]+\.)*bestwebsitesawards\.com [NC]
RewriteCond %{HTTP_REFERER} ^https?://([^.]+\.)*buttons-for-website\.com [NC]
RewriteCond %{HTTP_REFERER} ^https?://([^.]+\.)*bycontext\.com [NC]
RewriteCond %{HTTP_REFERER} ^https?://([^.]+\.)*cenokos\.ru [NC]
RewriteCond %{HTTP_REFERER} ^https?://([^.]+\.)*cenoval\.ru [NC]
RewriteCond %{HTTP_REFERER} ^https?://([^.]+\.)*cityadspix\.ru [NC]
RewriteCond %{HTTP_REFERER} ^https?://([^.]+\.)*darodar\.com [NC]
RewriteCond %{HTTP_REFERER} ^https?://([^.]+\.)*econom\.co [NC]
RewriteCond %{HTTP_REFERER} ^https?://([^.]+\.)*edakgfvwql\.ru [NC]
RewriteCond %{HTTP_REFERER} ^https?://([^.]+\.)*gobongo\.info [NC]
RewriteCond %{HTTP_REFERER} ^https?://([^.]+\.)*ilovevitaly\.com [NC]
RewriteCond %{HTTP_REFERER} ^https?://([^.]+\.)*ilovevitaly\.info [NC]
RewriteCond %{HTTP_REFERER} ^https?://([^.]+\.)*ilovevitaly\.org [NC]
RewriteCond %{HTTP_REFERER} ^https?://([^.]+\.)*ilovevitaly\.ru [NC]
RewriteCond %{HTTP_REFERER} ^https?://([^.]+\.)*iskalko\.ru [NC]
RewriteCond %{HTTP_REFERER} ^https?://([^.]+\.)*jollygame\.net [NC]
RewriteCond %{HTTP_REFERER} ^https?://([^.]+\.)*luxup\.ru [NC]
RewriteCond %{HTTP_REFERER} ^https?://([^.]+\.)*max-start\.com [NC]
RewriteCond %{HTTP_REFERER} ^https?://([^.]+\.)*o-o-6-o-o\.ru [NC]
RewriteCond %{HTTP_REFERER} ^https?://([^.]+\.)*o-o-8-o-o\.ru [NC]
RewriteCond %{HTTP_REFERER} ^https?://([^.]+\.)*priceg\.com [NC]
RewriteCond %{HTTP_REFERER} ^https?://([^.]+\.)*savetubevideo\.com [NC]
RewriteCond %{HTTP_REFERER} ^https?://([^.]+\.)*screentoolkit\.com [NC]
RewriteCond %{HTTP_REFERER} ^https?://([^.]+\.)*semalt\.com [NC]
RewriteCond %{HTTP_REFERER} ^https?://([^.]+\.)*seoexperimenty\.ru [NC]
RewriteCond %{HTTP_REFERER} ^https?://([^.]+\.)*slftsdybbg\.ru [NC]
RewriteCond %{HTTP_REFERER} ^https?://([^.]+\.)*socialseet\.ru [NC]
RewriteCond %{HTTP_REFERER} ^https?://([^.]+\.)*superiends\.org [NC]
RewriteCond %{HTTP_REFERER} ^https?://([^.]+\.)*vodkoved\.ru [NC]
RewriteCond %{HTTP_REFERER} ^https?://([^.]+\.)*websites-reviews\.com [NC]
RewriteCond %{HTTP_REFERER} ^https?://([^.]+\.)*websocial\.me [NC]
RewriteCond %{HTTP_REFERER} ^https?://([^.]+\.)*ykecwqlixx\.ru [NC]
RewriteCond %{HTTP_REFERER} ^https?://([^.]+\.)*simpleshare-buttons\.com [NC]
RewriteRule ^.* - [F,L]


SetEnvIfNoCase Referer hulfingtonpost.com spammer=yes
SetEnvIfNoCase Referer apanews.com spammer=yes
SetEnvIfNoCase Referer adcash.com spammer=yes
SetEnvIfNoCase Referer aliexpress.com spammer=yes
SetEnvIfNoCase Referer bestwebsitesawards.com spammer=yes
SetEnvIfNoCase Referer buttons-for-website.com spammer=yes
SetEnvIfNoCase Referer semalt.com spammer=yes
SetEnvIfNoCase Referer bycontext.com spammer=yes
SetEnvIfNoCase Referer cenokos.ru spammer=yes
SetEnvIfNoCase Referer cenoval.ru spammer=yes
SetEnvIfNoCase Referer cityadspix.ru spammer=yes
SetEnvIfNoCase Referer darodar.com spammer=yes
SetEnvIfNoCase Referer econom.co spammer=yes
SetEnvIfNoCase Referer edakgfvwql.ru spammer=yes
SetEnvIfNoCase Referer gobongo.info spammer=yes
SetEnvIfNoCase Referer ilovevitaly.com spammer=yes
SetEnvIfNoCase Referer ilovevitaly.org spammer=yes
SetEnvIfNoCase Referer ilovevitaly.info spammer=yes
SetEnvIfNoCase Referer ilovevitaly.ru spammer=yes
SetEnvIfNoCase Referer iskalko.ru spammer=yes
SetEnvIfNoCase Referer jollygame.net spammer=yes
SetEnvIfNoCase Referer luxup.ru spammer=yes
SetEnvIfNoCase Referer max-start.com spammer=yes
SetEnvIfNoCase Referer o-o-6-o-o.ru spammer=yes
SetEnvIfNoCase Referer o-o-8-o-o.ru spammer=yes
SetEnvIfNoCase Referer priceg.com spammer=yes
SetEnvIfNoCase Referer savetubevideo.com spammer=yes
SetEnvIfNoCase Referer screentoolkit.com spammer=yes
SetEnvIfNoCase Referer seoexperimenty.ru spammer=yes
SetEnvIfNoCase Referer slftsdybbg.ru spammer=yes
SetEnvIfNoCase Referer socialseet.ru spammer=yes
SetEnvIfNoCase Referer superiends.org spammer=yes
SetEnvIfNoCase Referer vodkoved.ru spammer=yes
SetEnvIfNoCase Referer websites-reviews.com spammer=yes
SetEnvIfNoCase Referer websocial.me spammer=yes
SetEnvIfNoCase Referer ykecwqlixx.ru spammer=yes
SetEnvIfNoCase Referer simpleshare-buttons.com spammer=yes
SetEnvIfNoCase Referer Get-Free-Traffic-Now.com spammer=yes
SetEnvIfNoCase Referer get-free-traffic-now.com spammer=yes
SetEnvIfNoCase Referer free-share-buttons spammer=yes
Order allow,deny
Allow from all
Deny from env=spammer
RewriteRule ^(.*)$ – [F,L]
 

 

KTB KTB xxxx Kullanıcı
  • Üyelik 25.11.2012
  • Yaş/Cinsiyet 35 / E
  • Meslek
  • Konum Diğer
  • Ad Soyad Ö** K**
  • Mesajlar 1233
  • Beğeniler 133 / 331
  • Ticaret 249, (%100)
@carpedien

Options -Indexes
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
Options +FollowSymlinks


bu kısım ne işe yarıyor bilginiz var mı?
 

 

wmaraci
wmaraci

carpediem carpediem Üyeliği Durdurulmuş Banlı Kullanıcı
  • Üyelik 02.04.2015
  • Yaş/Cinsiyet 32 / E
  • Meslek muhasebe
  • Konum Ankara
  • Ad Soyad İ** T**
  • Mesajlar 867
  • Beğeniler 166 / 127
  • Ticaret 15, (%93)

omerknet adlı üyeden alıntı

@carpedien

Options -Indexes
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
Options +FollowSymlinks


bu kısım ne işe yarıyor bilginiz var mı?


scriptimdeki bir fonksiyon olabilir tam emin değilim.
 

 

AKDNZ AKDNZ #Sunucu Kurulumu Kullanıcı
  • Üyelik 28.06.2014
  • Yaş/Cinsiyet 35 / E
  • Meslek Ağ Yöneticisi
  • Konum Azerbeycan
  • Ad Soyad A** A**
  • Mesajlar 1668
  • Beğeniler 645 / 524
  • Ticaret 51, (%100)

omerknet adlı üyeden alıntı

@carpedien

Options -Indexes
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
Options +FollowSymlinks


bu kısım ne işe yarıyor bilginiz var mı?


Bahsi gecen kısım permalinklerin çalışması için gerekli olan kodlar bildigim kadariyla
 

 

KTB KTB xxxx Kullanıcı
  • Üyelik 25.11.2012
  • Yaş/Cinsiyet 35 / E
  • Meslek
  • Konum Diğer
  • Ad Soyad Ö** K**
  • Mesajlar 1233
  • Beğeniler 133 / 331
  • Ticaret 249, (%100)

AKDNZ adlı üyeden alıntı

Bahsi gecen kısım permalinklerin çalışması için gerekli olan kodlar bildigim kadariyla


Benim araştırmalarımda dizinlemeyi engelleme diye açıklama görmüştüm ama anlam veremedim bu kodu kullanmadım o yüzden hocam
 

 

wmaraci
wmaraci
Konuyu toplam 1 kişi okuyor. (0 kullanıcı ve 1 misafir)
Site Ayarları
  • Tema Seçeneği
  • Site Sesleri
  • Bildirimler
  • Özel Mesaj Al