How to Move WordPress Blog to New Domain or Location WordPressのブログに移動する方法を新しいドメインまたは場所

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. Bloggerのwhoをホストして自己のWordPress Blog出版システムは、自身のウェブホスティングサーバーに登録されたドメイン名、時には、決定を再編成することがありますブログのURLをリンクすることtidierまたは新たな焦点を反映するかのテーマのブログです。 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.決定を変更する場合のURLまたはリンクの場所を変更してWordPressのブログのためにドメイン名(例えば、よりhttp://www.old-domain.com/をhttp://www.new-domain.com/ )またはブログを別のディレクトリに配置場所(例えば、 http://www.domain.com/をよりhttp://www.domain.com/blog/ ) 、いくつかの手順を実行し、適切で行われなければならないの移行を確保するため、破壊リンクがない。

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. WordPressのブログの微妙な部分を別の場所に移動するときは、 WordPressのは、絶対パスでURLリンクを使用して相対パスではなく、 URLリンクの場所にいくつかのパラメータをデータベースに格納します。 Within blog posts’ contents itself, users may also use the old URLs when creating reference backlinks.にブログの投稿の内容自体は、ユーザーが使用しても古いURLのリファレンスを作成するときはバックします。 All these values in the database will need to be changed when WordPress is moved.すべてのこれらの値を変更する必要がありますが、データベースを移動するときにWordPressのです。 The following guide will show you which database fields that has references or values related to blog’s URLs that you want to modify.は、次のガイドでは、データベースのフィールドを表示するには、参考文献や価値観に関連するブログのURLを変更したいです。 Note that this guide is not about how to move WordPress blog from one server or host to another new hosting service.このガイドではないに注意して移動する方法をWordPressのブログから約1つのサーバーまたはホストを別の新たなホスティングサービスです。

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).一度のブログが移動された(すべてのファイルをコピーする場所や移動が発生した場合は新しいドメイン名サーバーまたはインターネットを適切に伝播新しいドメイン名)は、まず最初にWordPressの変更は、新しいブログの場所を伝える( wp-config. PHPの変更すべきである、と。 htaccessファイルを変更すべきであるにもない。もし何らかの理由でmod_rewriteのルールを友好のURL 、もはや作品は、常に再生成することができます。 htaccessファイル経由でのWP政権の更新プログラムのpermalinksページ)です。 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.この値はいつでも変更経由でWordPressのオプション]ページで、もしあなたがもはや古いブログのURLにアクセスできるようにしなければならないことに経由でMySQLデータベースの値を変更しています。

Note: The guide uses SQL statements based on注:このガイドでは、 SQLステートメントに基づいて MySQL replace() function MySQLの置換( )関数 to modify the 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. SQLクエリを実行する、 MySQLデータベースにログインしてWordPressのテーブルが格納さには、 db経由でphpMyAdminまたはサーバーにログインしてrootとしてMySQLクライアントを実行しています。

To update WordPress options with the new blog location, use the following SQL command: WordPressのオプションを更新する場所は、新しいブログには、次のSQLコマンド:

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'; 更新プログラムを設定wp_options option_value =置き換える( option_value 、 ' http://www.old-domain.com ' 、 ' http://www.new-domain.com ' )どこoption_name = 'ホーム'または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.後にする必要があります。 WordPressの記事を修正するとページのURLを指定し、これに翻訳スラグからの投稿、およびwp_postsテーブルをデータベースに格納されてGUIDフィールドです。 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として格納され、このフィールドの値を絶対URL相対URLの代わりに、これを変更する必要がありますは、次のSQLクエリを実行する:

UPDATE wp_posts SET guid = replace(guid, 'http://www.old-domain.com','http://www.new-domain.com'); 更新プログラムのGUID = wp_postsセットに置き換えます( 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.内部にある場合はブログの投稿やページのリンクを絶対URLは、これらのリンクは間違った場所をポイントして、ブログの場所に移動した後です。 Use the following SQL commands to fix all internal links to own blog in all WordPress posts and pages: SQLコマンドを修正するには、以下のすべての内部のリンクを自身のブログでWordPressの記事を、すべてのページ:

UPDATE wp_posts SET post_content = replace(post_content, 'http://www.old-domain.com', 'http://www.new-domain.com'); 更新プログラムのwp_posts設定post_content =置き換える( post_content 、 ' http://www.old-domain.com ' 、 ' http://www.new-domain.com ' ) ;

Browse through WordPress blog to check if everything is okay. WordPressのブログを閲覧すべてが大丈夫かどうかをチェックします。 You also need to re-login to WP Administration as authentication cookie has now became invalid due to different domain.することも必要にログインしてWPの投与を再認証cookieとしては今のために別のドメインが無効です。

IMPORTANT : This is a machine translated page which is provided "as is" without warranty. 重要 :これは、機械翻訳ページで提供"現状有姿"を保証します。 Machine translation may be difficult to understand.機械翻訳を理解するのは難しいかもしれません。 Please refer toをご覧ください original English articleオリジナルの英語記事索引 whenever possible.可能な限りです。

Share and contribute or get technical support and help atを共有して貢献や技術サポートとヘルプを得る My Digital Life Forums 私のデジタルライフフォーラム .です。



44 Responses to “How to Move WordPress Blog to New Domain or Location” 44レスポンスを" WordPressのブログに移動する方法や場所に新しいドメイン"

Pages: [2]ページ: [ 2 ] 1 » Show Allすべて表示

  1. Welcome to c64glen.com at C64GLeN - The blog of Glen McNamee c64glen.comでc64glenへようこそ-ブログのグレンm cnamee
    August 24th, 2008 07:39 2008年8月24日07:39
    44

    [...] database across, and after a few little changes here and there (wordpress plugins and a few little database changes) all was [...] [...]データベース全体、およびいくつかの小さな変更をした後、こことそこ( WordPressの差込といくつかの小さなデータベースの変更)のすべてが[...]

  2. Smuggle Me » Export One Wordpress Blog Category to Create a New Blog密輸メイン» WordPressのブログのカテゴリを1つの輸出で新しいブログを作成
    August 17th, 2008 10:38 2008年8月17日10:38
    43

    [...] Once you have uploaded the posts to the new blog, you’ll also want to consider running the following 2 queries as suggested here: [...] [...]をアップロードしたら、新しいブログの投稿を、また次の2つのクエリを考慮するとして提案を実行して、ここ: [...]

  3. Piotr piotr
    August 10th, 2008 05:26 2008年8月10日05:26
    42

    great info素晴らしい情報をもっと見る : )

  4. How to move WordPress blog from old domain to new domain with 301 permanent redirection - SEO / SEM blog WordPressのブログに移動する方法についてより古いドメインを新しいドメインに恒久的なリダイレクト301 -ソ/ S EMのブログ
    August 6th, 2008 18:00 2008年8月6日18:00
    41

    [...] SQL codes from mydigitallife.info SHARETHIS.addEntry({ title: “How to move WordPress blog from old domain to new domain with 301 [...] [...]のSQLコードからmydigitallife.info sharethis.addentry ( (タイトル: "どのように移動するのWordPress Blogより古いドメインを新しいドメインを301 [...]

  5. Ken Hungケンフン
    August 3rd, 2008 21:45 2008年8月3日21:45
    40

    YOU TOTALLY SAVE MY LIFE!!!!!!!!私の人生を完全に保存さ!!!!!!!! THANK YOU SO SO SO VERY MUCH!これためには大変感謝いただきありがとうございます! Yea!いや!

  6. NAthanT nathant
    July 30th, 2008 15:56 2008年7月30日15:56
    39

    Gold information.ゴールドの情報です。

    You saved me hours.メイン時間を保存します。

    Cheers乾杯

  7. We’ve Moved… Everything Must Go!すべてのお客様に移動しなければならない… ! : Foo Kabloo!者: Hoge kabloo !
    July 22nd, 2008 11:08 2008年7月22日11:08
    38

    [...] http://www.mydigitallife.info/2007/10/01/how-to-move-wordpress-blog-to-new-domain-or-location/ [...]

  8. Designer-WG » Blog Archive »デザイナ- WGの»ブログのアーカイブ»
    July 14th, 2008 20:18 2008年7月14日20:18
    37

    [...] I’ve posted this comment to the mydigitallife.info [...] [...]私はこのコメントを投稿mydigitallife.info [...]

  9. Simonサイモン
    July 14th, 2008 20:04 2008年7月14日20:04
    36

    Hi folks,ハワイの人々 、

    I had the same probs, butt I never knew on what it depend’s.私は、同じprobs 、尻をどのように依存するとは知らなかったのです。

    I changed the sites Url in the admin area of my Wordpress-blog, but that was an fault.私のサイトのURLを変更して、私のWordPressの管理事項-ブログが、それは、断層です。
    So nothing would be shown on the right place.何も表示されているのでは最適な場所です。
    Therefor I needed to change it back, but there is no way to get in the admin area again logically, after I’ve changed the root Url.だから私が先頭を変更する必要に応じて、しかしを取得する方法はありませんするには、 Admin事項を再度論理的には、私は変更後のルートを入力します。

    So I opened my mind to get a solution.だから私の心を取得するにオープンしたソリューションです。 And just in this Moment it comes over me:この瞬間だけは、私が来る:

    …only go on your hosting surface and start PHPmyADMIN and find the following database entry: …あなたのホストのみに行くと、表面とスタート]ボタンをPHPMyAdminには、次のデータベースのエントリを検索:

    “Your WP-Blog database”–>wp_options–>make this database Entry editable–>now find the row “site_url”–>and change in the “options_value”column the root of your blog–>safe it and it’s done! "あなたのWP - blogのデータベース" -> w p_options- > "このデータベースのエントリを編集- >今すぐ見つけるの行の" s ite_url" - >と変更された"o p tions_value"カラムのルートにあなたのブログ->セーフし、もうおしまい!

    greetings, Simonあいさつ、サイモン

  10. rebel反乱軍
    July 9th, 2008 13:38 2008年7月9日13:38
    35

    yes there are openはいには、オープン
    http://www.demonoid.com/

  11. Nikhil George nikhilジョージ
    July 1st, 2008 14:18 2008年7月1日14:18
    34

    Thanks for that.ありがとうです。 When I googled for this topic another blog said , to this you have to backup the entire database, create new db and upload again.このトピックのときに私googledを別のブログによると、この全体のデータベースをバックアップする必要が、新しいDBを作成し、アップロードします。 I was really tensed, but this was actually completed in seconds…..:)私は、実際時制が、これが実際に完了を秒単位で… .. : )

  12. ——Sahil Seth dot com—— » Back again… -s ahilセスドットのC OM- »先頭再び…
    June 26th, 2008 22:20 2008年6月26日22:20
    33

    [...] the first thing to be done was to get hold of all the old posts (though very less in number). [...]ばならないことは、まず最初に手に入れるのすべての過去の投稿(かかわらず非常に少ないの番号)です。 Here google served as a saviour and I got hold of a plugin called ‘wp-migrate‘, which let me export all the posts along [...] Googleのサービスとしてここで私はホールドの救世主と呼ばれるプラグイン'のWPに移行' 、輸出をさせて、すべての投稿に沿っ[...]

  13. Philフィル
    June 19th, 2008 03:48 2008年6月19日03:48
    32

    Thanks a lot for this tutorial!このチュートリアルをどうもありがとう! I’ve been wanting to do this for months but never dared because I was afraid of losing all my hard work.私はこれを行うには何カ月も欠けしかし、決して勇気を失うのを恐れるため、私はすべて私のハードワークです。 You really saved my day.本当に私の日に保存します。

  14. Rhett Soveranレットsoveran
    June 16th, 2008 08:30 2008年6月16日08:30
    31 31日

    Thanks so much for this post.この投稿をありがとう。 It was tremendous help.ヘルプは、途方もないことです。 That was so easy to follow and worked perfect.その作業は非常に簡単に従うと完璧です。

  15. scriptygoddess » Blog Archive » Moving a Wordpress Install scriptygoddess »ブログのアーカイブ» WordPressのインストールに移動する
    June 15th, 2008 05:29 2008年6月15日05:29
    30 30日

    [...] all their sites to the new site. [...]すべてのサイトを新しいサイトです。 Some of these sites were wordpress powered.いくつかのサイトではWordPressのパワーです。 Thankfully, I found this article that made the move a [...]ありがたいことに、私がこの記事を移動するには、 [...]

  16. Worcester NO2IDウスターno2id
    June 14th, 2008 02:09 2008年6月14日02:09
    29 29日

    Thanks for this!このいただきありがとうございます!

    Everything working.すべての作業です。 Thanks for providing this valuable resource.この貴重な資源を提供いただきありがとうございます。 Was invaluable for helping move our prototype Wordpress installation from my home server to full on hosting!私たちは、貴重な移動を支援WordPressのインストールから私のホームサーバーのプロトタイプをフルにホスティング!

  17. Stuartスチュアート
    June 10th, 2008 00:26 2008年6月10日00:26
    28 28日

    I had no problem running the first query - the site found the home page instead of displaying a 404 error.私の最初のクエリを実行して問題はない-のサイトが見つかりましたのホームページを表示する代わりに4 04エラーが発生します。
    But whilst the second query executes (I am told 2 rows are affected) and when I click a link in the new domain site the correct url is shown in the address bar, all I get is a 404 Not found message saying the requested URL is not on the server - what does this suggest, have I lost some files?しかしながら2番目のクエリを実行する(私は2行が影響を受ける)と私のリンクをクリックして、新しいドメインのサイトの正しいURLは、アドレスバーに表示され、すべてのI getは、 404ページが見つかりませんメッセージが表示さと言って、要求されたURLは、 、サーバー上の特定-何がこの提案がいくつかのファイルを無くしてしまったんですか?

  18. Chad McCannaチャドmccanna
    June 9th, 2008 03:03 2008年6月9日03:03
    27 27日

    I just executed this command through PHPMyAdmin after dealing with 2 days of phantom redirects… turns out all that was wrong is I forgot to change the URL.ただ、このコマンドを実行した後でphpMyAdminを扱う2日間の夢幻のリダイレクト…が間違っていたことが分かったのすべてを変更するには、パスワードを忘れてURLです。 This solved ALL my problems.このすべての問題を解決します。 You have no idea what a godsend this blog was to me.あなたは知らないでしょうけど、このブログは、天の恵みだ。 THANK YOU!ありがとうございました!

  19. radyo dinle radyo dinle
    June 2nd, 2008 15:34 2008年6月2日15:34
    26 26日

    hi @ all i need plug in for hosting for wp who can help meハワイ@すべて私のプラグインをホストする必要がありますことを手伝ってWPのwho

Pages: [2]ページ: [ 2 ] 1 » Show Allすべて表示

Leave a Reply残して返信

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> これらのタグを使用することができます: <aのhref=のtitle= <abbrのtitle= <blockquote cite=""> <cite> <acronymのtitle= <b>ダウンロードの<code> <デル日時= " " >の<em> <i>て<strike> <strong> <q cite="">

Subscribe without commenting登録なしのコメント


Custom Search

New Articles新しい記事

Incoming Search Terms for the Article検索用語を受信するには

move wordpress 移動のWordPress - - migrate wordpress WordPressの移行 - - moving wordpress 移動のWordPress - - wordpress migrate WordPressの移行 - - moving wordpress blog 移動のWordPress Blog - - move wordpress blog 移動のWordPress Blog - - moving a wordpress blog WordPressのブログに移動する - - migrating wordpress WordPressの移行 - - moving wordpress to a new domain WordPressの新しいドメインに移動して - - wordpress move domain WordPressの移動ドメイン - - moving wordpress to new domain WordPressの新しいドメインを移動する - - move wordpress domain WordPressのドメインに移動 - - moving wordpress to a new server WordPressの新しいサーバーに移動して - - how to move wordpress に移動する方法についてのWordPress - - how to move a wordpress blog どのように移動するにWordPressのブログ - - move wordpress to new domain WordPressの新しいドメインを移動する - - how to move wordpress blog WordPressのブログに移動する方法について - - migrate wordpress blog 移行のWordPress Blog - - move wordpress to another domain WordPressのを別のドメインに移動 - - how to migrate wordpress どのように移行するのWordPress - - move wordpress to new server WordPressの新しいサーバーに移動する - - move wordpress installation 移動WordPressのインストール - - move wordpress database WordPressのデータベースに移動 - - wordpress change domain WordPressの変更ドメイン - - moving wordpress database WordPressのデータベースに移動する - - wordpress move server WordPressの移動サーバー - - moving wordpress to another domain WordPressのを別のドメインに移動 - - move wordpress install 移動WordPressのインストール - - wordpress move blog WordPressの移動のブログ - - moving a wordpress site WordPressのサイトに移動する - - moving wordpress domain WordPressのドメインに移動する - - moving wordpress blog to new domain WordPressのブログを新しいドメインに移動 - - wordpress domain WordPressのドメイン - - CHANGE domain WORDPRESS ドメインWordPressの変更 - - move wordpress blog to new server WordPressのブログを新しいサーバーに移動する - - wordpress move site WordPressのサイトに移動する - - move wordpress new domain WordPressの新しいドメインに移動 - - wordpress migrating WordPressの移行 - - move wordpress to a new domain WordPressの新しいドメインに移動して - - moving wordpress domains WordPressのドメインに移動する - - yahoo babel fish ヤフーバベル魚 - - move wordpress new server WordPressの新しいサーバーに移動する - - move wordpress server WordPressのサーバーに移動する - - how to migrate wordpress blog WordPressのブログに移行する方法 - - change wordpress domain WordPressのドメインを変更 - - moving wordpress to new server WordPressの新しいサーバーに移動する - - move wordpress blog to new domain WordPressのブログを新しいドメインに移動 - - move wordpress site WordPressのサイトに移動 - - babelfish yahoo Babelfishをヤフー - - babel fish yahoo バベル魚ヤフー - -