transfering hosts?

Discussion in 'WordPress' started by DK-Tandy, Aug 10, 2010.

  1. #1
    DK-Tandy, Aug 10, 2010 IP
  2. bhuthecoder

    bhuthecoder Member

    Messages:
    245
    Likes Received:
    11
    Best Answers:
    1
    Trophy Points:
    43
    #2
    change site url in "wp_options" table
    option_name
    siteurl
    home
     
    bhuthecoder, Aug 10, 2010 IP
  3. DK-Tandy

    DK-Tandy Active Member

    Messages:
    330
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    73
    #3
    could you kindly explain how i do this please (A) :)

    EDIT: doesnt matter, i found it :)
     
    DK-Tandy, Aug 11, 2010 IP
  4. deluxdon

    deluxdon Catch Me If You Can...!!!™ Staff

    Messages:
    25,482
    Likes Received:
    1,943
    Best Answers:
    32
    Trophy Points:
    480
    #4
    I think you need to go through below given for this.

    codex.wordpress.org/Moving_WordPress

    DON.
     
    deluxdon, Aug 11, 2010 IP
  5. DK-Tandy

    DK-Tandy Active Member

    Messages:
    330
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    73
    #5
    my database only has
    'SiteURL'
    and not
    'home' ??
     
    DK-Tandy, Aug 11, 2010 IP
  6. bhuthecoder

    bhuthecoder Member

    Messages:
    245
    Likes Received:
    11
    Best Answers:
    1
    Trophy Points:
    43
    #6
    check 2nd page
     
    bhuthecoder, Aug 11, 2010 IP
  7. DK-Tandy

    DK-Tandy Active Member

    Messages:
    330
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    73
    #7
    ive transferred all files etc, but all i get is errors ?

    whether its tryin to access the wp-admin i get
    Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\PD\wp-content\plugins\all-in-one-seo-pack\aioseop.class.php:4547) in C:\xampp\htdocs\PD\wp-includes\pluggable.php on line 890
    Code (markup):
    and when i first install i, i get an error from the CPA gateway plugin?
     
    DK-Tandy, Aug 11, 2010 IP
  8. ashutoshkj

    ashutoshkj Guest

    Messages:
    36
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #8
    first disable all the plugins and do all the settings as per localhost then enable the plugins...

    by the way why u want to install plugins on ur local installation???
     
    ashutoshkj, Aug 11, 2010 IP
  9. DK-Tandy

    DK-Tandy Active Member

    Messages:
    330
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    73
    #9
    because soon i will be transferring the site from a free host to a reseller account i have.. but i dont want to get it wrong when its in 'live' form...
    so im trying to master it on my local host to get it too work!
     
    DK-Tandy, Aug 11, 2010 IP
  10. DK-Tandy

    DK-Tandy Active Member

    Messages:
    330
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    73
    #10
    does the upload path need editing in the database when changing hosts?
     
    DK-Tandy, Aug 11, 2010 IP
  11. Abhik

    Abhik ..:: The ONE ::..

    Messages:
    11,337
    Likes Received:
    606
    Best Answers:
    0
    Trophy Points:
    410
    Digital Goods:
    2
    #11
    Type in your SQL Tab

    UPDATE wp_posts SET guid = REPLACE (guid,'http://www.olddomain.com','http://localhost/PD/');

    Change the values at olddomain and localhost and hit enter.
     
    Abhik, Aug 11, 2010 IP
  12. DK-Tandy

    DK-Tandy Active Member

    Messages:
    330
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    73
    #12
    Warning: require_once(/home/products/public_html/wp-admin/includes/user.php) [function.require-once]: failed to open stream: No such file or directory in /home/products/public_html/wp-admin/includes/admin.php on line 46

    Fatal error: require_once() [function.require]: Failed opening required '/home/products/public_html/wp-admin/includes/user.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/products/public_html/wp-admin/includes/admin.php on line 46

    ----

    ive moved it too a server, because it was the same domain name it was all easy. untill i wanted to log in as admin where i got that error above ?
     
    DK-Tandy, Aug 11, 2010 IP
  13. Riots

    Riots Active Member

    Messages:
    374
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    83
    #13
    just put this in your wp-config
    define('WP_SITEURL', 'http://www.example.com');
    define('WP_HOME', 'http://www.example.com');

    and
    Now set up your blog install, with the same settings as on the old domain (if you have a caching plugin installed, delete your cache files).
    Install the Search and Replace plugin, and do a search and replace for your old URL's and change them with your new URL's.
    Once you're done, and you've checked everything works twice
    thats how i do it everytime. hope it helps. you dont have to login to the database much easier this way..
     
    Riots, Aug 15, 2010 IP