How to Move WordPress Blog to New Domain or Location

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. 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.

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. Within blog posts’ contents itself, users may also use the old URLs when creating reference backlinks. All these values in the database will need to be changed when WordPress is moved. The following guide will show you which database fields that has references or values related to blog’s URLs that you want to modify. Note that this guide is not about how to move WordPress blog from one server or host to another new hosting service.

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). 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.

Note: The guide uses SQL statements based on MySQL replace() function 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.

To update WordPress options with the new blog location, use the following SQL command:

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. 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.


159 Responses to “How to Move WordPress Blog to New Domain or Location”

  1. Copying a WordPress Blog to a Different Domain | David’s Technical Musings
    November 8th, 2009 10:38
    159

    [...] How to Move WordPress Blog to New Domain or Location SHARETHIS.addEntry({ title: "Copying a WordPress Blog to a Different Domain", url: "http://dpotter.net/Technical/2009/11/copying-a-wordpress-blog-to-a-different-domain/" });   Email this article   Print this article [...]

  2. nathan
    November 5th, 2009 11:24
    158

    There is nothing I could find on the WP codex that describes these completely essential steps of the migration process completely. Also, the MySQL commands is by far the most difficult bit to understand. Awesome stuff and thanks. I followed your steps and it works (and I understand it too).

  3. Joel Lundgren
    November 5th, 2009 05:16
    157

    Thank you..
    Now I can sleep again..

  4. Kelsi Guidry
    November 5th, 2009 01:36
    156

    I just want to say thank you very much for this article and for your time creating these SQL statements.

    Can i say I Love You?!?! haha

    Thanks,
    Kelsi Guidry

  5. revtrev
    November 4th, 2009 00:56
    155

    The only issue I found was that the new site keeps trying to upload media to the old site. Is there an easy way for me to change this? Where would I look?

  6. RevTrev
    October 31st, 2009 08:57
    154

    Thanks so much for the help for me to merge my blogs. You saved me a tonne of headaches.

  7. Markus
    October 29th, 2009 19:25
    153

    It’s it not necessary to do anything in database for migrate the url to another domain.

    There is another way with this simple steps.

    1. change Blog address and Wordpress adresse (Url) in your general settings -> safe changes

    2. go to settings -> permalinks do nothing and save changes

    so the blog urls been updated.

    please give me a response …

    greetz Markus

  8. Sam Diener
    October 26th, 2009 23:01
    152

    Thank you for this advice. It really helped me.

    Sam

  9. nico
    October 17th, 2009 17:41
    151

    Thanks for the tips !

  10. How to bundle plugins into a new WP theme
    October 6th, 2009 04:18
    150

    [...] need to edit, these articles will steer you to the right place: Moving WordPress WordPress Codex How to Move WordPress Blog to New Domain or Location My Digital Life To REALLY automate this you could write an install script that copied and expanded the files, [...]

  11. Mike
    October 1st, 2009 11:35
    149

    I followed the above steps for moving to a new location in my server and also a new domain name. While everything works fine I am not able to login to wp admin. It takes the user p/w but gives me HTTP 403 error in internet explorer. Please help.

  12. ejakulasi dini
    September 19th, 2009 18:18
    148

    Thanks for making this tutorial, now my problem is solved. Thanks.

  13. sooran
    September 17th, 2009 19:13
    147

    thancks
    this post very very helped me !

    Good Time

  14. samuel
    September 14th, 2009 01:07
    146

    For me a much easier way to do it is:

    1. Do a database dump with the mysqldump command.
    2. Replace all occurrences of http://oldsite to http://newsite
    3. Restore the database with the modified dump

  15. Jon
    September 13th, 2009 15:52
    145

    Just wanted to say, thank you – this post was a big help.

  16. Shane Burgess
    September 10th, 2009 06:30
    144

    Why don’t you just change the domain in the options just before your ready to move. That’s how I did it and it worked great.

  17. Millard
    September 5th, 2009 20:03
    143

    Great information for sure, but I confess it seems too much work for my purposes. I think I will keep the domain I have. Thanks.

  18. Internet Threat
    August 27th, 2009 15:59
    142

    thx a lot. It seems a lot easier than I thought. Implementing this on my blog was quicker than writing my post above.

  19. Moving to new domain – Saved for later reference
    August 12th, 2009 13:02
    141

    [...] you’ve followed the standard operating procedure for moving the blog, and all database entries are updated to the new path (I did this part manually, but the linked procedure seems OK), the most likely [...]

  20. seks izle
    August 9th, 2009 22:24
    140

    Thanks for the essay.

    Can I put this essay to my general content site?

    Thank you so much again.

  21. David Lye
    August 5th, 2009 08:45
    139

    Thanks for the info – don’t forget to post about the Australian domain name industry – it’s really starting to take off… Thanks again

  22. nashville web design guy
    August 4th, 2009 23:32
    138

    man, you rock. This just saved me an hour of head-banging. worked like a charm the first time.

    thanks!

  23. 修改域名后图片无法显示的解决方法wordpress | 中国海盗湾
    July 31st, 2009 17:19
    137

    [...] How to Move WordPress Blog to New Domain or Location [...]

  24. Niall Flynn
    July 27th, 2009 18:17
    136

    Great Post, saved me ages, many thanks!

  25. Designer WPF » Blog Archive » Designer WPF is now Designer Silverlight
    July 16th, 2009 11:33
    135

    [...] made the migration using this fantastic post on how to move a Wordpress blog to a new domain. So, update your RSS feeds and I’ll see you over there. Category: Uncategorized [...]

  26. how do i change the domian of my blog , just bought a new..
    July 16th, 2009 01:43
    134

    [...] how do i change the domian of my blog , just bought a new.. How to Move WordPress Blog to New Domain or Location My Digital Life [...]

  27. Migrace Wordpressu na jinou doménu | Milan Knížek | fotografie, linux
    July 15th, 2009 03:08
    133

    [...] v angličtině viz My digital life. [...]

  28. mejo
    July 14th, 2009 17:42
    132

    lifesaver! thanks for this, have been scratching my head for a week or so trying to solve it on my own.. thanks

  29. Verhuis | Past is prologue
    July 14th, 2009 15:36
    131

    [...] enkele parameters in je database (nieuwe url). Hier een overzichtje met de te nemen [...]

  30. Bryan
    July 13th, 2009 12:53
    130

    I just imported 175 posts from a Blogspot fiction blog into a new Wordpress blog that a friend is offering to host for free! Problem is, I was using a custom book-inspired layout that showed one post at a time, with a series of menus linking the various posts together. Now all those menu links still point to the old posts at Blogger.com. Would the above technique convert those links quickly once the WP blog is hosted? Cause right now I’m resorting to cutting and pasting…

  31. Updating All Internal Links in a WordPress Blog | Code LOL
    July 12th, 2009 06:45
    129

    [...] Reference: How to Move WordPress Blog to New Domain or Location [...]

  32. Web Guy 303
    July 11th, 2009 04:33
    128

    Thanks for the info, great guide for moving a WP site – I send people to this page all the time when they ask me how to do it.

  33. sparsh
    July 9th, 2009 21:21
    127

    thankyou for the nice and helpful information.

  34. Brian
    July 8th, 2009 16:02
    126

    I was really confused why things were pointing back to the old domain. This guide made it really easy for me.

    Thank you so much!

  35. kelly80321l
    July 8th, 2009 00:56
    125

    I just moved 3 of mine using this guide. Made it easy for me. thanks

  36. DivorceLine
    July 4th, 2009 10:43
    124

    Тhank you very much, very useful info.

  37. Wordpressthemegenerator
    July 3rd, 2009 13:37
    123

    worked perfectly – many thanks !

  38. Mike
    July 3rd, 2009 10:37
    122

    Thank you so much for this! I just had to transfer my blog to a new site and this was very concise and helpful.

  39. Mike S
    June 19th, 2009 03:51
    121

    I couldn’t have done it without you!! Worked perfectly and very simple. Thanks.

  40. Free Web Directory
    June 16th, 2009 09:03
    120

    after moved my blog in to new host i can’t login my blog ??

    Why ??

  41. Sajid
    June 4th, 2009 19:39
    119

    Thanks so much for this!

  42. Pakistan
    June 4th, 2009 19:21
    118

    Discover the beauty of pakistan. Learn the culture, heritage, traditions and landmarks of different parts of Pakistan especially sindh, punjab, balochistan and N.W.F.P and far northern areas.

  43. Jez
    June 2nd, 2009 21:32
    117

    Thanks Great Help

  44. Andrew Kolyvas
    May 27th, 2009 18:08
    116

    Just moved my blog to my new domain http://www.incomesinternationl.com.

    Worked perfectly.

    Thanks, I appreciate your work.

    For those that are having trouble, when using phpmyadmin, make sure you click on the SQL tab then copy in the the 3 queries that have been provided here. Make sure you change the vales for the old-domain.com and new-domain.com and that is all that you will need to do.

    Andrew Kolyvas

  45. oyun hileleri
    May 24th, 2009 01:20
    115

    Thank you. This worked perfectly.

  46. StoneTalker
    May 20th, 2009 13:49
    114

    it works perfectly.Thank you for sharing this great information with us.

  47. Phantom Paul
    May 17th, 2009 04:46
    113

    Brilliant – worked perfectly – many thanks !

  48. Daniel2b
    May 14th, 2009 03:25
    112

    You totally saved me I never would have known how to fix it! Thanks so much!

  49. Infopreneur
    May 14th, 2009 01:33
    111

    Awesome info, this saved me some great webmastering time! Thanks!

  50. Ryn Garcia
    May 9th, 2009 08:14
    110

    Thank you. This worked perfectly. =]

    All I did was copy and paste. =]

  51. Dr. Jim Anderson
    May 6th, 2009 10:00
    109

    Great article. I just moved my WordPress 2.7.1 blog from one domain to another (same server, same MySQL database). A couple lessons learned:

    1. It’s REALLY important that you get your quotes ” correct. I cut & pasted the SQL commands and they didn’t work the first time because the single quotes were too fancy – I typed over them and all was good.

    2. The odd thing was that the three SQL commands didn’t change a single thing. I believe that the two plugins had already made all the required domain name changes.

    3. There is a wee bit more editing that you need to do in the MySQL DB – you can do it via phpmyadmin. The tables _users, _usermetadata, and _options all need to be reviewed and all occurrences of your old_domain need to be replaced with your new_domain.

    4. THIS IS THE ONE THAT GOT ME: please be aware that phpmyadmin will only display the first 30 or so columns of data in a given table. The _options table has MANY more columns than 30. If you forget to change ALL of the occurrences of your old_domain, then you may encounter a “You are not authorized to view this page” error when you log into WP after making your changes.

    5. Don’t forget to edit your wp-config.php file in order to change the name of the MySQL database tables being used in the $table_prefix variable.

    Good luck and make a backup of your database BEFORE you start!

    - Dr. Jim Anderson

  52. Moving Your Wordpress Blog To A New Domain Name, The Ins and Outs…
    April 17th, 2009 08:53
    108

    [...] This trick came from an excellent post over at My Digital Life [...]

  53. Installation « How To
    April 14th, 2009 10:40
    107

    [...] mysql commands – Move wp and change “home” and [...]

  54. How to Move a Wordpress Database | Always Get Better
    April 4th, 2009 23:48
    106

    [...] As I said I typically search for this information whenever I need to move Wordpress sites. I find the SQL queries at: http://www.mydigitallife.info/2007/10/01/how-to-move-wordpress-blog-to-new-domain-or-location/ [...]

  55. domain name
    March 31st, 2009 21:08
    105

    Yeah, I had that problem with my domain too. I bought a new domain name and when i was transfering my blog onto the new domain, all messed up and i lost a lots of my data:(
    Anyway i recovered after some time, it was obviously in the beginning. :)

    But i’m sure information you have provided here will be helpful to may others who are looking forward to shift their blog to a new domain name.

  56. March
    March 31st, 2009 20:02
    104

    Hello, i have installed wordpress to domain.org, but i need to have domain.com as main domain (domain.org i wolud lik to be parked) of that installation. If ponit name servers (domain.com) to hosting where is wordpress installed would by blog work??

  57. Media Temple: Moving WordPress and MediaWiki from (gs) to (dv) | indigoprime
    March 23rd, 2009 11:01
    103

    [...] I’ve moved domains, the databases needed some work to fix links. I found an article that was of help, but what you basically do [...]

  58. Alex
    March 20th, 2009 22:48
    102

    works perfectly. thanks!

  59. Hélio Sassen Paz
    March 20th, 2009 04:53
    101

    Hi, folks! ;)

    I’m beginning to transfer the content of a free WP.COM blog to a payed domain and hosting service that supports WP but I still can’t do it. ;(

    How is the procedure when I need to transfer all content posted on a free WORDPRESS.COM to a payed hosting service with my own domain?

    I want to transfer my wordpress.2009-03-19.xml from heliopaz.wordpress.com to heliopaz.com but the wp-admin doesn’t allow me to upload a XML heavier than just 2 MB and my XML has 13.7 MB.

    My host provides a great job but the online chat couldn’t help me and I’m waiting so long for the helpdesk response.

    Any solution? May I have to ask my host (or even pay a few more bucks) to increase the space from 2 MB to 15 MB on my heliopaz.com wp-admin page?

    Or could I use a FTP software to upload my XML file to a specific directory? In this case, where exactly I have to upload this file?

    Thanks a lot!

    Hélio Sassen Paz
    Porto Alegre/RS
    Brazil

  60. Casual Commerce » Wordpress Notes — Going live from local development environment
    March 17th, 2009 23:36
    100

    [...] tables and rename them to the proper domain name url. I found this information from this great post here. But the long and short of it is run the following [...]

  61. Webrevolve
    March 12th, 2009 18:38
    99

    Excellent post, thanks for sharing, you’ve just saved me loads of time messing about

  62. Moving to osama-gma.net
    March 5th, 2009 08:38
    98

    [...] So I searched the web and got this tutorial. [...]

  63. Niels
    March 3rd, 2009 14:30
    97

    This was a great help to me, thanks! I’d just like to add that in WP 2.7 I also had to got to settings>permalinks and hit the save button again to reset those (I’m using ‘pretty’ permalinks.

  64. TV Me
    February 25th, 2009 21:57
    96

    Great guide here for managing WP sites. Many thanks!

  65. Dan
    February 24th, 2009 03:41
    95

    Great stuff :-)

    Clear and easy to follow, just how a help page should be. Bookmarked for future reference.

  66. susan
    February 24th, 2009 03:11
    94

    Wow, thanks! I was really afraid to do this (without knowing if I was doing it correctly), so I just decided to go for it and copy-paste 1-2-3. It worked! Note: also, I had to go take out the old index placeholder file I had up there at the designated location. Once that was out of the way, it all showed up.

    many thanks again – most helpful!

  67. Jens
    February 22nd, 2009 15:42
    93

    Thanks, this helped me a lot. We are currently moving 2 WP-blogs to a new location.

  68. Dan
    February 19th, 2009 04:53
    92

    worked perfectly. one thing to consider is you have to be patient. it took about 15 min for the changes to propogate even after i cleared my cache. i know it makes no sense but thats the story!

  69. How to transfer a big wordpress blog?
    February 11th, 2009 18:56
    91

    [...] MySQL Dump Importer If you are moving to a new domain I would also recommend to read this: How to Move WordPress Blog to New Domain or Location My Digital Life [...]

  70. Alejandro Sevilla
    February 10th, 2009 00:48
    90

    I think 2 more queries should be added. Many people use additional fields to store queries for thumbnais and there is also info about attachents.

    UPDATE wp_postmeta SET meta_value = replace(meta_value, ‘http://www.old-domain.com’, ‘http://www.new-domain.com’);

    UPDATE wp_postmeta SET meta_value = replace(meta_value, ‘/home/old-domain/public_html’, ‘/home/new-domain/public_html’);

    * This last one may depend on the host home directory and structure.

    Long life wordpress! :)

    Cheers, Alex from spain

  71. WordPress Blog zu neuer Domain verschieben | Dirks Blog
    February 8th, 2009 08:06
    89

    [...] Quelle: My Digital Life: How to Move WordPress Blog to New Domain. [...]

  72. alex
    February 7th, 2009 08:44
    88

    Any one knows, what happens when the destiny domain is a IDN domain (forofundacionserranosuñer.es). I am having big problems and maybe this is why?

    Thanks,

  73. moin
    February 6th, 2009 21:31
    87

    hey,
    You have said that “Note that this guide is not about how to move WordPress blog from one server or host to another new hosting service.” But if I want to do this how it is possible. If you have any solution please reply.

    BR
    moin

  74. memo: change wordpress domain name « Konstantinos Koukopoulos
    January 28th, 2009 16:19
    86

    [...] Kudos for this tip. This entry was written by Konstantinos Koukopoulos, posted on January 28, 2009 at 8:19 am, filed under memo and tagged domain, moving, mysql, sql, wordpress. Bookmark the permalink. Follow any comments here with the RSS feed for this post. Post a comment or leave a trackback: Trackback URL. « Obama is left handed [...]

  75. KamarSutra
    January 27th, 2009 11:20
    85

    Thank you very much. I’ve successfully move 2 blogs by referring to this tutorial. Thanx to the writer of this post.

  76. Bill Hutchison
    January 26th, 2009 07:33
    84

    Thank you very much, following your directions helped me to make the migration without any trouble at all.

    What surprised me most was that all my plugins worked right away as well! I was expecting trouble there, especially with NextGEN Gallery.

  77. Jørn
    January 26th, 2009 03:33
    83

    Thanks!

  78. Hayley
    January 24th, 2009 03:01
    82

    Hey this has helped me so much! Thanks!

  79. Blake
    January 24th, 2009 02:28
    81

    I tried to enter the code, but kept getting errors. what did i do wrong?

  80. mike
    January 18th, 2009 20:04
    80

    ERay55 hi! how you doin?

  81. Migrasi Lagi… « —-aulia_ra—–
    January 16th, 2009 10:18
    79

    [...] di server yang lama. 3. Karena pindah nama domain maka jalankan perintah mysql berikut (dapet dari sini) [...]

  82. Migrasi Lagi… | www.aulia-ra.org
    January 16th, 2009 10:00
    78

    [...] di server yang lama. 3. Karena pindah nama domain maka jalankan perintah mysql berikut (dapet dari sini) [...]

  83. Blog upgrade « Critical Exponent
    January 11th, 2009 02:08
    77

    [...] (Fore future reference, if I had been interested in moving the blog to a new domain name entirely, I would also have followed the steps here or here). [...]

  84. Problemas de migración | /dev/GON
    January 9th, 2009 07:27
    76

    [...] para ajustarlo a la url del sitio nuevo, pero me gaste un par de horas en google para encontrar que esta cosa requiere cambios a nivel de base de datos. Luego, mirando más en detalle, descubrí como wordpress guarda los datos, francamente llega a dar [...]

  85. Piplos’ blog » Spostare WordPress su un altro dominio
    January 2nd, 2009 23:15
    75

    [...] [via MyDigitalLife] [...]

  86. Flip
    January 1st, 2009 02:45
    74

    Thank you very much!

  87. Help
    December 7th, 2008 11:22
    73

    Could someone possibly interpert this info and lay it out a little more basic. The writer is on track but not very helpful on the step by step aspect for us more basic users. I know this is what I need to do but cant tell where to do some parts in the host or in wordpress.

  88. Wouter Volkeri
    December 5th, 2008 18:54
    72

    Thanks man. Everything is working again! :-)

  89. Lyna
    December 5th, 2008 14:29
    71

    It’s perfectly working!

    Thanks a lot!

  90. De VinnieBlog site is verhuist !!! |
    November 22nd, 2008 00:51
    70

    [...] How to Move WordPress Blog to New Domain or Location [...]

  91. TauAs
    November 21st, 2008 02:45
    69

    Thank you very much! everything works perfectly.

  92. Ovidiu
    November 15th, 2008 16:09
    68

    need some urgent help guys. my move from subfodler to root wen smoth, excet that now, evry page is extemely slow, even if I only browse through the backend :-( Ieven put the site in maintenance mod and deactivated all plugins and still as soon sI hit any page o this blog, cpu load goes to 80% nd the page comes down to a crawl. l other sites n thesame server are still actin normal.

    ts leads me to th assumption that there are ome rdirects somewhere which are slowing it down. any hints what to check?

    Except from the slowliness all is workin :-(

  93. ovidiu
    November 15th, 2008 00:32
    67

    also one might have other places that mention the old url, so this plugin could also help: http://wordpress.org/extend/plugins/search-and-replace/faq/

  94. ovidiu
    November 15th, 2008 00:15
    66

    just moved my blog and this page saved my life.
    have to point out though, that I was not using the default table prefix :-) but that was easy to figure out.

  95. John
    November 9th, 2008 12:12
    65

    You’re a rock star! Worked like a charm. Thanks a ton!

  96. Serggg
    November 7th, 2008 21:37
    64

    I follow him to serve my turn upon him:we cannot all be masters, nor all masters.Cannot be truly follow’d.

  97. Webspace of Eric Brodeur » Moving a WordPress blog to another folder
    October 26th, 2008 02:23
    63

    [...] your blog posts contain images or links using the old folder they must be changed. There is a simple SQL command which performs a search and replace. I suggest using phpMyAdmin instead of MySQL’s command [...]

  98. how to move a local wordpress to live blog? | Blog Design Studio
    October 20th, 2008 15:37
    62

    [...] of moving things as well. MyDigitalLife has written this excellent article, which tells you that how can you move WordPress blog to a new domain name. You just have to use this way [in this case the old domain will be http://localhost/ (in most of [...]

  99. malcolmm
    October 13th, 2008 02:51
    61

    very useful post – thanks. I saw mention of the plugin, but I prefer to do it this way, so that I can see what I am doing to the database.

  100. Andrew Wii
    October 10th, 2008 19:26
    60

    Great effort of providing latest Word Press information.

  101. Jagtesh Chadha
    October 10th, 2008 12:22
    59

    Thank you! You’re a life saver!

  102. Random writings » 转移WordPress到另一个URL
    October 6th, 2008 13:19
    58

    [...] 想读更详细的解释,请阅读How to Move WordPress Blog to New Domain or Location Written by admin in: Web Development | [...]

  103. Velvet Blues
    October 5th, 2008 01:53
    57

    Great post. We just released a plugin which simplifies this process for people who don’t want to, or don’t know how to, use phpMyAdmin.

    All users need to do is upload the plugin and enter their old and new urls. Then presto, All links are updated!!!

    Check out the Update URLs plugin here.

  104. lifeiseasy
    October 2nd, 2008 03:12
    56

    wow, thanks for the information..:)

  105. turnkey websites
    September 30th, 2008 05:29
    55

    thanks for the great info i was having a blog of jokes

    http://www.top-jokes.info where it was difficult to load and after making the changes you have listed above its been very easy for me to use the old website da\ta on my new domains.
    thanks again.

  106. alex robinson » Blog Archive » Migrating mom’s wordpress
    September 28th, 2008 20:54
    54

    [...] …as per the instructions of this guy. [...]

  107. 7ota
    September 21st, 2008 14:59
    53

    Thanx for that , its help me soooo much

  108. Joomla CMS
    September 20th, 2008 07:39
    52

    I have been using Joomla CMS since it’s beginning and really love it.

    At the moment I am considering to use Wordpress as my blogging tool, and since this guide illustrates the easiness of the movement process, I am feeling a bit safer to convert :-)

  109. Autoversicherung
    September 20th, 2008 06:10
    51

    My Favorit Blog. Very thanks and best regards from Germany. Thanks

  110. The Forgettful Website Developer » Blog Archive » Moving a WordPress website to a new host
    September 17th, 2008 05:01
    50

    [...] moving wordpress site [...]

  111. Mudanza del blog | Thuer.com.ar
    September 17th, 2008 00:37
    49

    [...] Mover un blog en Wordpress a otro dominio: “How to Move WordPress Blog to New Domain or Location“ [...]

  112. mirosol
    September 16th, 2008 21:24
    48

    Just used your tutorial and it worked great! Thank you very much!

  113. How to move wordpress blog to new domain or location - Drosophila Genetics and Epigenetics
    September 12th, 2008 04:34
    47

    [...] case of need, THIS can really helps ! This entry was written by Christophe, posted on September 11, 2008 at 10:34 [...]

  114. WordPressのURL移転時の内部リンク書き換え方法覚書 - SharpLab.
    September 10th, 2008 13:48
    46

    [...] バイトで必要になったので調べた。How to Move WordPress Blog to New Domain or Location » My Digital Lifeというエントリが参考になる。 [...]

  115. cathy lopez
    September 9th, 2008 00:23
    45

    You just save my life! lol!
    Thanks for your article.
    It worked great! No fuzz!

  116. Welcome to c64glen.com at C64GLeN - The blog of Glen McNamee
    August 24th, 2008 07:39
    44

    [...] database across, and after a few little changes here and there (wordpress plugins and a few little database changes) all was [...]

  117. Smuggle Me » Export One Wordpress Blog Category to Create a New Blog
    August 17th, 2008 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: [...]

  118. Piotr
    August 10th, 2008 05:26
    42

    great info :)

  119. How to move WordPress blog from old domain to new domain with 301 permanent redirection - SEO / SEM blog
    August 6th, 2008 18:00
    41

    [...] SQL codes from mydigitallife.info SHARETHIS.addEntry({ title: “How to move WordPress blog from old domain to new domain with 301 [...]

  120. Ken Hung
    August 3rd, 2008 21:45
    40

    YOU TOTALLY SAVE MY LIFE!!!!!!!! THANK YOU SO SO SO VERY MUCH! Yea!

  121. NAthanT
    July 30th, 2008 15:56
    39

    Gold information.

    You saved me hours.

    Cheers

  122. We’ve Moved… Everything Must Go! : Foo Kabloo!
    July 22nd, 2008 11:08
    38

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

  123. Designer-WG » Blog Archive »
    July 14th, 2008 20:18
    37

    [...] I’ve posted this comment to the mydigitallife.info [...]

  124. Simon
    July 14th, 2008 20:04
    36

    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

  125. rebel
    July 9th, 2008 13:38
    35

    yes there are open
    http://www.demonoid.com/

  126. Nikhil George
    July 1st, 2008 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. I was really tensed, but this was actually completed in seconds…..:)

  127. ——Sahil Seth dot com—— » Back again…
    June 26th, 2008 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 [...]

  128. Phil
    June 19th, 2008 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.

  129. Rhett Soveran
    June 16th, 2008 08:30
    31

    Thanks so much for this post. It was tremendous help. That was so easy to follow and worked perfect.

  130. scriptygoddess » Blog Archive » Moving a Wordpress Install
    June 15th, 2008 05:29
    30

    [...] all their sites to the new site. Some of these sites were wordpress powered. Thankfully, I found this article that made the move a [...]

  131. Worcester NO2ID
    June 14th, 2008 02:09
    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!

  132. Stuart
    June 10th, 2008 00:26
    28

    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?

  133. Chad McCanna
    June 9th, 2008 03:03
    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. This solved ALL my problems. You have no idea what a godsend this blog was to me. THANK YOU!

  134. radyo dinle
    June 2nd, 2008 15:34
    26

    hi @ all i need plug in for hosting for wp who can help me

  135. IP traumas at sliced moments
    May 22nd, 2008 21:52
    25

    [...] url (siteurl) didn’t seem to help. More grumbling and puzzling around until I came across this post describing how which database values needed changing. Taking the advice of one of the comments this [...]

  136.   Me mudo al nuevo dominio elcofrecito.net by El Cofrecito
    May 21st, 2008 20:56
    24

    [...] cambiar el de dominio o servidor a su blog en Wordpress estos son los tutoriales que utilicé: How to Move WordPress Blog to New Domain or Location y Changing The Site [...]

  137. Mark
    May 21st, 2008 08:12
    23

    An easier way to replace all occurrences of your old domain name is to export your database into a text file using phpmyadmin or a backup plugin, then use a text-code editor to find and replace all occurrences of olddomain.com with newdomain.com.

    Import and voila!

  138. dreamluverz collection » Blog Archive » moving wordpress to another server
    May 21st, 2008 01:30
    22

    [...] Read full article on this link http://www.mydigitallife.info/2007/10/01/how-to-move-wordpress-blog-to-new-domain-or-location/ Tags: wordpress This entry was posted on Wednesday, May 21st, 2008 at 1:30 am and is filed [...]

  139. radyo hosting
    May 16th, 2008 18:08
    21

    thanks for sharing this howto

  140. housespeed
    May 10th, 2008 05:41
    20

    they had the wild playing still there. work visit little done it. let it go. reminded damage the forests

  141. Changer le nom de domaine d’un blog sous wordpress
    May 5th, 2008 20:26
    19

    [...] 1- Backup des données sur le serveur web 2- Backup de la base de données de l’ancien domaine (design.2803) 3- Création du dossier blogdecodesign.fr sur le serveur et de blogdecodesign.com avec une redirection 301 en htaccess vers le .fr 4- Upload de tout le dossier de l’ancien domaine vers le nouveau dossier (blogdecodesign.fr) 5- Création d’une nouvelle base de données 6- Upload de la base de données téléchargée au point 2 dans la nouvelle base de données 7- Exécution des lignes de commandes suivantes pour mettre à jour la base de données (source my digital life): [...]

  142. Philippine Website Developers
    May 1st, 2008 17:16
    18

    Thanks for sharing how to move WordPress blog to new domain or location.

  143. G
    April 28th, 2008 01:15
    17

    A really great help after moving my wp-installation. Made my day :) Thanks

  144. wassup
    April 1st, 2008 03:21
    16

    Thanks for this article.

  145. soul
    March 31st, 2008 13:53
    15

    this occured to me after moving from one webhost to another. i couldnt login as admin.

    tried alot of the cheap fixes but the cheapest of all worked:

    http://www.village-idiot.org/archives/2007/05/22/wp-emergency-password-recovery/

    be sure to delete emergency.php after yer done!

  146. Luís Reis
    March 27th, 2008 12:37
    14

    Hey again! Forgot to mention that I also had to change links to images inside post content!
    Like this:

    UPDATE wp_posts SET post_content = replace(post_content,”http://somedomain.com/newdir”,”http://somedomain.com/”);

    The method is always the same, find the old link in the table fields and replace by the new one.

    Bye!:)

  147. Luís Reis
    March 27th, 2008 11:59
    13

    To fix images path after moving wordpress to another domain or directory you need to update wp_postmeta and wp_posts so that every link related to posts link to the new wp_content location. We need to do a find and replace in some tables of the database. Using phpMyAdmin You could use the following SQL code to search and replace de links.

    UPDATE tablename SET tablefield = replace(tablefield,”findstring”,”replacestring”);

    One example would be:

    UPDATE wp_postmeta SET meta_value = replace(meta_value,”http://somedomain.com”,”http://somedomain.com/newdir”);

    UPDATE wp_postmeta SET meta_value = replace(meta_value,”http://somedomain.com”,”http://somedomain.com/newdir”);

    or the other way round depending on your case… (this was mine – changed to account root)

    UPDATE wp_postmeta SET meta_value = replace(meta_value,”http://somedomain.com/newdir”,”http://somedomain.com”);

    Note: You can use similar expressions to change links for “wp_posts” table, in this case the field to change is “guid”.

    Note: In my case I had to Update Permalinks in Wordpress Admin->Options->Permalinks to update global linking.

    IMPORTANT: Before changing any table fields look carefully at the field values of the tables in the database so you can decide what values to change.

    This solved my migration of wordpress because after changing files to the server account root directory everything was pointing to the old URL.

    Hope to help, I know what you guys are going through! I had this problem a few days ago.

    Sorry if my English let You down but I’m just a poor Computer Engeneering Student from Portugal :) Have a nice life! Peace!

  148. Kevin Inscoe - The Morning Report » Blog Archive » Renaming your Wordpress 2.x blog to another domain name
    March 18th, 2008 00:39
    12

    [...] to mydigitallife for the hints on how to do [...]

  149. Samuel
    March 14th, 2008 15:40
    11

    i disabled all plugins, and the site worked again. maybe this helps. bye

  150. The Ud
    March 14th, 2008 13:00
    10

    You rock and fixed my site. Gracias.

  151. Steve Leung
    March 9th, 2008 15:54
    9

    These SQL statements made my day a lot easier. Thanks!

  152. Samuel
    February 24th, 2008 00:23
    8

    hey, i followed these instructions, but wordpress now just wont display anything. i get a white page when opening index.php… anyway, i can display single pages with example http://url.com/wordpress/?p=123

    strange is that i won’t find any php errors, httpd errors or anything alike. any suggestions?

    samuel

  153. Rob Schultz
    February 19th, 2008 05:59
    7

    Thank you so much for the above instructions. You just saved me a lot of time! Much appreciated.

  154. » And we're back! TechNest: The TechNest — The personal blog of Alex Luft
    February 9th, 2008 10:14
    6

    [...] is to follow these instructions. I did. Result? All images became broken after the move. I followed these instructions to fix them in my SQL database. No luck. The results from the SQL queries stated that [...]

  155. » Welcome! Here we go! Alex Luft: Just another WordPress weblog
    February 8th, 2008 12:13
    5

    [...] is to follow these instructions. I did. Result? All images became broken after the move. I followed these instructions to fix them in my SQL database. No [...]

  156. Kevin
    January 22nd, 2008 07:24
    4

    THANKS!!! I thought I screwed things up royally by trying to organize my domain (and my life). This saved me.

    Cheers

  157. Technomestique » Blog Archive » Déménager son blog WordPress…
    January 16th, 2008 01:20
    3

    [...] article en anglais chez MyDigitalLife explique également comment déplacer son blog WordPress. C’est une méthode très proche de [...]

  158. Jon-o Addleman
    January 14th, 2008 04:45
    2

    Thanks so much for this! I can’t believe this info isn’t on http://codex.wordpress.org/Moving_WordPress already! I’ve been suffering through all sorts of 404’s ever since following those instructions!

  159. SEO Rob
    January 11th, 2008 04:48
    1

    What’s wrong with using the builtin Export-Import functions and then just install a plugin to redirect the URLs?

    http://rmarsh.com/2006/09/23/moving-your-blog/

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>

Subscribe to comments feature has been disabled. To receive notification of latest comments posted, subscribe to My Digital Life Comments RSS feed or register to receive new comments in daily email digest.
Custom Search

New Articles

Incoming Search Terms for the Article

moving wordpress - move wordpress - wordpress change domain - move wordpress blog to new domain - migrate wordpress - wordpress move domain - moving a wordpress blog - moving wordpress to a new server - how to move a wordpress blog - move wordpress to new host - move wordpress blog - moving wordpress to a new domain - migrating wordpress - moving wordpress to new host - moving wordpress blog - move wordpress to new domain - how to move wordpress - wordpress domain - move wordpress installation - how to move a wordpress blog to a new host - moving wordpress to new domain - how to move wordpress blog - wordpress domain change - how to move wordpress blog to another domain - moving a wordpress site - how to move wordpress blog to new host - how to migrate wordpress - move wordpress new domain - move wordpress to another domain - migrating wordpress to new domain - how to migrate wordpress blog - move wordpress domain - Moving wordpress database - wordpress migrate - change wordpress domain - migrate wordpress blog - moving a wordpress blog to a new host - moving wordpress to another domain - move wordpress blog to new host - moving wordpress site - link wordpress to domain - how to move wordpress to new domain - move a wordpress blog - move wordpress - wordpress moving domains - wordpress domain name - wordpress move blog - move wordpress different domain - wordpress new domain - move wordpress to different domain -