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 transfer wordpress to another hosting?

Discussion in 'Programming' started by scriptaty, Aug 12, 2008.

  1. #1
    I think this is the suitable place to ask this.If not please mopve it.

    I want to transfer my wordpress blogto another hosting now.

    I got all the backups but my previous database name was username_wordpress and now it will be simply localhost.

    Now how to change this database.

    Please say me detail way as I am newbie php programmer and don't know nicely about wordpress.

    Thanx in advance.
     
    scriptaty, Aug 12, 2008 IP
  2. MeetHere

    MeetHere Prominent Member

    Messages:
    15,399
    Likes Received:
    994
    Best Answers:
    0
    Trophy Points:
    330
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #2
    change the database in your wp-config.php ;)
     
    MeetHere, Aug 12, 2008 IP
    scriptaty likes this.
  3. scriptaty

    scriptaty Banned

    Messages:
    522
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #3
    Thanx , I will try it and say you if it worked or not as well will ask if I get any problem while doing this.

    Many many thanx once again.
     
    scriptaty, Aug 12, 2008 IP
  4. garrettheel

    garrettheel Peon

    Messages:
    341
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #4
    Yeah, basically just move all the files over and change your config settings. If you need help with this, I'll do it for you for cheap, PM me.
     
    garrettheel, Aug 12, 2008 IP
  5. hip_hop_x

    hip_hop_x Active Member

    Messages:
    522
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    90
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #5
    move files,create a new database and add a username to it, make sure you set wpconfig.php with the new database settings, export mysql and import it in the new hosting using phpmyadmin.
     
    hip_hop_x, Aug 12, 2008 IP
  6. asterix

    asterix Well-Known Member

    Messages:
    1,095
    Likes Received:
    97
    Best Answers:
    0
    Trophy Points:
    165
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #6
    this should help you out .. :)

    h**p://codex.wordpress.org/Moving_WordPress#Moving_WordPress_to_a_New_Server
     
    asterix, Aug 12, 2008 IP
  7. iBBnet

    iBBnet Peon

    Messages:
    902
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #7
    If you ever get confused (or lazy), I'll save you all the pain. I'll transfer it for $5
     
    iBBnet, Aug 13, 2008 IP
  8. G2o

    G2o Guest

    Messages:
    18
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #8
    If you havent found someone to do it as yet or didnt get it to work, send me a pm, no cost to help you out
     
    G2o, Aug 13, 2008 IP
  9. MarbleHost.com

    MarbleHost.com Well-Known Member Affiliate Manager

    Messages:
    634
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    155
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #9
    As MeetHere said, changing the database name in wp-config.php is the solution in your case.

    One of the more general ways how to solve such problems is to use total commander, press ALT + F7 and search in the directory (and subdirectories) where is your script located for the database name. This way you will find all files where is necessary to change the database name.
     
    MarbleHost.com, Aug 14, 2008 IP
    scriptaty likes this.
  10. scriptaty

    scriptaty Banned

    Messages:
    522
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #10
    Thanx for everyone who replied.I did it already but my server don't allow pingback for security reasons.So, I got all database backup and will upload and finish everything in very short period time.

    Thanx again to everyone and marblehost.com thanx for your new tip for shortcut work.
     
    scriptaty, Aug 14, 2008 IP