WordPress.org

Support

Support » Installation » Problem with transffering from local to server.

Problem with transffering from local to server.

  • Hey guys,

    I am encountering a problem migrating a localsite to the domain name jimmiearch.com

    I have done this before without any problem, but the hosting company I am using this time (FatCow) is making this very complicated.

    So this is what I have done so far.
    1-Loged on to my localhosted blog, and changed the url of the blog from localhost to jimmiearch.com
    2-Made an export of my local database.
    3-Transfer the local wordpress site to the domain using FileZilla
    4-Created a database, and uploaded the exported one
    5-Change the wp-config file in consequence.

    Yet nothing works.
    The main problem seems that when I click on a page for an example, the website is looking on the localsite path and not the one of the domain.
    (I am leaving the site up so you can see)

    If any one can be of any help, or needs more information it will be great.

    Thanks a lot!

Viewing 3 replies - 1 through 3 (of 3 total)
  • First check the general-settings on your new blog, check if the url’s are correct. If this doesn’t fix it check the codex:
    http://codex.wordpress.org/Changing_The_Site_URL

    Moderator Mark Ratledge

    @songdogtech

    Forum Moderator

    You need to change URLs in the database, either by changing the base URL by reading the link as pointed out above and also manually changing image URLs.

    Or, by running queries in phpmyadmin to change URLs for options, links, etc.:

    UPDATE wp_options SET option_value = replace(option_value, 'http://olddomain.com', 'http://newdomain.com') WHERE option_name = 'home' OR option_name = 'siteurl';
    
    UPDATE wp_posts SET guid = replace(guid, 'http://olddomain.com','http://newdomain.com');
    
    UPDATE wp_posts SET post_content = replace(post_content, 'http://olddomain.com', 'http://newdomain.com');
    
    UPDATE wp_postmeta SET meta_value = replace(meta_value, 'http://olddomain.com', 'http://newdomain.com');

    And see Moving WordPress « WordPress Codex

    Thanks guys ! adding a Define line in the wp-config file, solved it nicely!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Problem with transffering from local to server.’ is closed to new replies.