.htaccess dosya içeriğini ve meta taglarını buraya yazarmısınız
Kodları aşağıda paylaştım.
.htaccess kodları
# Enable expirations
ExpiresActive On
# Default directive
ExpiresDefault "access plus 1 month"
ExpiresByType image/gif "access plus 1 month"
ExpiresByType image/png "access plus 1 month"
ExpiresByType image/jpg "access plus 1 month"
ExpiresByType image/jpeg "access plus 1 month"
ExpiresByType text/css "access plus 1 month"
ExpiresByType application/javascript "access plus 1 year"
# compress text, html, javascript, css, xml:
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript
# BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# END WordPress
order allow,deny
allow from all
deny from 119.32.127.169
deny from 221.3.85.120
deny from 121.16.194.108
deny from 222.85.83.89
deny from 125.209.110.231
deny from 61.142.131.105
deny from 114.234.182.187
deny from 216.152.252.115
deny from 114.40.221.157
deny from 101.17.185.243
deny from 185.25.48.28
deny from 46.37.165.159
deny from 183.217.132.128
deny from 113.161.80.175
deny from 117.220.160.167
deny from 60.3.243.116
deny from 1.172.190.165
deny from 27.251.70.204
deny from 183.82.145.182
deny from 193.105.210.216
deny from 118.165.209.16
deny from 119.62.48.65
deny from 223.82.82.21
deny from 198.2.200.13
deny from 118.233.220.141
deny from 193.105.210.217
deny from 198.200.37.106
deny from 220.180.229.27
deny from 220.186.155.134
deny from 60.241.220.78
deny from 83.238.5.206
deny from 213.238.175.7
deny from 74.126.182.74
deny from 5.39.219.26
deny from 96.46.6.194
deny from 96.46.7.218
deny from 96.46.8.34
deny from 108.171.254.138
deny from 216.99.153.58
deny from 108.171.255.218
deny from 74.126.176.114
deny from 108.171.251.114
deny from 96.46.5.74
deny from 198.200.33.53
deny from 142.0.136.34
deny from 46.161.41.32
deny from 216.152.251.87
deny from 74.126.177.42
deny from 142.0.136.20
deny from 198.200.33.49
deny from 96.46.7.219
deny from 74.126.182.76
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://facebook.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://facebook.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://googleusercontent.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://googleusercontent.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://twitter.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://twitter.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://webcache.googleusercontent.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://webcache.googleusercontent.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.facebook.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.facebook.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.googleusercontent.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.googleusercontent.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.twitter.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.twitter.com$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.webcache.googleusercontent.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.webcache.googleusercontent.com$ [NC]
RewriteRule .*\.(jpg|jpeg|gif|png|bmp|swf|JPG|JPGEG|GIF|PNG|BMP|SWF|GIF)$ http://.net/wp-content/uploads/icerik-hirsizi-site.gif [R,NC]
Meta tagları:
<script>
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-36695270-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>