Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: Wordpress Migration Guide

  1. #1
    Thread Starter
    Veteran spymare's Avatar
    Join Date
    Aug 2010
    Location
    Denmark
    Posts
    871
    Thanks
    16
    Thanked 82 Times in 61 Posts

    Wordpress Migration Guide

    Wordpress Migration Guide - Move from one host to another

    __________________________________________________ _____
    1. Take a full backup of your WordPress installation using a ftp client.
    You need an ftp client that supports (CHMOD) we are going to use that later.
    I recommend Flashfxp: FlashFXP - FTP, FTPS, SFTP Client for Windows


    __________________________________________________ _____

    2. Take a full backup of your mysql server database (using phpmyadmin)
    It can often by found from you webhosting control panel or by going to:
    www.yoursite.com/phpmyadmin

    Follow the instructions on the picture, and you will get a zip file that contains your database

    __________________________________________________ _____

    3. Now let’s install a text editor called Notepad++ : Notepad++ | 5.9.2
    After it’s installed, we are going to extract the sql file, from the zip file, and edit it with notepad++

    As you can see, just replace your: www.oldsite with your www.newsite.com and save.
    In case you are testing on localhost replace: www.oldsite.com with localhost


    __________________________________________________ _____

    4. Now we are going to be very lazy... You guessed right Gzip .
    Now we want to upload all the ftp files to the new host.
    make a new zip file on your desktop, and put all the files & folders from your FTP backup, into the zip file.

    Now you should upload the zip file to your new host.
    Now we are going to use a php script that uses Gzip of extract the zip archive, it's much faster, than uploading over 2000 small files.
    The php files can be obtained here:

    UppIT - Free File Sharing - PHP Extractor.zip

    You can do it slow way, but it's a nice little tool that spares quite some time.

    __________________________________________________ _____

    5. Now we are going to import our modified sql file into our new database.
    go to the new hosts phpmyadmin yousite.com/phpmyadmin and delete any
    existing tables.

    Follow the instructions to import the file watching the picture

    __________________________________________________ _____

    6. as you expected, no we are not done yet..
    Now we need to change the upload path in sql table called "upload_path"

    The upload path is the path were your WordPress "upload folder" is located on the server, where it is hosted.

    examples:
    windows: C:\mysite\wp-content\uploads
    linux: /var/www/web176/web/wp-content/uploads

    To get the full path, we are going to use a little php script:

    <?php
    $path = getcwd();
    echo "This Is Your Absolute Path: ";
    echo $path;
    ?>

    Your path will probably not be the same as mine.

    my path : /home/m/a/ftp_markedbornholmdk/

    so we are going to make it look like this (add wp-content/uploads):

    /home/m/a/ftp_markedbornholmdk/wp-content/uploads


    Ok, now we know how to find our upload path, we need to edit the sql table now.
    Fire up your phpmyadmin panel and select you database, and then click on Search.

    in the search field type: upload
    and click: select All, and click Go.

    Click Browse, until you find a table called "upload path"
    You might find it under the table called wp-options.


    __________________________________________________ _____

    7. Now we are going to CHMOD wp-content to 755 (all sub folders & files)
    I recommend flashfxp for this task.


    __________________________________________________ _____

    8. We are almost done..
    Go to : www.newsite.com/wp-admin -> settings -> permalinks
    Check that your custom structure is set to: /%postname%/ and click
    Save changes, even it already is using: /%postname%/

    I hope you enjoyed the guide .
    If you are really lazy you can instead use a plugin called Duplicator:
    WordPress › Duplicator « WordPress Plugins

    When it comes to backup, I prefer to do it myself.

  2. The Following 3 Users Say Thank You to spymare For This Useful Post:

    barukar (August 30th, 2011), helmuc (December 6th, 2011), togitron (September 4th, 2011)

  3. #2
    rubencio's Avatar
    Join Date
    May 2010
    Location
    Spain
    Posts
    3,804
    Thanks
    268
    Thanked 316 Times in 278 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

    r u b e n c i o . c o m


    Since 2010 providing AppThemes solutions,
    Plugins and the best childthemes...



  4. #3
    Veteran barukar's Avatar
    Join Date
    Sep 2010
    Location
    Brasil, São Paulo, SP
    Posts
    6,782
    Thanks
    185
    Thanked 741 Times in 623 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    -------------------------------------------------------------------------------------------
    Projects: ClassiNoiva - Classimóveis - vocênoenem - i50 - Clube DETRAN

  5. #4
    ivanko's Avatar
    Join Date
    Sep 2011
    Location
    Croatia
    Posts
    79
    Thanks
    39
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  6. #5
    Thread Starter
    Veteran spymare's Avatar
    Join Date
    Aug 2010
    Location
    Denmark
    Posts
    871
    Thanks
    16
    Thanked 82 Times in 61 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    ♣ Display your classifieds site in Grid format
    Demo >> http://www.places-finder.com
    Thread >> https://forums.appthemes.com/theme-pl...comment-21709/
    Created by Mr. Green

  7. The Following User Says Thank You to spymare For This Useful Post:

    ivanko (October 7th, 2011)

  8. #6
    ivanko's Avatar
    Join Date
    Sep 2011
    Location
    Croatia
    Posts
    79
    Thanks
    39
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  9. #7
    ivanko's Avatar
    Join Date
    Sep 2011
    Location
    Croatia
    Posts
    79
    Thanks
    39
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  10. #8
    Senior Member navjottomer's Avatar
    Join Date
    Nov 2009
    Location
    Bareilly, India
    Posts
    246
    Thanks
    4
    Thanked 36 Times in 24 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  11. #9
    ivanko's Avatar
    Join Date
    Sep 2011
    Location
    Croatia
    Posts
    79
    Thanks
    39
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  12. #10
    Junior Member calmlogic's Avatar
    Join Date
    Jul 2011
    Location
    United Kingdom
    Posts
    26
    Thanks
    3
    Thanked 1 Time in 1 Post
    You must be an AppThemes customer and logged in to view this response. Join today!

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Users Guide
    By wcmga in forum Help Using ClassiPress
    Replies: 1
    Last Post: May 12th, 2011, 06:05 PM
  2. No migration script from 3.0.4 to 3.0.5.3 ??
    By anutka in forum Report ClassiPress Bugs
    Replies: 2
    Last Post: February 15th, 2011, 08:46 AM
  3. Upgrading from 3.0.5.1 to 3.0.5.3... any migration??
    By xenogeek in forum Help Using ClassiPress
    Replies: 4
    Last Post: January 10th, 2011, 07:09 PM
  4. Migration
    By an_roks in forum ClassiPress General Discussion
    Replies: 1
    Last Post: October 22nd, 2010, 08:19 AM
  5. Migration to new host
    By an_roks in forum JobRoller General Discussion
    Replies: 3
    Last Post: October 22nd, 2010, 08:11 AM