What thorny issues do I encounter when building a personal blog?

Today's article mainly summarizes some difficult problems encountered by Xiaolu in building a blog. This article only writes about the starting point of these problems and their importance to me. In order to avoid excessive length, the specific solutions to the problems will be divided into several articles to write.

1、

Blog frame selection

For me, the choice of blog framework is the first big problem I encountered. Because there are too many blog frameworks on the market, and each has its own advantages and disadvantages, I have been tossing about the advantages and disadvantages of each framework for a long time in the early stage, so how to choose the right one?

1.1 According to what to choose a suitable blog framework?

The choice of blog framework is mainly based on personal needs. Everyone's needs are different, and the priorities between needs are different, so I will filter out the blog framework according to the priority of personal needs.

Example: For example, you pay more attention to security, so you will first choose a blog framework with higher security, and then the flexibility of personalized configuration, that is, the degree of free configuration of the page. Finally, there may be some requirements that are not important to you, such as a text editor, whether it is an open source framework, and the language used.

The following is a priority order according to the different needs of Fawn.

1.2 Stability

First of all, Xiaolu builds a blog with the intention of writing it down for a long time, which may be ten, twenty or even thirty years in the future, so the stability of the blog framework is my first requirement. Through this requirement, in the first stage, some blog frameworks that are unstable on the market and not maintained by the author will be gradually filtered out.


1.3 Configuration flexibility

The flexibility of configuration is divided into what is the programming language used, whether the configuration operation process is clear and easy to understand, whether the personalized configuration is flexible, etc.

★Language selection

At the programming language level, many blog frameworks are written in PHP language. Haha, although they say that PHP is the best language, I personally prefer JavaScript language to configure blogs.

★Personalized configuration

The so-called personalized configuration, when changing the blog style and layout according to your own needs, can you have enough flexibility, it is best to change the source code and view the layout and style of the page in real time.

★Difficulty of configuration operation

Some blog frameworks are cumbersome to configure. After all, the main purpose of building a blog is for better free writing. If you put a lot of energy into studying blog configuration operations, it feels a bit different.

Through the above requirements, some blog frameworks, such as Typlog, Hexo, and typecho, have been further screened out.

1.4 Text editor

Of course, a multi-functional text editor is indispensable for free writing, including font size, image settings, rich text editing, and code snippet support.

The multi-functional and concise text editor is more comfortable to write, and the layout is very refreshing, which is conducive to readers.

1.5 Security

The security of the blog is also extremely important, but there may be no malicious DDOS*** in the early stage when the traffic is not large. Once the blog has a large traffic volume, it will be vulnerable to DDOS ***, which will test the security of the blog framework.

If the security is not high, it is easy to frequently cause unresponsiveness and crash of the website, and even leakage of personal information and reader information privacy.

1.5 Access speed

Finally, for most domestic platform blog frameworks, the access speed is acceptable. But for many well-known blog frameworks abroad, they are vulnerable to various interceptions and restrictions on domestic access (as for why, you know).

So if you choose a foreign blog framework, you cannot avoid doing various optimizations yourself. The information in this area is sensitive, as everyone knows.

2、

Server deployment

The second biggest problem encountered is server deployment. Some frameworks need to provide their own server, while others don't. For example, the workpress on the market needs to provide a server, but Hexo does not need it (it can be set up on GitHub).

If you are deploying a server, you have to purchase the host and domain name yourself, which is also part of the cost. Of course, before this, I used the server I bought to build, using the typecho framework, and the server's operating system was Linux.

Because Linux is not usually contacted, I went to learn Linux deployment and commonly used commands, and then set up an nginx reverse proxy to resolve the purchased domain name to the host address.

Of course, you will encounter various problems in this process. You can only understand how to solve some problems only by understanding some principles. Therefore, this method of construction allows you to learn knowledge and skills in many fields.

3、

SEO optimization

The third problem is SEO optimization, which depends on the exposure of personal blog posts.

Then, some framework blogs have not done any SEO optimization, so search engines can't include your articles at all, and your articles will naturally not rank.

So, do everything on your own, and learn more about the working principles of search engines and the ways of SEO. Due to the large length of SEO content, a separate article will be written later.

4、

Comment system

Finally, the comment system is also very important. This is related to the user's stickiness to your website. Although it is not a key factor, it is also a necessary factor.

If a comment system is difficult to use, there will be few users to use the message function, so there is a lack of ideological friction between the author and the reader.

Recently, I have also been looking for a suitable comment system. The original comment system was provided by Google, but considering that most people cannot access the Internet scientifically, I decided to use a third-party platform. This part of the comment function is still being improved.

In summary, setting up a blog is not the ultimate goal. All the choices above are prepared for free writing. Therefore, content is the kingly way, and content is the main factor that attracts readers to read your blog. When building a blog, don’t go after the bottom line.

At last

Well, the above is a summary of several major problems that Xiaolu encountered in building a personal blog. Although sometimes problems are difficult to deal with, there are always more solutions than problems. As long as there is confidence to solve them, there must be a solution.

In addition to the above issues, there are other minor issues, such as blog color matching, font size, layout and typesetting, blog beautification, mobile terminal adaptation, etc. These also need to be carefully handled and designed.

In response to the above problems, the next few articles will share systemic solutions in modules, such as SEO optimization, some analysis tools and methods, and server environment construction and deployment.

Guess you like

Origin blog.51cto.com/15064450/2596537