Archive for the ‘Wordpress’ Category
tips optimalisasi wordpress
Pada artikel ini saya akan memberikan tips praktis, copy-paste, mengenai bagaimana mengoptimasi blog WordPress anda agar berada dalam performa maksimal—baik dalam akses front-end maupun backend.
Selain tips dan trik mempercepat akses blog yang pernah saya tulis dulu, tentu saja cara termudah menjaga performa blog WordPress pada level yang paling dasar adalah dengan memastikan semua core files dan plugin dalam versi terbaru—setiap update biasanya menyertakan patch, bug fix, atau optimasi script yang menambah kecepatan dan memperkuat tingkat keamanan blog WordPress.
Sebagian besar tips berikut diambil dari rekomendasi best practices oleh para WordPress & CSS gurus—diantaranya Jeff Starr dan Chris Coyier (keduanya adalah penulis buku Digging Into WordPress), jadi metode-metode berikut bisa diterapkan secara umum.
instalasi wordpress secara offline
WordPress merupakan sebuah layanan blog yang cukup besar saat ini. Anda dapat menbuat blog gratis di sana. Akan tetapi di sini kita akan mencoba latihan membuat blog secara offline di localhost. Anda dapat secara bebas latihan me-manage weblog atau sekedar latihan posting.
Langkah pertama yang harus anda lakukan adalah mendownload source files WordPress, anda bisa mengabilnya secara gratis di sini. Disana akan ada dua link download, satu untuk mendownload WP dalam bentuk file .zip yang kedua dalam bentuk file .tar.gz. Saya belum pernah melakukan instalasi dari file .tar.gz, jadi kita ambil yang .zip aja ya.

Sudah….? jika sudah ada harus meng-unzip file tersebut, anda bisa menggunakan program winzip atau winrar. Setelah anda unzip, didalamnya akan ada satu folder benama wordpress.
Kemudian silakan anda copykan folder wordpress tadi ke c:/xampp/htdocs. Jangan lupa ya, alamat foder tersebut berlaku jika anda menginstal XAMPP di c:. Kalau ternyata anda menginstal XAMPP tidak di c:, ya tingal di sesuaikan saja yang penting folder wordpress nya dimasukan ke folder htdocs yang ada di XAMPP.
Oke, langkah selanjutnya kita harus membuat database untuk wordpress kita. Caranya silakan anda jalankan XAMPP nya, seperti dalam postingan instalasi XAMPP. Kemudian buka web browser lalu ketikan “localhost” dibagian adress bar, akhiri dengan menekan tombol enter. Anda akan diantarkan ke halama XAMPP control panel.
Silakan anda klik menu phpMyAdmin pada bagian sidebar di halaman XAMPP control panel.

Jika sudah maka akan tampil halaman seperti gambar dibawah

Selanjutnya kita akan membuat database untuk wordpress kita, caranya silakan isikan nama databasenya dikolom “create new database” (tanda panah merah pada gambar diatas). Nama database bebas terserah anda, misalnya “WP1“, maka anda tinggal mengetikan kata WP1 di kolom isian “create new database” tersebut. Jika sudah silakan klik tombol “create“. Oya, sementara ini anda tidak perlu merubah isian yang lainnya, cukup isikan nama database di tempatnya saja. Jika sudah berarti pembuatan databasenya selesai.
Lanjut ya, sekarang kita mulai instalasi WordPress nya. Pertama kita hubungkan database yang sudah kita buat dengan wordpress nya. silakan anda buka file yang bernama wp-config-sample.php. File ini berada di c:/xampp/htdocs/wordpress/. Silakan anda buka menggunakan notepad atau program sejenis. Jika sudah maka akan muncul seperti tampilan di bawah

Perhatikan garis merah pada gambar diatas ya. Kata ‘putyourdbnamehere’ kita ganti dengan nama database yanng tadi kita buat yaitu WP1. Sedangkan untuk ‘usernamehere‘ kita ganti dg ‘root‘ dan ‘yourpasswordhere‘, kita hapus aja karena database yang kita buat tidak menggunakan password. Harap ingat ya, ketika menghapus kata ‘yourpasswordhere’, tanda kutip yang mengapit kata yourpasswordhere jangan ikut dihapus. Jika sudah tampilan nya akan seperti gambar dibawah

Kalau sudah, silahkan Save As file yang sudah dimodifikasi tersebut dengan nama wp-config.php. (bukan wp-config-sample.php ya).

Jalankan program XAMPP nya dulu ya. Di postingan terakhir kita sudah memodifikasi file wp-config-sample.php menjadi wp-config.php dengan cara memasukan nama database yang sudah kita buat melalui MyPhpAdmin di XAMPP, merubah kata ‘useridhere‘ menjadi ‘root‘ dan menghapus ‘yourpasswordhere‘. Jika kita sudah melakukan hal diatas, berarti instalasi wordpress nya hampir selesai. Tinggal lakukan tahap akhir.
Silahkan anda buka web browser nya, kemudian ketikan di adress bar : http://localhost/wordpress. maka akan muncul tampilan seperti dibawah

Halaman diatas menunjukan bahwa tahap instalasi wordpress sebelumnya sudah dilewati dengan benar. Silahkan isi kolom “Blog Title” dengan judul blog anda dan “Your e-mail” dengan alamat email anda, kemudian klik tombol “Install WordPress“. Setelah anda klik, maka anda akan diantarkan pada halaman seperti dibawah

Dapat dilihat bahwa proses instalasi wordpresnya sudah berhasil, dan anda diberikan user ID : admin dan paswrord : f5f3c4. pasword dan user ID ini akan digunakan untuk login ke halaman admininstrator pada wordpress anda nanti, jadi jangan samai lupa ya.
Selesai sudah instalasi wordpress nya. Mudah bukan ? untuk mejalankan wordpress yang sudah kita install, Anda tinggal membuka web browser, kemudian ketikan di bagian addres bar :
http://localhost/wordpress/wp-admin
atau bisa juga
http://localhost/wordpress/wp-login.php.
Akhiri dengan menekan tombol “enter“, maka akan muncul halaman seperti dibawah

Silahkan isi dengan user ID dan pasword yang sudah di dapat, kemudian tekan tombol “login“, anda akan diantarkan masuk ke halaman administrator.

Akhir kata semoga bermanfaat dan terimakasih bagi anda yang sudah mengikuti seri tutorial ini dari awal ya. Kalau ada yang mau menambahkan atau mengoreksi, dengan senang hati akan saya terima. Oya, jangan lupa juga komentar nya.?
tips dan trick rss pada wordpress
Publish The Feed Later
If you look at the possibilities of mySQL, there is a function timestampdiff(). I extend the query of WordPress with this function. Note to query the feed before (is_feed()), if not it will be also happening for the classical publishing of posts in your blog.
The following example publishs the post 5 minutes later in your feed:
/**
* puplish the content in the feed later
* $where ist default-var in WordPress (wp-includes/query.php)
* This function an a SQL-syntax
*/
function publish_later_on_feed($where) {
global $wpdb;
if ( is_feed() ) {
// timestamp in WP-format
$now = gmdate('Y-m-d H:i:s');
// value for wait; + device
$wait = '5'; // integer
// http://dev.mysql.com/doc/refman/5.0/en/date-and-time-functions.html#function_timestampdiff
$device = 'MINUTE'; //MINUTE, HOUR, DAY, WEEK, MONTH, YEAR
// add SQL-sytax to default $where
$where .= " AND TIMESTAMPDIFF($device, $wpdb->posts.post_date_gmt, '$now') > $wait ";
}
return $where;
}
add_filter('posts_where', 'publish_later_on_feed');
SUMBER
Redirecting WordPress Feeds to FeedBurner Feeds
The problem. Beginner bloggers usually start to use FeedBurner only after they have seen it used on many other blogs and realize how useful and cool this tool is. They sign up and start to use it, but their early readers are already subscribed to their default WordPress feed.
Another problem: do you often change your theme? If so, you must be bored having to edit each call to bloginfo(’rss2_url’) and replace it with your FeedBurner feed’s URL.
The solution. The solution to both problems described above is simple: use server redirections.
- Create a backup of your .htaccess file, located in the root of your Web server.
- Edit the .htaccess file and add the following code. Don’t forget to modify the feed’s URL with your own feed’s URL.
1# temp redirect wordpress content feeds to feedburner2<IfModule mod_rewrite.c>3RewriteEngine on4RewriteCond %{HTTP_USER_AGENT} !FeedBurner [NC]5RewriteCond %{HTTP_USER_AGENT} !FeedValidator [NC]6RewriteRule ^feed/?([_0-9a-z-]+)?/?$ http://feeds.feedburner.com/wprecipes [R=302,NC,L]7</IfModule> - Save the file. You’re done!
Code explanation. Each time someone clicks on a link to http://www.yourblog.com/feed, he or she will be redirected to http://feeds.feedburner.com/yourblog. This way, you will have never lost an RSS subscriber, and even if you change your theme twice a day, you’ll never have to manually edit your RSS feed links again.
Sources
- Redirect WordPress feeds to FeedBurner via htaccess (Redux)
- How to: redirect WordPress RSS feeds to FeedBurner with .htaccess
Insert Ads (or Anything Else) in Your RSS Feed
The problem. Monetizing RSS feeds is currently becoming a common practice, and many blog owners do it to maximize their income. FeedBurner can insert AdSense ads into your feed items, but you need at least 500 subscribers to qualify, and you can’t use any ads other than the AdSense ads provided by FeedBurner.
The solution. It is possible, though, to insert other kinds of ads into your RSS feed. You can, for example, use a link to a free WordPress theme only for your RSS subscribers.
Follow these simple steps to perform this hack:
- Edit the functions.php file of your theme. If your theme doesn’t have a functions.php file, simply create one.
- Paste the following code into your functions.php file:
1<?php2functioninsertAds($content) {3$content=$content.'<hr /><a href="http://www.wprecipes.com">Have you visited WpRecipes today?</a><hr />';4return$content;5}6add_filter('the_excerpt_rss','insertAds');7add_filter('the_content_rss','insertAds');8?> - Save the file. You’re now displaying your ads in your RSS feed!
Code explanation. I have seen many similar hacks on the Web, but all of them require you to edit WordPress core files to achieve the same result. Of course, editing WordPress core files is a very bad idea because then you would have to re-edit the files each time you upgrade your blog. Instead, this hack uses the add_filter() WordPress function to insert content into your RSS feed without editing any core files.
Sources
Format Your Images for Feed Readers
The problem. You took a lot of time to write and format your post and add beautiful screenshots. It looks so good on your blog. Sadly, when the post is displayed in Google Reader or any other RSS reader, it doesn’t look so great.
The solution. This is due to the fact that most feed readers display images inline with text:

To avoid this problem, add a CSS class to display the image as a block. WordPress provides the built-in class “center“:
Sources
Provide Your Readers with a Feed for Each Post
The problem. When a post has lots and lots of comments, it can be hard for readers to follow the conversation. Most WordPress users don’t know this, but our favorite blogging engine has a built-in function for providing an RSS feed for the comments in each post.The solution. Well, this recipe isn’t really a hack or anything: to provide an RSS feed for the comments in a particular post, just call the comment_rss_link() function:
Sources
Exclude Categories from Your RSS Feed
The problem. Do you use one of your blog categories to let readers know about your website’s news, or does your blog feature a category that has nothing to do with the rest of your content? If so, it is generally not a good idea to include it in your RSS feed.
The solution. Here’s how to get rid of one of the categories in your RSS feed:
- First, get the numeric ID of the category you want to exclude. If you don’t know how to get the ID of a particular category, you can learn how here.
- Once you have the ID of the category you want to exclude from your RSS feed, edit the functions.php file in your theme. Create the file if it doesn’t exist.
- Paste the following code in it:
- Save the file, and you’re done!
Code explanation. This hack works exactly the same way as the previous one: create a custom function to exclude the category that you don’t want to appear in your RSS feed, and then use the super-useful add_filter() function to apply it to the pre_get_posts() WordPress core function.
Sources
Display Any RSS Feed on Your WordPress Blog
The problem. Do you have more than one blog, or do you manage a forum? If so, you may want to be able to display any RSS feed on your WordPress blog.
The solution. Many plug-ins can do the job, but they’re not necessary at all. WordPress has a built-in RSS reader that is used, for example, to display news on your dashboard. All you have to do is use it in your theme.
- Paste the following code anywhere in your theme (personally, I’d put it in the sidebar, the footer or, even better, the page template):
1<?phpinclude_once(ABSPATH.WPINC.'/rss.php');2wp_rss('http://feeds.feedburner.com/wprecipes', 3); ?> - Save it and you’re done. It’s as easy as that!
Code explanation. The first thing we have done is include the rss.php file from WordPress core. This file allows us to use the wp_rss() function, which takes two parameters: the first is the RSS feed’s URL, and the second is the number of RSS entries to be displayed.
Sources
Use Category-Specific RSS Feeds
The problem. Many blogs talk about a lot of different topics: design, programming, blogging tips, etc. Have you ever come across a blog in which you have enjoyed only one category of posts? If so, you should definitely consider offering one feed per category to your own readers.
The solution. Let’s say you’d like to be able to subscribe only to TheGridSystem’s tools section. The category URL is:
1 |
http://www.thegridsystem.org/categories/tools/ |
To get an RSS feed for this category, you simply have to add /feed to the end of the URL:
1 |
http://www.thegridsystem.org/categories/tools/feed |
Pretty easy, isn’t it? But pretty useful, too, in my opinion.
List RSS Feeds by Category

The problem. If you like the previous hack, you will probably also want to be able to display the names of all your category feeds in a list to your readers.
The solution.
- Edit any of your theme files, where you want to list your categories and their accompanying feeds.
- Paste the following code:
1<?php wp_list_categories('feed_image=http://www.myblog.com/image.gif&feed=XML Feed&optioncount=1&children=0'); ?> - Save the file. You categories will now be displayed, along with their RSS feeds!
Code explanation. This hack uses only the good old wp_list_categories() function, with two parameters. The first is feed_image, which allows us to specify the URL to be displayed as a feed image. The second parameter is feed, which is used to specify the feed format.
Get Rid of RSS Feeds the Clean Way

The problem. Let’s say you’re using WordPress as a CMS to manage your online portfolio or your company’s website. In such cases, the RSS feed isn’t that useful, and some people would probably want to remove it.
The solution. I have seen many “hacks” on the Web where people say you just have to remove the include on the wp-settings.php core file. I don’t think you should ever edit a core file. Instead, the following hack will do the job. Simply paste this code in the functions.php file of your theme:
1 |
function fb_disable_feed() { |
2 |
wp_die( __('No feed available,please visit our <a href="'. get_bloginfo('url') .'">homepage</a>!') ); |
3 |
} |
4 |
5 |
add_action('do_feed', 'fb_disable_feed', 1); |
6 |
add_action('do_feed_rdf', 'fb_disable_feed', 1); |
7 |
add_action('do_feed_rss', 'fb_disable_feed', 1); |
8 |
add_action('do_feed_rss2', 'fb_disable_feed', 1); |
9 |
add_action('do_feed_atom', 'fb_disable_feed', 1); |
Sources
Tutorial Lengkap SEO WordPress menghasilkan uang PART 3
BAGIAN III
MOTIVASI
Membuat situs atau blog itu gampang, Optimisasi ONpage SEO juga gampang, daftar adsense atau program PPC, Affilate lain memang gampang tapi kenapa banyak Publisher gagal? kenapa tidak ada vistor? kenapa penghasilan masih 0$?
mungkin itu yang menjadi pertanyaan banyak orang tentang bisnis internet, gampang kelihatannya tapi sulit implementasinya.
Sebelum melakukan bisnis internet anda harus betul betul mengetahui apa saja resikonya dan berapa waktu yang anda butuhkan untuk bisnis itu, jangan sampai membuang terlalu banyak waktu. kuncinya adalah tentukan salah satu sasaran yang pingin anda raih. anda pengin bisnis apa?
Secara umum bisnis internet content based yang banyak diminati adalah dan terbukti bisa menjadi pegangan utama bisnis online anda adlah :
1. Google adsense
2. Amazon
3. Cj, Clickbank, Paydotcom
4. Affiliate yang lain
Jangan Buang buang waktu anda maen PTC,PTR,PTS,PTI dll karena program itu hanya membuang waktu dengan hasil yang tidak sebanding. berfikirlah untuk membuat suatu sistem conten based yang unik, Otomatis dan menghasilkan uang untuk anda?
Pertama tama anda harus menentukan tujuan dan fokus pada tujuan itu, misal anda fokus kepada adsense yah harus fokus disitu jangan tergoda dengan yang lain, kalo anda sudah sukses atau mentok sama sekali maka baru mencoba usaha yang lain.
KONSEP MENCAPAI TUJUAN
Nah Setelah Juragan Tahu mau kemana tujuan juragan sebenarnya maka saatnya bertindak, tidak usah menuggu jadi mstah dolo
di atas telah diuraikan sedikit tentang onpage dan offpage seo, nah jika agan2 telah melakukannya sekarang giliran……offpage seo
loh kok offpage seo lagi? yup offpage seo merupakan bagian terpenting dari SEO, offpage seo jugalah yang menentukan SERP! lalu apa itu offpage seo?
offpage seo yaitu bagaimana web kita dimata SE berdasarkan reputasi pada web lain (pengertian gampangnya aja )
reputasi ini sangat dipengaruhi oleh BACKLINK, backlink mengandung peranan sangat penting dalam SEO keseluruhannya. nah oleh karena itu kita perlu memperoleh banyak backlik.
APAKAH SEMUA BACKLINK BAIK?
JAWABNYA TIDAK! backlink memang snagat berguna bagi seo tetapi hati hati jangan asal menaruh backlink!!!
backlink yang baik mempunyai ciri :
* Do Follow
* PR Tinggi
* Extension Domain Tertentu .gov .edu .ac.id .go.id dll
* Mempuyai topik yang berhubungan dengan blog kita
pada list diatas yang paling penting pertama adalah backlik harus dofolow artinya SE dapat menelusuri link kita dari backlink tersebut. yang kedua adalah PR = page rank, semakin besar PR maka semakin bagus buat backlink, artinya semakin dianggap penting oleh SE (ingat walaupun PR tinggi kalau tidak dofollow percuma). yang domain khusus ini baik karena SE menganggap domain domain dengan extensi khusus itu penting oleh karenaya kita kalau bisa memasang dengan domain khusus maka blog kita juga dianggap penting dan meningkatkan serp. yang terakhir tidak harus dilakukan cuman akan lebih baik jika dilakukan.
tutorial-lengkap-seo-wordpress-untuk-dapet PART 2
Langkah sebelumnya Hanya onPAGE SEO
Sekarang saatnya Off page SEO
Daftar Google Webmaster TOOLS
silahkan daftar di : www.google.com/webmasters/tools/ setelah daftar add site—>setelah itu—verify site dengan Plugin AA search Engine verify. caranya : pilih option add meta tag pada google webmaster tools—>copy meta tag, nah masuk ke admin wp—>AA Seach engine verify—>masukkan meta tag google.
setelah itu kembali ke google webmaster tools dan klik verify, setelah selesai langkah selanjutnya add sitemap. langkah :
Masuk ke wp admin—>setting—>google xml sitemap generator dan build sitemapmasuk ke google webmaster tools—>add sitemap–>
www.situskamu.com/sitemap.xml
done
http://search.yahoo.com/info/submit.html —> SUBMIT URL YAHOO
http://www.bing.com/docs/submit.aspx —–> SUBMIT URL BING
dll…
Cara Mengisi Blog Dengan konten Unik, Fresh, Dan banyak dicari tanpa harus pusing
- masuk http://google.com/trends , untuk melihat perkembangan keyword anda. cari yang trendnya naik atau datar
- masuk https://adwords.google.com/select/KeywordToolExternal , untuk melihat banyaknya saingan keyword bidikan kita
- setelah ketemu keywordnya
misal = Dedicated webhosting, langsung aja masuk ke :
http://babelfish.yahoo.com
nah disana kamu translate keyword dedicated web hosting dari english ke bahasa2 berikut : jerman, prancis,dll yang penting non english (pilih salah satu)
nah hasil translatan tadi segera search di google.com :
masuk http://www.google.com ketik
hasil translatan keyword
setelah itu akan muncul jutaan article sesuai keyword dalam bahasa non english, segera pilih pilih yang cocok lalu copy content/articlenya masuk ke lagi http://babelfish.yahoo.com translate article non english tadi ke english, viooola …..article english sudah diperoh dengan mudah. untuk menambah kualitas article masukkan ke MS word dan cek spellingnya (biasanya yang ada garis merah putus2 itu salah, rubah didkit2 atau rewrite) dan last : posting ke blog anda
UPDATE OFFPAGE SEO JILID II
* Backlink = Backlink adalah seberapa banyak link blog kita berada pada web/blog orang lain, backlink harus memilih blog yang dofollow, jangan nofollow. cara ngeceknya pake plugin firefox aja, nodofollow
* Cara Mencari backlink : Comment di blog orang yang relevan, Signature Forum (hati2 tidak semua forum mengijinkan), Link Building = Membangun Link Sesama Blog kita tetapi masing blog beda hosting, Membuat Dummy Blog Gratisan Misalnya buat blog di blogger.com WordPress.com dan di isi article terus isi dengan link yang menuju situs kita, Pasang Iklan Baris baik Gratis maupun Premium, Link exchange dll.
* Cara mendatangkan Visitor Unik Cara Lainnya Dianjurkan = Membuat Template WordPress, HTML, Atau CMS lainnya di kasih link ke blog kita di footernya, Upload dan share di forum2/blog, Menjawab Pertanyaan Di Yahoo Answer Dan Dikasih Link Website Kita , Membuat Blog Kita Menjadi HomePage Diwarnet2 Atau di komputer temen kita, kampus,sekolahan (NB : Tanpa Deepfreeze).
* Cara Mendatangkan Visitor Unik Lainnya (agak Jahat tidak dianjurkan, cuman buat pengetahuan) = Spamming pada MIRC misalnya Foto bugi klik disini , Spamming lewat email.
* Visitor Unik = Membuat Stiker, Kaos, Atau gantungan kunci berisi blog kita dan berikan/tempelkan ke Helm, Mobil, Motor, kaos berikan ke anak jalanan (sambil beramal ) —> Cara Ini Baik Buat Toko Online
