»õ·Î¿î ¿µ¿ª ¶Ç´Â À§Ä¡·Î WordPress Blog¸¦ À̵¿ÇÏ´Â ¹æ¹ý
blogger¸¦ À§ÇØ °¢ÀÚ ÁÖÀÎ ÀÚ½ÅÀÇ µî·ÏÇÑ µµ¸ÞÀÎ À̸§À» °¡Áø À¥ È£½ºÆÃ ¼¹ö¿¡ WordPress blog °£Çà ü°è, ¶§¶§·Î, ´ç½ÅÀº blog ¿¬°á ±×°ÍÀ» ´õ ´ÜÁ¤ÇÑ ¸¸µé°Å³ª blogÀÇ »õ·Î¿î ÃÊÁ¡ ¶Ç´Â ÁÖÁ¦¸¦ ¹Ý¿µÇϱâ À§ÇÏ¿© URL¸¦ °³ÆíÇÏ´Â °ÍÀ» °áÁ¤ÇÒÁöµµ ¸ð¸¥´Ù. ´ç½ÅÀÌ µµ¸ÞÀÎ À̸§ÀÇ º¯È ¶§¹®¿¡ WordPress ´ç½ÅÀÇ blogÀÇ URL ¶Ç´Â ¿¬°á À§Ä¡¸¦ ¹Ù²Ù´Â °ÍÀ» °áÁ¤ÇÏ´Â °æ¿ì¿¡ (http://www.new-domain.com/)¿¡ http://www.old-domain.com/¿¡¼ ¶Ç´Â ´Ù¸¥ ÀüȹøÈ£ºÎ À§Ä¡¿¡ blog¿Í °°Àº (http://www.domain.com/blog/),¿¡ http://www.domain.com/¿¡¼¿Í °°Àº Àû´çÇÑ À̵¿ ¹× ²÷´Â ¿¬°áÀ» Áö۱â À§ÇÏ¿© ³¡³ª¾ß ÇÏÁö ¾Ê´Â ¸î¸î ´Ü°è°¡ ÀÖ´Ù.
´Ù¸¥ À§Ä¡¿¡ WordPress ¿òÁ÷ÀÌ´Â blog°¡ WordPress´Â URL ¿¬°á À§Ä¡¿¡ ÀÖ´Â »ó´ë °æ·Î ´ë½Å¿¡ URL ¿¬°á¿¡ ÀÖ´Â Àý´ë °æ·Î¸¦ °æ¿ìÀÇ »óÁ¡ µ¥ÀÌŸº£À̽º¿¡ ÀÖ´Â ¸î¸î ¸Å°³º¯¼ö »ç¿ëÇϰí ÀÖ´Ù ÀÏ °æ¿ìÀÇ ±î´Ù·Î¿î ºÎºÐ. blog Æ÷½ºÆ® ¾È¿¡ Âü°í backlinks¸¦ âÁ¶ÇÒ ¶§' ÀÇ »ç¿ëÀÚ ¶ÇÇÑ ¿À·¡µÈ URL¸¦ ÀÌ¿ëÇÑ ÀÏÁö¸ð¸¥´Ù ¸¸Á·ÇÏ°Ô ÇÑ´Ù. µ¥ÀÌŸº£À̽º¿¡ ÀÖ´Â ÀÌ °¡Ä¡´Â ¸ðµç WordPress°¡ À̵¿µÉ °æ¿ì ¹Ù²ð Çʿ䰡 ÀÖÀ» °ÍÀÌ´Ù. µÚ¿¡ ¿À´Â °¡À̵å´Â ¾î´À µ¥ÀÌŸº£À̽º ºÐ¾ßÀ̶ó°í Âü°í ¶Ç´Â °¡Ä¡°¡ blogÀÇ URL¿Í °ü·Ã½ÃŲÁö ÀÖ´Â ´ç½Å¿¡°Ô º¸¿©ÁÙ °ÍÀÌ´Ù ´ç½ÅÀº º¯°æÇÏ°í ½Í´Ù´Â °ÍÀ». 1°³ÀÇ ¼¹ö ¶Ç´Â ÁÖÀο¡¼ ´Ù¸¥ »õ·Î¿î È£½ºÆ® ¼ºñ½º·Î WordPress blog¸¦ À̵¿ÇÏ´Â ÀÌ °¡À̵尡 ¹æ¹ý¿¡ °üÇÏ¿© ÀÌÁö ¾Ê´Â´Ù´Â °ÍÀ» ÁÖÀÇÇϽʽÿÀ.
ÀÏ´Ü blog°¡ (³Ñ¾î¼ ¸ðµç ¹®¼ Ä«ÇÇ´Â »õ·Î¿î µµ¸ÞÀÎ À̸§À» À§ÇÑ ÀÎÅͳÝÀÇ ¸ÂÀºÆí¿¡ À̵¿ÇÏ´Â À§Ä¡ÀÇ °æ¿ì¿¡´Â ¶Ç´Â ¼¹ö ¶Ç´Â »õ·Î¿î µµ¸ÞÀÎ À̸§ Á¦´ë·Î ÀüÆÄÇß´Ù) À̵¿µÇ¸é, º¯ÈÇÒ °ÍÀ̴٠ù¹øÂ° °ÍÀº WordPress¿¡°Ô »õ·Î¿î blog À§Ä¡¸¦ ¸»Çϱâ À§ÇÑ °ÍÀÌ´Ù (wp config.php´Â ¾Æ¹« º¯Èµµ ¾ø¾î¾ß ÇÑ´Ù, .htaccess ÆÄÀÏÀº ¶ÇÇÑ ¾Æ¹« º¯Èµµ ¾ø°í´Ù. ¸¸¾à¿¡ ¹«¾ùÀΰ¡ÀÇ ÀÌÀ¯·Î Ä£ÀýÇÑ URL¸¦ À§ÇÑ mod_rewrite ±ÔÄ¢ÀÌ ´õ ÀÌ»ó ÀÛµ¿ÇÏÁö ¾ÊÀ¸¸é, ´ç½ÅÀº WP ÇàÁ¤ÀÇ °»½Å Permalinks ÆäÀÌÁö¸¦ ÅëÇØ Ç×»ó .htaccess ÆÄÀÏÀ» ȸ»ýÇÒ ¼ö ÀÖ´Ù). ÀÌ °¡Ä¡´Â WordPress ¼±ÅÃ±Ç ÆäÀÌÁö¸¦ ÅëÇØ ¿À·¡µÈ blog URL ÀÇ ´ç½Å¿¡ Á¢±ÙÇÒ ¼ö ÀÖ½À´Ï´Ù ´õ ÀÌ»ó ´ç½ÅÀÌ MySQL µ¥ÀÌŸº£À̽º¸¦ ÅëÇØ °¡Ä¡¸¦ º¯°æÇØ¾ß ÇÏ´Â °æ¿ì¿¡, ±×·¯³ª ¹Ù²ð ¼ö ÀÖ´Ù.
ÁÖ: °¡À̵å´Â À§¿¡ ±Ù°ÅÇÑ SQL °è»ê¼¸¦ »ç¿ëÇÑ´Ù MySQL´Â () ±â´ÉÀ» ´ëüÇÑ´Ù µ¥ÀÌŸº£À̽º¸¦ º¯°æÇϱâ À§ÇÏ¿©. SQL Áú¹®À» ´Þ¸®±â À§ÇÏ¿©´Â, »Ñ¸®·Î DB ¼¹ö¿Í ¶Ù±â MySQL Ŭ¶óÀÌ¾ðÆ®¿¡°Ô phpMyAdmin ¶Ç´Â ·Î±×ÀÎÀ» ÅëÇØ WordPress Å×À̺íÀ» À¯¼÷ÇÏ´Â MySQL µ¥ÀÌŸº£À̽º¿¡ ·Î±×ÀÎÇϽʽÿÀ.
»õ·Î¿î blog À§Ä¡¸¦ °¡Áø WordPress ¼±ÅñÇÀ» »õ·Ó°Ô Çϱâ À§ÇÏ¿©´Â, µÚ¿¡ ¿À´Â SQL ¸í·ÉÀ» ÀÌ¿ëÇϽʽÿÀ:
°»½Å wp_options¿¡ ÀÇÇÏ¿© ³õÀÎ option_value´Â = ´ëüÇÑ´Ù (option_value, 'http://www.old-domain.com', 'http://www.new-domain.com') °÷¿¡ option_name = "°¡Á¤" ¶Ç´Â option_name = "siteurl";
ÈÄ¿¡ ´ç½ÅÀÌ 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:
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. Use the following SQL commands to fix all internal links to own blog in all WordPress posts and pages:
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. You also need to re-login to WP Administration as authentication cookie has now became invalid due to different domain.
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
- Integrate WordPress including Comments with bbPress Forum using bbSync
- Paginating or Split WordPress Post or Page with NextPage in WordPress Not Working
- SEO Friendly Rewrite Method to Move Website URL From Subdirectory to Root Parent Folder
- Technorati Incoming Links Plugin for WordPress
- How to Change the Frequency or Interval WordPress Auto Saves An Editing Post or Page
- Disable WordPress 2.3 Core and Plugins Update Check and Notification
- Download Previous or Old Version of WordPress
- WLWManifest Disabler Plugin to Remove XLM Link in WordPress Blog Header
- Free Download: Akismet for WordPress Plugin 2.0 to Stop Comment, Trackback and Pingback Spam

































August 24th, 2008 07:39
[...] database across, and after a few little changes here and there (wordpress plugins and a few little database changes) all was [...]
August 17th, 2008 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: [...]
August 10th, 2008 05:26
great info
August 6th, 2008 18:00
[...] SQL codes from mydigitallife.info SHARETHIS.addEntry({ title: ¡°How to move WordPress blog from old domain to new domain with 301 [...]
August 3rd, 2008 21:45
YOU TOTALLY SAVE MY LIFE!!!!!!!! THANK YOU SO SO SO VERY MUCH! Yea!
July 30th, 2008 15:56
Gold information.
You saved me hours.
Cheers
July 22nd, 2008 11:08
[...] http://www.mydigitallife.info/2007/10/01/how-to-move-wordpress-blog-to-new-domain-or-location/ [...]
July 14th, 2008 20:18
[...] I¡¯ve posted this comment to the mydigitallife.info [...]
July 14th, 2008 20:04
Hi folks,
I had the same probs, butt I never knew on what it depend¡¯s.
I changed the sites Url in the admin area of my Wordpress-blog, but that was an fault.
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.
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:
¡°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!
greetings, Simon
July 9th, 2008 13:38
yes there are open
http://www.demonoid.com/
July 1st, 2008 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. I was really tensed, but this was actually completed in seconds¡¦..:)
June 26th, 2008 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 [...]
June 19th, 2008 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
Thanks so much for this post. It was tremendous help. That was so easy to follow and worked perfect.
June 15th, 2008 05:29
[...] all their sites to the new site. Some of these sites were wordpress powered. Thankfully, I found this article that made the move a [...]
June 14th, 2008 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!
June 10th, 2008 00:26
I had no problem running the first query - the site found the home page instead of displaying a 404 error.
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?
June 9th, 2008 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. This solved ALL my problems. You have no idea what a godsend this blog was to me. THANK YOU!
June 2nd, 2008 15:34
hi @ all i need plug in for hosting for wp who can help me