Learn how to create a WordPress topic

Source: Internet
Author: User
Tags install wordpress wordpress database
A little bit of CSS, PHP, HTML

A little bit of CSS, PHP, HTML basics. Lack of foundation is hard

Find a complete set of tutorials, thoroughly learn and practice.

The WordPress topic creation tutorial of the boiled fish blog is very good. many people rely on it to get started, but it also has some disadvantages.

You know the differences between ideas written by foreigners.

In, some functions seem to have been abandoned.

The translation is obscure. the Source Code comments are in English.

Therefore, I plan to update the theme based on my experience in the past few months.

Build a local environment

WordPress is developed based on PHP + MySQL. I believe all my friends who have some preliminary knowledge about WordPress can understand it. Building an environment that can run PHP + MySQL is a bit complicated. you need to install HTTP server software such as PHP, MySQL, Apache, IIS, and Nginx, and perform complex configuration after installing the program.

Since it is a local test, we strongly recommend that you install the XAMPP software with one click. it can install common and uncommon software and components such as Apache, PHP, MySQL, and phpMyAdmin with one click, it can quickly build a development environment required for local testing.

This article will be divided into two parts to introduce how to build WordPress. The first part introduces the XAMPP software for building the Apache + PHP + MySQL environment locally (skip this part if you build a virtual space ), the second part introduces how to download and install WordPress.

XAMPP installation tutorial

Select the xamppexeexecutable program of the zookeeper operating system (xampp-win32-1.7.3.exe and the installation package is about 50 MB) and download it to the local device.

Run the xampp-win32-1.7.3.exe file, step 1 select the drive letter. For future convenience, it is recommended that XAMPP be directly installed in the root directory. The program will automatically create the/xampp directory, and programs such as PHP and MySQL will all be located in this folder.

XAMPP installation Step 1: Select the installation location

Select the appropriate one to start installation.

Step 2 of XAMPP installation: simple settings

The entire installation process takes about 3 minutes. after the process bar is read, it will pop up. ask if you want to add shortcuts to the desktop and other issues. select as needed, if you are not familiar with these configurations, we recommend that you use the recommended settings.

Disable software such as thunder that may occupy port 80, open the XAMPP software, and start the PHP and MySQL services,

XAMPP is successfully installed and the PHP and MySQL services are started.

After the installation is successful, enter http: // localhost/in the browser. the following page is displayed, indicating that XAMPP has been successfully installed and started.

XAMPP is successfully installed.

WordPress installation tutorial Create a WordPress database

Access http: // localhost/Phpmyadmin/, Go to the MySQL Web management terminal phpMyAdmin. With phpMyAdmin, we can directly and conveniently manage MySQL databases and execute SQL statements.

Create a database

Create a database on the phpMyAdmin homepage with any name, such as my_wordpress. Select the utf8_general_ci character set for "sorting" and "MySQL connection verification.

Download WordPress

WordPress official download: http://wordpress.org/download/

WordPress official Chinese download: http://cn.wordpress.org/

WordPress Chinese team (unofficial) http://wfans.org/blog/



Download the latest WordPress installation package from any of the above websites, decompress the installation package, and get the wordpress folder, which is the WordPress program.

Move the folder to X: \ xampp \ htdocs \ (X is the drive letter where XAMPP is installed ). X: \ xampp \ htdocs \ is the root directory of the HTTP server. if we do not want to use http: // localhost/wordpress/to access the WordPress program, you need to delete the original file in the htdocs directory, and then copy all the files in the wordpress directory to htdocs, and then you can use http: // localhost/to directly access WordPress.

Install WordPress

WordPress has a luxury 5-minute quick installation method. Visit the WordPress homepage http: // localhost/wordpress/and follow the prompts to proceed.

Install WordPress: Enter the database information

Here, enter the database name my_wordpress we just created. the username uses the default root of XAMPP. the password is blank and the database host is localhost. The table name prefix must use the default wp _. to install multiple WordPress in the same database, you must enter different table prefixes, such as wp1 _, wp2 _, this situation may be mostly seen in the use of virtual space, while the host provider limits the number of MySQL databases that can be created.

If you are creating WordPress in a virtual space, you must ask the host provider for the username and password of the MySQL database.

Enter WordPress information

After entering the database information in the previous step, you can enter the basic information of WordPress, including the website name, administrator password, and email address. After the installation is successful, except for the administrator's username modification, other information can be modified from the background.

After the submission is successful, you can log on to the management background as instructed on the webpage.

WordPress management background

Now you can start your WordPress journey!

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.