I recently spent a few nights setting up a WordPress blog. This is the first independent blog I have built. Compared with some of the blog services I have used before, now I finally feel a little at home. Now, let me share you my strategy so that you can make a Wordpress blog and earn money.
How to build a WordPress blog with own domain name? |
- Create a new blog file
- Purchase a domain name (Domain Name)
- Register a Web Host
- Domain name resolution (DNS)
- Install WordPress
- Install a WordPress theme
- Set permalink
- Install plugin
- Picture storage
- Add website icon
After completing these steps, the blog can basically be used normally. Of course, some optimizations need to be done later. This aspect will not be discussed here. The following is a specific introduction for each operation.
Create a new blog file
In the process of building a blog, we need to create a file to store relevant information about the blog.
This is an affiliate link, if you buy by clicking on it, then you will not have to pay much. But I will get a little commission and I will be grateful to you. |
This information includes domain name information, host space server ip, FTP login name and password, space panel login information, etc. As long as it is related to the blog, all information is stored in this file for easy viewing later.
Buy a domain name
Of course, the domain name must be purchased from the most famous goDaddy website ( goDaddy ). As the world's largest domain name registrar and supports every payment, it is our best choice for buying domain names.
GoDaddy |
This is an affiliate link, if you buy by clicking on it, then you will not have to pay much. But I will get a little commission and I will be grateful to you. |
This is an affiliate link, if you buy by clicking on it, then you will not have to pay much. But I will get a little commission and I will be grateful to you. |
(1) Add a record in DNSPod, and add a domain name after registration.
(2) Modify the DNS address of the domain name to DNSPod, log in to the goDaddy website, click "My Account", click "Launch" on the right side of "Domain", enter the domain name management page, click "Set NameServers" in the "NameServers" column, and click In the pop-up dialog box, fill in the domain name service "F1G1NS1.DNSPOD.NET" and "F1G1NS2.DNSPOD.NET" of the DNSPod at the first two Name Servers in the pop-up dialog box.
(3) Point the domain name to the ip of the host server, that is, add "A record" in DNSPod. Note that two records with "www" and without "www" should be added.
Install WordPress
(1) Log in to the cPanel panel, find "Database"-"MySQL database", create a database, then create a user, add the user to the database, check "All permissions", and click "Change" to complete.
(2) Upload WordPress, download the latest (your language) version of WordPress from the WordPress website, go back to the cPanel homepage, click "File"-"File Manager", select "Web Root" and then click "Go", select "Upload", select just now Upload the downloaded compressed package. After uploading, go back to the root directory and select the compressed package and click "Unzip". After the decompression is complete, there is a wordpress directory in the root directory. Enter this directory, click "Select all", and then click "Move files" to remove the directory In wordpress, move the file to the root directory.
(3) Set the basic information of wordpress, visit your domain name in the browser, follow the prompts and click the button until the page for entering database information appears, enter the database information created before, and the wordpress installation is now complete.
Install a WordPress theme
After the wordpress installation is complete, you need to install a theme for the blog, which is our page template, enter the wordpress management page, select "Appearance"-"Theme", click "Install Theme" to select the theme to install, you can also upload and download other themes.
Set permalink
Permalink refers to the url display of the article. The default is a question mark and a number. Modifying it into a custom structure "/%postname%/" can better allow search engines to find your article.
Install plugin
In order to make better use of WordPress, some good plugins are essential. Here are some plugins for personal use.
.Akismet
Akismet plug-in can help clear a large number of spam messages and comments, and keep the blog clean. Using the plug-in requires an API key, which can be requested from the hosting provider.
WP Super Cache's
excellent caching plug-in can make the blog static, on the one hand, it can improve the SEO ranking, on the other hand, it can increase the access speed of the blog and relieve the pressure on the server.
Google xml Sitemaps is a
good SEO plug-in, allowing search engines to better index your site.
Dynamic To Top
click to return to the top, the article is very useful when it is longer, you can customize the display effect.
WordPress Related Posts
This plugin displays related articles or random articles under each article, which is conducive to the SEO of the blog.
WP-PageNavi
is a very good paging plug-in to speed up the quick browsing of blog articles.
Smart Archives
article archive navigation plug-in, after installing the plug-in, create a new page, enter "[smart_archives]" in the content area of the page (the brackets are changed to English square brackets), save, and then create a new menu, add the page, a good one The article archive menu is complete.
Picture storage
For blogs built by novices, the host space is generally not large. If there are many pictures in the article, picture storage becomes a problem. Finding a stable and easy-to-use image bed to facilitate the use and storage of images should be the focus of attention. Here is an excellent free picture bed from abroad: photobucket
Photobucket |
This is an affiliate link, if you buy by clicking on it, then you will not have to pay much. But I will get a little commission and I will be grateful to you. |
Why is this feature so important?
Give you an example, assuming that I uploaded a picture, the name of the picture is wp.jpg, picture outside the chain address is HTTP: // i1249.photobucket.com/a lbums / hh519 /User name/album name/wp.jpg, and I also backed up a copy of the picture in DropBox and local, and the directory structure is the same as that in the album. If the photobucket cannot be accessed, the pictures in the blog cannot be displayed. At this time, I only need to upload the pictures to the new server, and then go to the database and modify the link of the pictures in batches to the new server’s picture storage address to restore all pictures. shown.
Add website icon
The website icon is a small icon displayed at the top of the URL and can be customized. The easiest way to obtain the icon is to download it from the website Favicon.cc , or make one yourself. The website icon is recommended to use the .ico file format.
After downloading the icon, upload it to the root directory public_html of the host, then enter the WordPress background management page, select "Appearance"-"Edit", open "head.php", and add the following code (make sure the icon name is favicon.ico):
<linkrel=”shortcut icon” href=”favicon.ico” >
After saving, refresh the page to see the icon