How to Move WordPress Blog to New Domain or Location Bagaimana Wordpress Blog Pindah ke New Domain atau Lokasi
For blogger who self-hosts the WordPress blog publishing system on a web hosting server with own registered domain name, sometimes, you may decide to reorganize the blog link URL to make it tidier or to reflect new focus or theme of the blog. Untuk blogger yang host sendiri blog WordPress sistem penerbitan di hosting web server dengan nama domain terdaftar sendiri, kadang-kadang, Anda mungkin memutuskan untuk mengatur kembali blog link URL untuk membuatnya lebih rapi atau untuk mencerminkan fokus baru atau tema dari blog. If you decide to change the URL or link location of your WordPress blog due to changing of domain name (such as from http://www.old-domain.com/ to http://www.new-domain.com/) or the blog to another directory location (such as from http://www.domain.com/ to http://www.domain.com/blog/), there are some steps that should be done to ensure the proper migration and no breaking links. Jika Anda memutuskan untuk mengubah URL atau lokasi link blog WordPress Anda karena perubahan nama domain (misalnya dari http://www.old-domain.com/ ke http://www.new-domain.com/) atau blog ke lokasi direktori lain (misalnya dari http://www.domain.com/ ke http://www.domain.com/blog/), ada beberapa langkah yang harus dilakukan untuk memastikan migrasi yang tepat dan tidak melanggar link.
The tricky part when moving WordPress blog to another location is that WordPress is using absolute path in URL link instead of relative path in URL link location when stores some parameters in database. Bagian yang sulit ketika Wordpress blog pindah ke lokasi lain adalah bahwa Wordpress menggunakan path absolut di link URL, bukan path relatif di link URL lokasi ketika toko-toko beberapa parameter dalam database. Within blog posts' contents itself, users may also use the old URLs when creating reference backlinks. Dalam posting blog 'isi sendiri, pengguna juga dapat menggunakan URL yang lama ketika membuat referensi link balik. All these values in the database will need to be changed when WordPress is moved. Semua nilai-nilai ini dalam database perlu diubah bila Wordpress adalah bergerak. The following guide will show you which database fields that has references or values related to blog's URLs that you want to modify. Panduan berikut ini akan memperlihatkan kepada Anda yang bidang database yang memiliki nilai referensi atau berkaitan dengan URL blog yang ingin Anda ubah. Note that this guide is not about how to move WordPress blog from one server or host to another new hosting service. Perlu dicatat bahwa panduan ini bukan tentang bagaimana bergerak Wordpress blog dari satu server atau host ke yang lain layanan hosting baru.
Once the blog has been moved (all files copy over in case of moving location or server or new domain name properly propagated across Internet for new domain name), the first thing to change is to tell WordPress the new blog location (wp-config.php should be no changes, and .htaccess file should be also no changes. If for some reason mod_rewrite rules for friendly URLs no longer works, you can always regenerate the .htaccess file via WP Administration's Update Permalinks page). Setelah blog telah dipindahkan (semua file salinan atas kasus bergerak dalam lokasi atau server atau nama domain baru dengan benar yang disebarkan di Internet untuk nama domain baru), hal pertama yang harus berubah adalah memberitahu Wordpress blog baru lokasi (wp-config. php boleh ada perubahan, dan. htaccess file harus juga tidak ada perubahan. Jika karena alasan tertentu mod_rewrite URL ramah aturan untuk tidak lagi bekerja, Anda selalu dapat regenerasi. htaccess file melalui WP's Update Permalinks Administrasi halaman). This value can be changed via WordPress Options page, but if you no longer able to access to old blog URL, you have to modify the value via MySQL database. Nilai ini dapat diubah melalui halaman Pilihan Wordpress, tapi jika Anda tidak lagi dapat mengakses ke URL blog yang lama, Anda harus memodifikasi nilai melalui database MySQL.
Note: The guide uses SQL statements based on Catatan: Panduan ini menggunakan perintah SQL berdasarkan MySQL replace() function MySQL menggantikan () fungsi to modify the database. untuk mengubah database. To run SQL queries, login to MySQL database that houses WordPress tables via phpMyAdmin or login to the DB server and run MySQL client as root. Untuk menjalankan SQL queries, login ke database MySQL bahwa rumah Wordpress tabel melalui phpMyAdmin atau login ke DB server dan klien menjalankan MySQL sebagai root.
To update WordPress options with the new blog location, use the following SQL command: Untuk memperbarui pilihan Wordpress dengan lokasi blog baru, gunakan perintah SQL berikut:
UPDATE wp_options SET option_value = replace(option_value, 'http://www.old-domain.com', 'http://www.new-domain.com') WHERE option_name = 'home' OR option_name = 'siteurl';
After that you will need to fix URLs of the WordPress posts and pages, which translated from post slug, and stored in database wp_posts table as guid field. Setelah itu Anda akan perlu untuk memperbaiki URL dari posting dan halaman Wordpress, yang diterjemahkan dari pos siput, dan disimpan dalam database tabel sebagai guid wp_posts lapangan. The URL values in this field are stored as absolute URLs instead of relative URLs, so it needs to be changed with the following SQL query: URL nilai dalam bidang ini disimpan sebagai URL mutlak bukannya relatif URL, sehingga perlu diubah dengan query SQL berikut:
UPDATE wp_posts SET guid = replace(guid, 'http://www.old-domain.com','http://www.new-domain.com');
If you have linked internally within blog posts or pages with absolute URLs, these links will point to wrong locations after you move the blog location. Jika Anda telah terhubung secara internal di dalam posting blog atau halaman dengan URL absolut, link ini akan mengarah ke lokasi yang salah setelah Anda memindahkan lokasi blog. Use the following SQL commands to fix all internal links to own blog in all WordPress posts and pages: Gunakan perintah SQL berikut untuk memperbaiki semua internal link ke blog sendiri di semua posting dan halaman Wordpress:
UPDATE wp_posts SET post_content = replace(post_content, 'http://www.old-domain.com', 'http://www.new-domain.com');
Browse through WordPress blog to check if everything is okay. Menelusuri blog Wordpress untuk memeriksa apakah semuanya baik-baik saja. You also need to re-login to WP Administration as authentication cookie has now became invalid due to different domain. Anda juga perlu re-login ke WP Administrasi sebagai cookie otentikasi kini menjadi tidak valid karena domain yang berbeda.
IMPORTANT : The page is machine translated and provided "as is" without warranty. PENTING: Halaman ini adalah mesin diterjemahkan dan diberikan "sebagaimana adanya" tanpa jaminan. Machine translation may be difficult to understand. Terjemahan mesin mungkin sulit untuk mengerti. Please refer to Silakan merujuk ke original English article artikel asli bahasa Inggris whenever possible. bila memungkinkan.
Related Articles Artikel Terkait
- Using PHP-MySQL Persistent Connections to Run WordPress Blog Menggunakan PHP-MySQL Koneksi Persistent untuk Jalankan Wordpress Blog
- Replace Google Blog Search with Technorati for Incoming Links in Dashboard of WordPress Ganti Google Blog Search dengan Technorati untuk Incoming Links di Dashboard dari Wordpress
- WLWManifest Disabler Plugin to Remove XLM Link in WordPress Blog Header Plugin untuk WLWManifest Disabler Hapus XLM Link di Wordpress Blog Header
- AdSense and Display Banner Ads Rotation in WordPress Blog or Websites AdSense dan Tampilan Iklan Banner Rotasi di Wordpress Blog atau Website
- How to List and Show WordPress Posts That Comments and Pings Off (Not Allow) Cara Daftar dan Tampilkan Wordpress Posting Komentar dan Ping Itu Nonaktif (Tidak Boleh)
- Moderate WordPress Blog Comments Via Moderator with Desktop Client Moderat Wordpress Blog Komentar Via Moderator dengan Klien Desktop
- Google Domain Names Registration and Search for Free Apps for Your Domain Pendaftaran Nama Domain Google dan Search for Free Apps untuk Domain Anda
- How to Rename or Move Oracle Tablespace Datafile to Another Location Bagaimana Oracle Ubah nama atau Pindah ke lain tablespace Datafile Lokasi
- Integrate and Display Google AdSense for Search and Co-Op Custom Search Engine Results in WordPress Blog Page Template Mengintegrasikan dan Tampilan Google AdSense untuk Pencarian dan Co-Op Custom Search Engine Hasil di Wordpress Blog Page Template
- How to Delete Existing WordPress Post Revisions Stored/Saved Cara Hapus ada Stored Revisi Wordpress Posting / Saved










































October 17th, 2009 17:41 17 Oktober 2009 17:41
Thanks for the tips ! Thanks for the tips!