Skip to content
September 30, 2011 / Kholis Media

Cara Membuat AGC di WordPress


Salah satu teknik blackhat SEO untuk blogging adalaha agc, auto generate content. Konten muncul bukan dari artikel yang diposting oleh pemilih blog tapi diambil dari search engine yang kemudian di tampilkan diblog. Uniknya ketika kita mengklik link artikel tersebut kita tidak akan menemukan artikel yang kita cari, kita cuma dibuat berputar-putar diblog tersebut. Tentu saja bisa membuat jengkel visitor, hehehe…

Ok langsung saja. pertama download dulu theme Atahualpa nya disini , setelah itu masukan script di bawah ini di footer.php

<div><?php $edit = array ('-' , '/' , '.html');
$sumber = str_replace($edit, ' ', $_SERVER['REQUEST_URI']);
?>
<?php
// Get RSS Feed(s)
include_once(ABSPATH . WPINC . '/feed.php');

$query = $sumber ;
$rss = fetch_feed('http://www.bing.com/search?q=' . str_replace(' ', '+', $query) . '&go=&form=QBLH&filt=all&format=rss');

if (!is_wp_error( $rss ) ) : // Checks that the object is created correctly
// Figure out how many total items there are, but limit it to 10.
$maxitems = $rss->get_item_quantity(5);

// Build an array of all the items, starting with element 0 (first element).
$rss_items = $rss->get_items(0, $maxitems);
endif;

?>
<?php if ($maxitems == 0)
echo ' ';
else

// Loop through each feed item and display each item as a hyperlink.
foreach ( $rss_items as $item ) : ?>

<h2><a href="http://onrumah.com/<?php echo $item->get_permalink(); ?>" target="_blank" rel="nofollow"><?php echo $item->get_title(); ?></a></h2>
<?php echo $item->get_description(); ?>
<?php

$erase = array ('block keyword di sini',';' , '%' , '+' , '-' , '&', ':' , 'amp;' , ' ...' , ' ....' , ' .....' , '–' , '|' , '/' , '[' , ']' , '?' , '$' , ','  , '.' , '«' , '(' , ')', '::' , '~');
$first = str_replace ($erase , '' , $item->get_title());
$encode = urlencode(strtolower($first));
$plus = str_replace ('+' , '-' , $encode);
$minus = array ('--' , '---' , '----');
$link = str_replace ($minus , '-' , $plus);
?>
<a href=<?php bloginfo('url'); ?>/search/<?php echo $link; ?>><?php echo $item->get_title(); ?></a>
<?php endforeach; ?></div>

10 Comments

Leave a Comment
  1. serambi indonesia / Oct 30 2011 2:29 pm

    Unik

  2. dikka96 / Jan 9 2013 1:04 pm

    Oh gitu ya.. thanks ya, artikelnya bermanfaat

  3. agc wordpress / May 6 2014 4:02 am

    agc lawas yang sampai sekarang masih works (y)

  4. makasih mas tutorialnya.. 😀

  5. Sepeda Listrik Murah / Jun 8 2015 5:28 pm

    Asik juga ya gan, gak repot duit ngalir, mesti dicoba neh

  6. nam / Aug 16 2015 1:56 pm

    itu pakai database bang?

  7. Bayu / Aug 18 2015 3:49 am

    Pada saat masukan script di footer.php, script ori footer.php ditambahi atau diganti total?

    Kalo ditambahi ditaruh dimananya?

  8. Daman / Nov 23 2015 11:26 am

    saya juga mau coba nih
    buat blog agc
    penasaran juga sihh

Leave a reply to agc wordpress Cancel reply