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 私のデジタルライフフォーラム .です。
Related Articles関連記事
- StatTraq - Wordpress Plugin for Site Statistic and Traffic Counter stattraq -W ordPressの差込式はサイトの統計情報およびトラフィックカウンタ
- Integrate WordPress including Comments with bbPress Forum using bbSync bbpress WordPressのフォーラムを含む統合を使用してコメントをbbsync
- SEO Friendly Rewrite Method to Move Website URL From Subdirectory to Root Parent Folderソフレンドリー書き換えるメソッドのサブディレクトリに移動するウェブサイトのURLから親フォルダをルート
- Paginating or Split WordPress Post or Page with NextPage in WordPress Not Working paginatingまたは分割WordPressのページに投稿したりnextpageにWordPressが機能しない
- Technorati Incoming Links Plugin for WordPress Technoratiの着信リンク差込式のWordPress
- How to Change the Frequency or Interval WordPress Auto Saves An Editing Post or Page周波数または間隔を変更する方法についてのWordPressの自動作成やページの編集を保存する
- Disable WordPress 2.3 Core and Plugins Update Check and Notification WordPressの2.3コアとプラグインの更新プログラムを無効の確認と通知
- WLWManifest Disabler Plugin to Remove XLM Link in WordPress Blog Header差込式wlwmanifest disablerなったXLMのリンクをWordPressのブログを削除するヘッダー
- Download Previous or Old Version of WordPressダウンロードの前または古いバージョンのWordPress
- Free Download: Akismet for WordPress Plugin 2.0 to Stop Comment, Trackback and Pingback Spam無料でダウンロードできます: Akismetの差込式の2.0を停止するのWordPressのコメント、トラックバックとPingbackのマーク















August 24th, 2008 07:39 2008年8月24日07:39
[...] database across, and after a few little changes here and there (wordpress plugins and a few little database changes) all was [...] [...]データベース全体、およびいくつかの小さな変更をした後、こことそこ( WordPressの差込といくつかの小さなデータベースの変更)のすべてが[...]
August 17th, 2008 10:38 2008年8月17日10:38
[...] 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つのクエリを考慮するとして提案を実行して、ここ: [...]
August 10th, 2008 05:26 2008年8月10日05:26
great info素晴らしい情報をもっと見る
August 6th, 2008 18:00 2008年8月6日18:00
[...] 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 [...]
August 3rd, 2008 21:45 2008年8月3日21:45
YOU TOTALLY SAVE MY LIFE!!!!!!!!私の人生を完全に保存さ!!!!!!!! THANK YOU SO SO SO VERY MUCH!これためには大変感謝いただきありがとうございます! Yea!いや!
July 30th, 2008 15:56 2008年7月30日15:56
Gold information.ゴールドの情報です。
You saved me hours.メイン時間を保存します。
Cheers乾杯
July 22nd, 2008 11:08 2008年7月22日11:08
[...] http://www.mydigitallife.info/2007/10/01/how-to-move-wordpress-blog-to-new-domain-or-location/ [...]
July 14th, 2008 20:18 2008年7月14日20:18
[...] I’ve posted this comment to the mydigitallife.info [...] [...]私はこのコメントを投稿mydigitallife.info [...]
July 14th, 2008 20:04 2008年7月14日20:04
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あいさつ、サイモン
July 9th, 2008 13:38 2008年7月9日13:38
yes there are openはいには、オープン
http://www.demonoid.com/
July 1st, 2008 14:18 2008年7月1日14:18
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…..:)私は、実際時制が、これが実際に完了を秒単位で… .. : )
June 26th, 2008 22:20 2008年6月26日22:20
[...] 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に移行' 、輸出をさせて、すべての投稿に沿っ[...]
June 19th, 2008 03:48 2008年6月19日03:48
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.本当に私の日に保存します。
June 16th, 2008 08:30 2008年6月16日08:30
Thanks so much for this post.この投稿をありがとう。 It was tremendous help.ヘルプは、途方もないことです。 That was so easy to follow and worked perfect.その作業は非常に簡単に従うと完璧です。
June 15th, 2008 05:29 2008年6月15日05:29
[...] 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 [...]ありがたいことに、私がこの記事を移動するには、 [...]
June 14th, 2008 02:09 2008年6月14日02:09
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のインストールから私のホームサーバーのプロトタイプをフルにホスティング!
June 10th, 2008 00:26 2008年6月10日00:26
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は、 、サーバー上の特定-何がこの提案がいくつかのファイルを無くしてしまったんですか?
June 9th, 2008 03:03 2008年6月9日03:03
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!ありがとうございました!
June 2nd, 2008 15:34 2008年6月2日15:34
hi @ all i need plug in for hosting for wp who can help meハワイ@すべて私のプラグインをホストする必要がありますことを手伝ってWPのwho