logo
Ask your WordPress questions! Pay money and get answers fast! (more info)

Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.

If the asker does not get an answer then they have 10 days to request a refund.

$60
WP Transfer

I am having issues transferring my WP site which I created in my local host using WAMP.
Now, I need to having hosted in my web server (1&1.com)
I need to know how to do this since I have tried both importing/exportive native functions and by using the duplicator plugin and I have not had any luck.
Please let me know or help me do this.
THank you

This question has been answered.

cgscheer | 01/29/13 at 2:41pm Edit
Tutorial: How to assign prize money

Previous versions of this question: 01/31/13 at 8:38pm | 01/31/13 at 8:38pm

(7) Responses

See a threaded view of answers?

Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.

  • avatar
    Last edited:
    01/29/13
    2:47pm
    Arnav Joy says:

    see this

    http://www.wpbeginner.com/wp-tutorials/moving-a-wordpress-installation-from-local-server-to-a-live-site/

    http://www.jasonbobich.com/web-design/moving-wordpress-to-a-new-server/

    Previous versions of this answer: 01/29/13 at 2:47pm

  • avatar
    Last edited:
    01/29/13
    2:48pm
    John Cotton says:

    Unless you've got a very strange setup:

    1/ Copy the theme and any plugins from your local machine to the server. ie copy the wp-content folder and all it's sub folders.
    2/ Activate the theme and all the plugins
    3/ Use Tools > Export to export from local
    4/ Use Tools > Import to import on server. Don't tick "copy files" as it won't be able to find them on your local machine.

    Should do the trick.

  • avatar
    Last edited:
    01/29/13
    2:49pm
    Asad Iqbal says:

    Please check the following article and let me know if you are having any issue:

    http://www.ostraining.com/blog/wordpress/move-your-wordpress-site/

  • avatar
    Last edited:
    01/29/13
    2:55pm
    Luis Abarca says:

    Upload your wordpress installation folder to your production server, then run this querys:

    From your commando line (OSX, Linux)

    sed -e ‘s/localhost/yourdomain.com/g’ dev.sql > prod.sql


    or phpMyAdmin


    UPDATE wp_options SET option_value = replace(option_value, 'localhost', 'yourdomain.com') WHERE option_name = 'home' OR option_name = 'siteurl';

    UPDATE wp_posts SET guid = replace(guid, 'localhost', 'yourdomain.com');

    UPDATE wp_posts SET post_content = replace(post_content, 'localhost', 'yourdomain.com');

    UPDATE wp_postmeta SET meta_value = replace(meta_value, 'localhost', 'yourdomain.com') WHERE meta_value LIKE '%localhost%' AND meta_key = '_menu_item_url'

  • avatar
    Last edited:
    01/29/13
    3:10pm
    Abdelhadi Touil says:

    Hi.
    1) Copy all your local website files via FTP to your web server.
    2) Enter to phpMyadmin in your localhost and export your local website database as sql file.
    3) Edit the exported database file using a text editor, I recommand Notepad++, and seach/replace your local website URL (example: http://localhost/wordpress) with you online website URL (example: http://www.yourdomain.com), and save the chage to the database sql file.
    4) Create a new database in you web server.
    5) Go to your phpMyadmin in your web server, and import the database file saved in the step 3 to your new database created in you web serve in the step 4.
    6) Modify the wp-config.php file using the new database information created in you web serbver.
    Following these setps, all thing should work normal.
    Good luck and sorry for my bad English.

  • avatar
    Last edited:
    01/29/13
    3:41pm
    phppoet says:

    Try this if above mentioned steps didn't work for you . You can do this easily by following these steps

    1. Zip the folder of your local installation and upload the zipped file to root directory of your site.extract that zip file into root directory.

    2. Go to phpmyadmin on local host, select your database and export it to your harddisk .

    3. Now create a database with full attributes to the username and attach that database to the user account.

    4. Now go to phpmyadmin of your website(not localhost) and select newly created database and import the file you saved in your harddisk .

    5. Now open wp-config.php from your extracted folder in root directory and replace localhost , user , password ,database with your newly create database and user account.

    it will work like a charm .

    Previous versions of this answer: 01/29/13 at 3:41pm

  • avatar
    Last edited:
    01/29/13
    4:10pm
    Francisco Javier Carazo Gil says:

    Moreover all this, have in mind, that inside WordPress there are lots of serialized data, so you should update.

    You shouldn't do it:UPDATE wp_postmeta SET meta_value = replace(meta_value, 'localhost', 'yourdomain.com') WHERE meta_value LIKE '%localhost%' AND meta_key = '_menu_item_url' as Luis says because they can be broken.

    You should use this tool: http://interconnectit.com/products/search-and-replace-for-wordpress-databases/

This question has expired.



Luis Abarca, cgscheer voted on this question.



Current status of this question: Completed



Please log in to add additional discourse to this page.





Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.

If the asker does not get an answer then they have 10 days to request a refund.