php - 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:
Upload all the wordpress files and folder on you hosting using cPanel
Import the database using the PhpMyAdmin.
Make the necessary changes in the wp-config i.e the DB_NAME(Database name), DB_USER(Name of the user whom the database privileges are assigned to), DB_PASSWORD, DB_HOST
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:
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.