1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

How to change URL in Old wordpress database

Discussion in 'General Business' started by sweatlana, Nov 21, 2010.

  1. #1
    Hello friends,
    I need your help. I have a wordpress database with old domain and now I want to post this database on new domain. but I dont know how to change url in the database. For example: I have database of abc.com and I want to run this data on zebra.com. if you understand the question then please help me to post your experience here.

    thanks
     
    sweatlana, Nov 21, 2010 IP
  2. AmandaM1

    AmandaM1 Peon

    Messages:
    56
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You have to edit it in the actual database using phpmyadmin or similar. You'll also have to use the same version of WordPress on the new site then upgrade later. There might be several instances of the old URL in the database, just look in the obvious fields.
     
    AmandaM1, Nov 21, 2010 IP
  3. parting

    parting Well-Known Member

    Messages:
    348
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    101
    #3
    nice, i think it will work
     
    parting, Nov 22, 2010 IP
  4. Electro-Host

    Electro-Host Well-Known Member

    Messages:
    321
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    130
    #4
    You will need to use phpMyAdmin and look for the URL in your MySQL database. If you require someone to do it, I can help in this case.
     
    Electro-Host, Nov 23, 2010 IP
  5. gaddisjw

    gaddisjw Peon

    Messages:
    131
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    You can edit config.php file for further database changes.
     
    gaddisjw, Nov 23, 2010 IP
  6. computer3dart

    computer3dart Greenhorn

    Messages:
    79
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #6
    Import the database, once imported, click on the database name on the left, locate the wp-options table on the left, click on it, and change siteurl (click on the pencil icon to edit).
     
    computer3dart, Nov 24, 2010 IP
  7. sweatlana

    sweatlana Well-Known Member

    Messages:
    2,086
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    180
    #7
    thanks for your help but still my problem is not solved. I am looking for some more suggestions in detailed.
     
    sweatlana, Nov 25, 2010 IP
  8. gaddisjw

    gaddisjw Peon

    Messages:
    131
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    I guess you didn't follow the instructions properly.
     
    gaddisjw, Nov 27, 2010 IP