My Blog


Memindahkan Website (Migrasi) WordPress – Experiental Learning

Dalam Web Development pada Maret 16, 2009 oleh ariefbb

Setelah sukses upgrade wordpress untuk website institusi, sekarang saya diminta bantuan untuk migrasi website yang juga pake wordpress. Pada saat diminta, rasanya sih dah terbayangkan proses yang akan dilakukan. Backup websitenya dan databasenya, ubah file config-nya, harusnya selesai prosesnya.

Ternyata setelah dilakoni, ada beberapa hal yang missed. Pengalaman migrasi moodle, joomla, cms-cms lainnya, tetep harus nambah konsultasi dengan mbah google sebagai referensi menambahkan beberapa informasi supaya migrasi ini juga sukses.

upload backup file

langkah pertama adalah upload back-up file. File-file yang sebelumnya telah dibackup kemudian diupload-kan. Caranya gampang, tinggal gunakan software ftpclient kl server hostingnya mendukung layanan ini. Kalau tidak mendukung, tinggal pake cpanel. tp pasti aja, butuh waktu lebih lama. :-)

deploy database

langkah kedua adalah deploy database. siapkan file sql, create database dengan menggunakan fitur yang ada di tempat hosting. kalau menggunakan server sendiri, gunakan phpmyadmin atau shell command untuk mengakses ke database. bila db telah dibuat, impor script sql lama dengan phpmyadmin.

setting wp-config

setelah semua file berhasil diupload, kemudian edit wp-config.php. update konfigurasi database sesuai dengan konfigurasi database yang baru. Apabila telah selesai, kemudian akses ke website dengan menggunakan url yang baru. Ternyata.. hasilnya adalah : website tidak muncul

Sesuai dengan kebiasaan, maka langkah selanjutnya adalah mencari url path dan absolute path. Ternyata dua fitur ini di wordpress tidak ditulis di file config. Tetapi adanya di database. (kita bisa ubah settingnya dari wp-admin). Berhubung wp-admin juga tidak muncul, maka langkah selanjutnya adalah konsultasikan ke google. Hasilnya adalah dokumen lengkap memindahkan website wordpress.

Edit table wp-post

Langkah selanjutnya adalah edit table wp-post. Buka database mysql website yang kita buat dengan menggunakan phpmyadmin. cari field ‘guid’. klik tab di atasi SQL. ketik:

———-

UPDATE wp_posts SET guid = REPLACE (
guid,
'http://exampleoldsiteurl.com',
'http://examplenewsiteurl.com');

———

klik [go].

Edit table wp-option

Langkah berikutnya adalah mengedit data url pada table wp-option di field web-id, dan blog-id. Klik tombol [go].

Edit posting

Langkah di atas mengakhiri pekerjaan back-end. Selanjutnya adalah pekerjaan front-end dengan menggunakan browser sebagai medianya.

Bukalah situs wordpress yang baru. Kemudian login di login wp-admin. Ketikkan username dan password lama. Kemudian edit postingan yang lama. Bagian yang pokok adalah mengubah link-linknya dengan link yang baru.

Kurang lebih langkah-langkah memindahkan website wordpress seperti di atas caranya. Link lebih dalam bisa masuk ke url : http://codex.wordpress.org/Changing_The_Site_URL

37 responses to “My Blog”

  1. Crenleria-tool says:

    membaca seluruh blog, cukup bagus

  2. admin says:

    Terima kasih,
    mohon saran dan kritiknya

  3. Peldreuralf says:

    Hello. Often the Internet can see links like Buy cialis without prescription or Buy cialis without prescription. Is it safe to buy in pharmacies such goods?

  4. admin says:

    i think it’s safe

  5. tgemar says:

    Hello All,
    I am currently looking into what helps people to quit smoking. I know that Nicotine Replacement Products such as patches, gum & lozenges aid you in your quest to quit smoking but i want to know what personally helped you. I read the article a couple days ago while I was at work.
    http://depts.washington.edu/tltthree/doc/ But I do not quite agree with this optimism.
    Any websites which guided you or helped in any way?

  6. embachamCasse says:

    buy phentermine here buy phentermine online without prescription cheap phentermine

  7. GixellImilm says:

    On different years, along with others, I take been studying the worldwide blast in higher course of study in both developing and developed nations. These studies document that the rates at which young men, and noticeably pubescent women, be suffering with been graduating from universities contain accelerated in damn near every countryside during the whilom 30 years. China, for archetype, has xanax without prescription had a rise in enrollments at universities of both progeny men and women since close to 1990, and a abrupt vegetation since the new 1990s. A compare favourably with rapid burgeoning of higher teaching has also occurred in many other still developing countries, such as South Korea. Developed countries too arrange generally also greatly increased enrollments at universities, although the US has fallen behind in the fraction of boyish men who whack on from weighty alma mater to receive a college education.

  8. I know I’m a little late in adding my thoughts but this particular article made me think. It was a fascinating piece. I have become a returning reader of your blog since I found your blog a while back. I can’t say that I agree with everything you stated but it was definitely intriguing! I will return again soon.

  9. I’m always amazed that with a bit of extra hunting online, a person can stumble uponsome of the most fascinating articles. It’s sort of bothers me that more websites like this aren’t ranked at the top in the search engine results. I have an associate that will really enjoy this page so I’ll send him a link to your article. I run a small company that repairs home in Houston. You could say I specialize in Houston handyman services. I’ll be happier when the US economy gets fired up again!

  10. I have become a frequent reader of your blog since I found your site a while back. I can’t say that I agree with everything you stated but it was emphatically fascinating! I manage a small firm that arranges financing for businesses in Texas that banks don’t lend to anymore. I’m the sort who still believes America keeps improving in spite of our present difficulties. I’m not sure if my other post was successful so I’m attempting again. Thanks for a fascinating blog post. I will be back again soon.

  11. cialis says:

    online cialis , [url=http://univ-prog.disl.org]cialis[/url] cheap cialis http://univ-prog.disl.org Order cialis.

  12. supra shoes says:

    He who makes constant complaint gets little compassion.

  13. order klonopin [url=http://www.grahamgoode.com/bluefin/]klonopin[/url] order klonopin http://www.grahamgoode.com/bluefin/
    online tramadol [url=http://www.grahamgoode.com/team.php]tramadol[/url] cheap tramadol http://www.grahamgoode.com/team.php
    online alprazolam [url=http://marineecologylab.disl.org/]alprazolam[/url] buy alprazolam http://marineecologylab.disl.org/
    online tramadol [url=http://www.himalayanacademy.com/innersearch/]buy tramadol[/url] order buy tramadol http://www.himalayanacademy.com/innersearch/
    cheap lorazepam [url=http://ecosystemslab.disl.org/]lorazepam[/url] online lorazepam http://ecosystemslab.disl.org/

  14. A close mouth catches no flies.

  15. A little body often harbors a great soul.

  16. Ideal is the beacon. Without ideal, there is no secure direction; without direction, there is no life.( Leo Tolstoy, Russian writer)

  17. A friend in need is a friend indeed.A friend is easier lost than found.A friend is never known till a man has need.

  18. Cheats never prosper.Children are what the mothers are.

Leave a Reply

You must be logged in to post a comment.