简体   繁体   中英

Uploading Wordpress site

So, I have created a wordpress site with database and everything. I used the plugin "duplicator" to store a backup. I now have a folder with all the wordpress php-files and a sql-file as well. Im using localhost.

Now Im trying to upload it to a webhost but Im having some problems to make it work.

Right now Im using Cpanel but I don't understand how to import the wordpress files. What I have done so far is installing Wordpress with softaculous, checked, tried to upload sql-file in phpmyadmin, not checked, and tried to upload all the wordpress files to public_html, not checked as well.

Does it exist any easier way to upload all files to a webhost or could anyone guide me through the progess. I would be grateful!

If I have forgotten to mention anything please tell me. Thanks!

Please follow the steps:

  1. Upload all the wordpress files and folder on you hosting using cPanel

  2. Import the database using the PhpMyAdmin.

  3. Make the necessary changes in the wp-config ie the DB_NAME(Database name), DB_USER(Name of the user whom the database privileges are assigned to), DB_PASSWORD, DB_HOST

  4. Then later execute the following query, note: wp_ is prefix of table. If you have changed the prefix of the table at the time of installation then use that prefix with wp_ in the below query

    UPDATE wp_options SET option_value = replace(option_value, 'old_domain_url_here', 'new_domain_url_here') WHERE option_name = 'home' OR option_name = 'siteurl';

    UPDATE wp_posts SET guid = replace(guid, 'old_domain_url_here', 'new_domain_url_here');

    UPDATE wp_posts SET post_content = replace(post_content, 'old_domain_url_here', 'new_domain_url_here');

For more details please visit the below link:

http://www.wpbeginner.com/wp-tutorials/how-to-move-wordpress-from-local-server-to-live-site/

There are actually a few really good tutorials on the web. Have a look at this link: http://www.jasonbobich.com/web-design/moving-wordpress-to-a-new-server/#comment-2117

Use FileZilla to upload the actual content: https://filezilla-project.org You will need your Host, ex example.com, Username and password details provided by your web host to upload your site.

The above tutorial explains everything step by step, very useful.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM