Nowadays, the number of websites is increasing rapidly, and the number of website builders is also increasing. In addition to website optimization, website construction is also a way for many people to earn money in the seo industry. Generally, keyword optimized websites are static websites, so many website building and optimization projects are not particularly difficult. Many times, websites have a fixed template. It may take a lot of time for a novice to build a website, but the time for building a website will be greatly reduced if you apply the template directly after becoming proficient, And some similar websites just change the fixed parameters of some files. A simple static website usually takes only half a day to produce after being proficient, but it can sell for about 1000 yuan, which is very profitable. Today, I will share the steps and details of website construction.
1、 Steps of website construction
1. Domain name registration
The website construction needs to prepare a domain name, which is the address of your website. Domain names can be registered by yourself or provided by customers, but most static websites need you to register domain names for them. The domain name registration is best to make the domain name contain the pinyin of website keywords, which is suitable for price comparison.
2. Prepare the host
There are a lot of things to pay attention to when buying a host server. Please refer to the article we shared earlier, "What do webmasters need to pay attention to when buying a host server?". It is mainly about the server's cost performance ratio, speed, service provider's service attitude, etc.
3. Website construction
The construction website can use various software existing on the Internet to edit the website. The important thing is to be able to understand certain html code, which is conducive to the adjustment of various defects of the website. Secondly, the most important thing is to be able to use various templates. Static websites rarely involve knowledge about java. The most important learning points are html language and css+div framework. It is easy to build websites after learning these two knowledge.
4. Website filing
If you want to go online, you must record the website, otherwise Baidu will not recognize the security of your website. In many cases, the host provider can help your website file.
2、 Details of website construction
1.301 Redirection
The default website of the website building system has two domain names. Therefore, in order for the search engine to repeatedly include the unified page, it is necessary to redirect the page 301 without www to the page with www. This is a noticeable problem.
2. Alt tag of homepage image
The image display on the home page of Zhimeng website does not have alt attribute, so we need to manually add alt attribute to the image, so that the search engine can better identify the home page of the website.
3. Directory hierarchy control
The default article path of Zhimeng is usually 3-5 layers, which is not suitable for website optimization. At this time, we need to pay attention to the level of page address.
4. Set robots file when debugging website errors
The website needs to be debugged. When the website is debugged, the search engine needs to be blocked. Just add code to the first two lines of the robots file, and block all search engines.