Moving Wordpress Questions?

Discussion in 'WordPress' started by Default!, Jan 26, 2010.

  1. #1
    My wordpress is downloaded and installed in the folder /site

    I am wanting to move the entire thing to root directory. What is the easiest way to do this while still have everything work properly?
     
    Default!, Jan 26, 2010 IP
  2. Wp-Mod.Com

    Wp-Mod.Com Peon

    Messages:
    381
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Wp-Mod.Com, Jan 26, 2010 IP
  3. theivo

    theivo Well-Known Member

    Messages:
    238
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    105
    #3
    1. backup files and mysql db
    2. go to wp-admin > options - change both URL fields to the new place. Save.
    3. move the files with your ftp client to the root of your site

    this is the way!
    but there's on more important thing - lot of your file paths (pictures, files... in articles) will remain with the old url's
    so - download this plugin
    http://wordpress.org/extend/plugins/search-and-replace/
    Code (markup):
    and carefully made some changes in your DB

    search for: example.com/site and change to: example.com

    wish you luck.
    if something goes wrong - you got backup
     
    theivo, Jan 26, 2010 IP
  4. Mr.AD

    Mr.AD Member

    Messages:
    89
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    41
    #4
    Search RedirectMatch. It is simple but very usefull ! :D
     
    Mr.AD, Jan 26, 2010 IP
  5. seoexpert28

    seoexpert28 Active Member

    Messages:
    823
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    80
    #5
    Its kinda simple. Agree with theivo. Good Luck!
     
    seoexpert28, Jan 27, 2010 IP
  6. hmansfield

    hmansfield Guest

    Messages:
    7,904
    Likes Received:
    298
    Best Answers:
    0
    Trophy Points:
    280
    #6
    hmansfield, Jan 27, 2010 IP
  7. Mr.AD

    Mr.AD Member

    Messages:
    89
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    41
    #7
    Hi,

    You can using this plugin to update all url in posts, pages,...

    http://wordpress.org/extend/plugins/velvet-blues-update-urls/
    Code (markup):
    I used it 3 days ago and I thinks it very useful.
     
    Mr.AD, Jan 30, 2010 IP
  8. JustBusiness

    JustBusiness Peon

    Messages:
    431
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Do you have to do a fresh WP install on the new domain?
     
    JustBusiness, Feb 19, 2010 IP
  9. theivo

    theivo Well-Known Member

    Messages:
    238
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    105
    #9
    Another dirty trick to update the URLs is to open the DB file with any truster text editor as Notepad2 or Notepad++ for example and to use "Search and Replace" function and then to import this file to the new DB in the server
     
    theivo, May 9, 2010 IP
  10. extremephp

    extremephp Peon

    Messages:
    1,290
    Likes Received:
    32
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Have a Fresh install on the new server you are moving to.. and drop the backed up database from the old one.

    And if you are doing the same server transfers, just drag and drop it and correct urls using some plugins..! Simple :D
     
    extremephp, May 9, 2010 IP