1. Halo Guest, pastikan Anda selalu menaati peraturan forum sebelum mengirimkan post atau thread baru.

[ASK] Cara mengatasi foto wordpress di 'scrape'

Discussion in 'Wordpress' started by jimmy152, Dec 7, 2020.

  1. jimmy152

    jimmy152 AdSense Starter

    Joined:
    Oct 30, 2019
    Messages:
    96
    Likes Received:
    24
    Location:
    Saudi Arabia
    Pagi agan2 sekalian, ane mau nanya. Adakah yang bisa kasih tau cara mengatasi foto di wordpress kita supaya tidak di scrape website2 haram?

    Karna awal2 hanya 1 2 website scrapernya. Dan sekarang sudah berjibun. Yang mereka lakukan ini menggunakan foto di wordpress kita, dan mengcopas url image nya dan diletakkan di website mereka. Otomatis resource website kita terpakai dong untuk mereka.

    Kalau ada yang bisa menjawab tolong dibantu ya gan. Terima kasih.
     
  2. dedisuparman

    dedisuparman Super Hero

    Joined:
    Mar 27, 2011
    Messages:
    2,221
    Likes Received:
    253
    Location:
    Indramayu
    Ijin nyimak
     
  3. ACHMADNGALIHAIDAR

    ACHMADNGALIHAIDAR New Comer

    Joined:
    Nov 10, 2019
    Messages:
    34
    Likes Received:
    8
    Location:
    trenggalek
    nyimak mbah

    Sent from my CPH1901 using Tapatalk
     
  4. jimmy152

    jimmy152 AdSense Starter

    Joined:
    Oct 30, 2019
    Messages:
    96
    Likes Received:
    24
    Location:
    Saudi Arabia
    Nah ini uda ketemu caranya gan.

    Code:
    https://www.wpbeginner.com/beginners-guide/4-ways-to-prevent-image-theft-in-wordpress/
    Lebih tepatnya di poin ke 3, dengan memasukkan kode dibawah ini ke file .htaccess

    Code:
    #disable hotlinking of images with forbidden or custom image option
    RewriteEngine on
    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?wpbeginner.com [NC]
    RewriteCond %{HTTP_REFERER} !^http(s)?://(www\.)?google.com [NC]
    RewriteRule \.(jpg|jpeg|png|gif)$ – [NC,F,L] 
    Note: wpbeginner_com diganti ke domain agan masing2. Semoga bermanfaat.
     
  5. jimmy152

    jimmy152 AdSense Starter

    Joined:
    Oct 30, 2019
    Messages:
    96
    Likes Received:
    24
    Location:
    Saudi Arabia
    [​IMG]

    Intinya code di atas ngga mengijinkan foto kita tampil di website lain selain domain kita. Namun foto tersebut tetap bakalan tampil di google search result, jadi ga bakal ngurangin index foto kita.
    Jadi cara ini bisa dibilang efektif agar resource website kita tidak terpakai di website scraper.
     
  6. rawapesona

    rawapesona 10000USD/Month

    Joined:
    Jan 26, 2011
    Messages:
    4,660
    Likes Received:
    319
    Location:
    https://proreview.host
    di sable hotlink nya mas

    dari settingan cpanel bisa di lakukan

    googling aja
     
    Rootnesia likes this.

Share This Page