Upload Wordpress Step By Step To Server Hosting

Published: 14th May 2010
Views: N/A

Once you are satisfied with the look of WordPress sites on your local PC, the results of the customized web site, design, content / articles that you write. Of course you are intending to publish them online. Still less if you do not have a choice of web hosting servers are the best. Make sure your servers have the facility to support the MySQL database and PHP scripts. Tips on choosing web hosting can be found here.



Furthermore, if you already have web hosting, very inconvenient time to upload a file to the server hosting if we do not know what the right way to do it. Any file which you upload? how to upload to the server hosting it? whether one of our file upload?



Much less effective to upload files one by one, the question if the files that we have there are thousands, how long we have to wait? here we will explain in brief how to upload to the server hosting the website in this case as an example wordpress application.



1. Creating a database via mySQL Database in Cpanel



If you have not created a database on the server, please make first. Create MySql database can be done in cPanel> MySQL Databases. There can be obtained from:



• name of the database, for example: '35_wordpress'

• Database Username, for example: '35_admin'

• Password database, for example: 'bao'



2. Local computer database backups



Prepare wordpress database application that you have created while offline. Backup your database, if using phpMyAdmin, please access phpMyAdmin from the web browser (http://localhost/phpmyadmin)



Select the database you want to upload wordpress from the drop down menu "database". Once the database is selected and displays the table-tablenya, click on the "export" and choose select all and check the box 'Add Drop Table "Do not replace the others unless you know what you are doing. Check "Save as file" press the "go" at the bottom right of your browser. The browser will issue a confirmation to the local computer store.



3. Import database through phpmyadmin in cpanel



Once finished creating the database and the user (step 1) and export the database on your local computer (step 2). Please open the menu Select phpMyAdmin in cPanel database with the name (_wordpress) that you created earlier in the first step.



Once the database is selected, click on the "import" and browse the database backup file and "Go" to import. For details you can see in the article how to upload-mysql-database.



4. Upload file



Before you upload the wordpress files to the server via FTP, we recommend compresi in a Zip format file before all of the files and directories wordpress installation on your local computer. Use normal compression (default) for the zip files and directories wordpress.



Upload. Zip file using ftp / filezilla to speed the upload process and avoid kagalan upload. If you want to make a web application as the main wordpress please upload the wordpress zip file into the directory / public_html / wordpress so that applications can be accessed through http://yourdomain.com/.



After the upload is complete, log into your cPanel> File Manager, locate the file you uploaded (in a public_html directory), right click on the file and extract.



5. Setting file wp-config.php



Until step 4, if you try to access your Web site may be found a mistake / error messages. This is because the wp-config.php file from your local server does not contain information related to your hosting account details. Wp-config.php file stores information about the database name, userDB, and the password created on hosting accounts. You need to change the details in it as follows:



Go to cPanel> File Manager you. Find the file wp-config.php in the root directory of your wordpress. Right-click on the file and click 'Edit Code', change the line of code as the information we create in step 1.



When finished changing the configuration, press the Save Changes button.



6. Edit the MySQL Database Server Online



This last step is most important. We have to edit the database, which in this example is a database "cerita35_wordpress'" in order to connect with WordPress files us. We just need to change the URL, which in this example from 'http://localhost/wordpress284/ be' http://www.namaDomainAnda.com '.



If this step is not done then your site will not be displayed because the WordPress files to the database is like the two who had sedjoli can not be separated. The steps to edit the database:



Run phpMyAdmin in the Control Panel. Click the name of your database, in this instance "cerita35_wordpress'". Select and click on the wp_options table. In the display that appears click [Browse]. On the table there are 2 things to edit:



a. Edit entry "siteurl" in column "option_name". Click edit or pen for editing images. Replace 'it with option_value' http://www.namaDomainAnda.com (adjust with the path where the files wordpress directory and your domain name).



b. Edit entry "Home" on the same column. If you do not find it, click the arrow below the table. How to edit it the same as above siteurl entry.



7. Access your domain name through a browser. Finish.

Report this article Ask About This Article


Loading...
More to Explore