Search

Wordpress's Articles

Learn Wordpress framework from the best online Wordpress tutorials & courses recommended by the programming community.

Install and configure WordPress in Ubuntu
Wordpress is the most popular open-source CMS framework for website building. Wordpress runs on the top of the PHP language and uses MySQL or MariaDB as database. Wordpress is easy to run blogging or cart websites and it does not need costly server. Also it does not need heavy programming knowledge to run Wordpress project and it is open-source CMS web framework. Thats is why Wordpress is most popular in running websites. There are many ways to install and run Wordpress project. In this article, We will download Wordpress project from the official site and configure as this is the easy way to install and configure ubuntu. Prerequisites You need to be logged in as non-root user with sudo permission. You should already installed LAMP stack installed in your server. Download and install Wordpress After installing LAMP stack, first of all, download latest Wordpress project compressed tar file. For that, go to the apache2 root folder. cd /var/www/html Download latest version of Wordpress project compressed file. wget -c http://wordpress.org/latest.tar.gz Extract project folder, Now your project is ready to run. tar -xzvf latest.tar.gz Give necessary permission for project sudo chown -R www-data:www-data /var/www/html/wordpress Create MySQL database You have downloaded Wordpress project, now you will need to create and setup database. So first, login to MySQL command line shell. mysql -u root -p Type password and you will redirect to MySQL command line shell. Create database using bellow command. CREATE DATABASE wordpress_database; Create new user and grant permission to database GRANT ALL PRIVILEGES ON wordpress_database.* TO 'wordpress_username_here'@'localhost' IDENTIFIED BY 'wordpress_password'; And flush privileges FLUSH PRIVILEGES; Last exit MySQL command line. EXIT; Setup and run Wordpress project Now you have also created database. In the last, setup Wordpress project and run in the browser. First go to the project root directory and copy or rename wp-config-sample.php file to wp-config.php file. sudo cp wp-config-sample.php wp-config.php Then open wp-config.php file and change database credentials to yours one. /** The name of the database for WordPress */ define( 'DB_NAME', 'wordpress_database' ); /** MySQL database username */ define( 'DB_USER', 'wordpress_username_here' ); /** MySQL database password */ define( 'DB_PASSWORD', 'wordpress_password' ); And run your website address in browser and you will get bellow screen Wordpress setup wizard. Just run through setup wizard. First select language.   Input admin details. Thats it. Your Wordpress website is configured and now you can login to your Wordpress admin panel and setup website. Conclusion This way, you can simply run Wordpress website. I hope this will help you to setup new Wordpress website.  
Woocommerce Plugin Installation in Wordpress
WooCommerce is a flexible, open-source e-commerce plugin for Wordpress. It is a easy and ready to use application plugin and has become very popular. It is currently powered nearly 17% of all e-commerce websites. It is designed for all type of merchants whether it is small or large-scale website. In this article, we will go through on how to install Woocommerce plugin in Wordpress 5.4. Just follow the bellow instructions to install Woocommerce plugin. Login to your Wordpress admin dashboard. In the left navigation menu, go to Plugins menu and click on Add New option. It will open Wordpress plugin store. Now search for woocommerce plugin from the searchbar and in the result menu, look for WooCommerce plugin and click on Install Now button. After WooCoomerce plugin install, it will ask to Active plugin. Click on Activate button.   This will install WooCommerce plugin and open Setup wizard. First it will ask for Store setup. On click Let's go! button, a prompt modal will ask if you want to enable usage tracking and help improve WooCommerce. Checkmark if you want to activate else direct click on Continue button. Now you need to choose which Payment methods you want to use for WooCommerce store. There are PayPal and Stripe are default methods. Later on you can also add other payment methods or can integrate your own custom payment. On Continue button click, it will ask for Shipping details. Set fixed rates and shiping rate and click Continue button. Now it will ask if you want install other WooCommerce plugin, like Facebook integration, Mailchimp etc. Uncheck any option that you do not want to install plugin and click Continue. Next it will ask for Jetpack plugin, that will use for automatic taxes, payment setup etc. If you don't want to install Jetpack, then click Skip this step link at the bottom of the page. That's it. Now Setup wizard is complete. Now you can Create new product or import old products. You can change options from WooCommerce setting menu, like address,  add payment options, car and checkout pages etc. WooCommerce is amazing plugin that makes simple blogging Wordpress website into WooCommerce website within minutes. In the next article, we will discuss on modifying WooCommerce plugin. Thank you for your support.