Most of the beginners face errors while hosting their wordpress website, today I will share my view on hosting wordpress website. Let’s check the 4 steps to host wordpress website.
1)Copy all wordpress files to server root folder using FTP.
2)Import database to mysql database.
3)Create .Htaccess file at wordpress project root folder.
4)Create wp-config.php file and update database details.

1. Now create a folder under public_html to copy all your local host wordpress files using FTP.
2. Now create database in phpmyadmin and create users for database, now import database from local system.
Once database is imported, check for wp_options table, here in this table we need to check table row option_name, and update siteurl and home page to website domain name you are using, instead of localhost.

Dreamhost offers Best Hosting Plans To Host WordPress Websites

host wordpress website

3. Now create .Htaccess file, which acts as a configuration file, here wordpress uses this file to handle apache server files from its root directory. By using this file we can change permalinks for wordpress site and also block ip addresses for security and lot’s of uses by using .Htaccess file.

[sociallocker id=”500″]

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

# END WordPress


4. Now let’s discuss about our config file, here in the wordpress root folder we have an example config file, now copy paste that file in root folder and name it as wp-config.php.
To update config file we need details about our database like below.

host wordpress website

Thanks for reading this article, for any queries please use comment system.