开发者 | ewwink |
---|---|
更新时间 | 2015年4月21日 09:33 |
捐献地址: | 去捐款 |
PHP版本: | 3.0.1 及以上 |
WordPress版本: | 3.5.1 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
BEGIN Google Break Dance
RewriteEngine on
RewriteBase /
Awal Watermark
RewriteCond %{REQUEST_URI} wp-content/uploads/..(gif|jpg|jpeg|png)$ [NC]
RewriteCond %{HTTP_REFERER} ./blank.html$ [NC,OR]
RewriteCond %{HTTP_REFERER} .images.search.yahoo.com/.$ [NC]
RewriteCond %{HTTP_REFERER} ^$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.nama-domain-ente.com/.*$ [NC]
RewriteCond %{HTTP_USER_AGENT} !(.bot.|slurp) [NC]
RewriteRule ^(wp-content.*)$ /gbd_watermark?$1 [R=302,L]
Akhir Watermark
Awal Redirect
RewriteCond %{REQUEST_URI} wp-content/uploads/..(gif|jpg|jpeg|png)$ [NC]
RewriteCond %{HTTP_REFERER} ^http://www.google.[a-z]{2,4}(.[a-z]{2,4})?/url\?.$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://www.bing.com/images/search?q=\?.*$ [NC]
RewriteCond %{HTTP_REFERER} ^$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.nama-domain-ente.com/.*$ [NC]
RewriteCond %{HTTP_USER_AGENT} !(.bot.|slurp) [NC]
RewriteRule ^(wp-content.*)$ /get_posturl?$1 [R=302,L]
Akhir Redirect
END Google Break Dance
* sesuaikan www.nama-domain-ente.com dengan domain yg ente punya
- Klo ingin menambahkan lebih banyak bot yg tidak ingin diredirect ke post atau supaya image di index karena default hanya yg mengandung kata "bot" (Googlebot, Bingbot, dll...) dan yahoo Slurp edit baris !(.*bot.*|slurp) menjadi seperti !(.*bot.*|slurp|semoga|sukses|dengan|bloggingnya|salam)
- Untuk merubah .htaccess melalui Dashboard bisa melaui GBD Htaccess Editor yg sudah disertakan diplugin ini
cara edit .htaccess: untuk mengaktifkan hapus tanda pagar '#" dan untuk menonaktifkan beri tanda pagar '#' dibaris yg di inginkan
Kostum .htaccess 1
BEGIN Google Break Dance
RewriteEngine on
RewriteBase /
Awal Watermark
RewriteCond %{REQUEST_URI} wp-content/uploads/..(gif|jpg|jpeg|png)$ [NC]
RewriteCond %{HTTP_REFERER} ./blank.html$ [NC,OR]
RewriteCond %{HTTP_REFERER} .images.search.yahoo.com/.$ [NC,OR]
RewriteCond %{HTTP_REFERER} !^http://www.nama-domain-ente.com/.$ [NC]
RewriteCond %{HTTP_USER_AGENT} !(.bot.|slurp) [NC]
RewriteRule ^(wp-content.)$ /gbd_watermark?$1 [R=302,L]
Akhir Watermark
Awal Redirect
RewriteCond %{REQUEST_URI} wp-content/uploads/..(gif|jpg|jpeg|png)$ [NC]
RewriteCond %{HTTP_REFERER} ^http://www.google.[a-z]{2,4}(.[a-z]{2,4})?/url\?.$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://www.bing.com/images/search?q=\?.$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^$ [NC]
RewriteCond %{HTTP_USER_AGENT} !(.bot.|slurp) [NC]
RewriteRule ^(wp-content.)$ /get_posturl?$1 [R=302,L]
Akhir Redirect
END Google Break Dance
Kostum .htaccess 2
BEGIN Google Break Dance
RewriteEngine on
RewriteBase /
Awal Watermark
RewriteCond %{REQUEST_URI} wp-content/uploads/..(gif|jpg|jpeg|png)$ [NC]
RewriteCond %{HTTP_REFERER} ./blank.html$ [NC,OR]
RewriteCond %{HTTP_REFERER} .images.search.yahoo.com/.$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^$ [NC]
RewriteCond %{HTTP_USER_AGENT} !(.bot.|slurp) [NC]
RewriteRule ^(wp-content.*)$ /gbd_watermark?$1 [R=302,L]
Akhir Watermark
Awal Redirect
RewriteCond %{REQUEST_URI} wp-content/uploads/..(gif|jpg|jpeg|png)$ [NC]
RewriteCond %{HTTP_REFERER} ^http://www.google.[a-z]{2,4}(.[a-z]{2,4})?/url\?.$ [NC,OR]
RewriteCond %{HTTP_REFERER} ^http://www.bing.com/images/search?q=\?.$ [NC,OR]
RewriteCond %{HTTP_REFERER} !^http://www.nama-domain-ente.com/.$ [NC]
RewriteCond %{HTTP_USER_AGENT} !(.bot.|slurp) [NC]
RewriteRule ^(wp-content.*)$ /get_posturl?$1 [R=302,L]
Akhir Redirect
END Google Break Dance
Kostum .htaccess 3
Awal Watermark
RewriteCond %{REQUEST_URI} wp-content/uploads/..(gif|jpg|jpeg|png)$ [NC]
RewriteCond %{HTTP_REFERER} ./blank.html$ [NC,OR]
RewriteCond %{HTTP_REFERER} .images.search.yahoo.com/.$ [NC,OR]
RewriteCond %{HTTP_REFERER} .pinterest.$ [NC]
RewriteCond %{HTTP_REFERER} ^$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.nama-domain-ente.com/.*$ [NC]
RewriteCond %{HTTP_USER_AGENT} !(.bot.|slurp) [NC]
RewriteRule ^(wp-content.*)$ /gbd_watermark?$1 [R=302,L]
Akhir Watermark
TIPS lain Meminimalkan CPU Usage
user-agent: AhrefsBot
disallow: /
user-agent: MJ12bot
disallow: /
user-agent: Seomozbot
disallow: /
Perubahan terakhir
0.91
salah ketik di readme.txt, di htaccess ubah get_image jadi get_posturl
0.90
/wp-content/plugins/
directory, atau
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} wp-content/uploads/..(gif|jpg|jpeg|png)$ [NC]
RewriteCond %{HTTP_USER_AGENT} !(.bot.|slurp) [NC]
RewriteCond %{HTTP_REFERER} !^$ [NC]
RewriteCond %{HTTP_REFERER} !^http://www.google.[a-z]{2,4}(.[a-z]{2,4})?/blank.html$ [NC]
RewriteCond %{HTTP_REFERER} !^http://(www.)?cekpr.com/.$ [NC]
RewriteRule ^(.*)$ /get_posturl?$1 [R=302,L]
BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
END WordPress
- ganti cekpr.com dengan nama domain entedi Google search ketik "site:domain-punya-ente.com" (tanpa tanda kutip) trus klik gambar dan klik lagi "Lihat Gamabar Asli" dan klo di Redirect ke halaman Post maka plugin ini berfungsi.