Weird Transfer Problem

Discussion in 'WordPress' started by NYSkyline, Dec 3, 2010.

  1. #1
    So I build a site on my localhost and I transferred it correctly to a /wordpress folder on my site.

    1.Transferred all files to the /Wordpress Folder
    2.Create database on webhost up loaded it and changes wp-config file

    When I go to domain.com/Wordpress I get to the homepage I created but when I try to login or navigate to another page all the links are still going to http://localhost/Wordpress/Page

    Shouldn't of this changed
    Any suggestions??

    I'm also using iCar if It could be a theme issue?
     
    NYSkyline, Dec 3, 2010 IP
  2. elicitservers

    elicitservers Peon

    Messages:
    714
    Likes Received:
    7
    Best Answers:
    1
    Trophy Points:
    0
    #2
    This should be easily resolvable by logging into your hosts control panel, and modifying your Wordpress database to change the site's location from localhost to your actual domain. If you need help with this please shoot me a PM :)
     
    elicitservers, Dec 3, 2010 IP
  3. NYSkyline

    NYSkyline Peon

    Messages:
    72
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks, Pointed me in right direction. I just added
    update_option('siteurl','http://example.com/blog');
    update_option('home','http://example.com/blog');

    right after <? Lined
    under functions.php in the theme
     
    NYSkyline, Dec 3, 2010 IP
  4. thedark

    thedark Well-Known Member

    Messages:
    1,346
    Likes Received:
    43
    Best Answers:
    0
    Trophy Points:
    168
    Digital Goods:
    1
    #4
    You should change the site url in your admin panel at general settings.
     
    thedark, Dec 4, 2010 IP