5. Seo-friendly Webpage Design from entry-level to proficient in search engines

Source: Internet
Author: User

Title and meta tags

Title ):

Web page optimization starts with title.In the search results, the text displayed in the first line of each captured content is the title of the page. Similarly, a page is opened in a browser, and the title of the page is displayed above the address bar. therefore, title is the core of a page. note the following when writing a title:

1. The title is short, concise, and highly generalized. It contains keywords instead of only one website name. However, there should be no more than three keywords.

2. The first seven words are the most important to the search engine. Therefore, the keyword should be placed first. The total number of words should not exceed 30 Chinese characters.

For example, Google's mobile phone search can be used to cut the first few mobile phone channels of large companies. The word "Mobile Phone" is at the top.

Meta attribute keywords (keywords ):

Keywords prompt search engine: the content of this website is centered on these words.

Therefore, the key to keywords writing is that each word can be matched in the content to facilitate ranking.

For example: Netease mobile phone channel. Keyword: "mobile phone, mobile phone quote, Nokia, Motorola" But recently the search engine's weight on the keywords attribute is not as important as it was.

Description)

The description section uses short sentences to tell search engines and visitors about the main content of the webpage. in the search results obtained by searching with the core Keywords of the website, the description is usually displayed as several lines of description text after the title. description is generally considered important after title and keywords. note the following when writing the description:

1. keywords appear in the description, which are related to the body content. This part of content is for people to see, so it should be detailed and interesting, attracting users to click

2. Similarly, the short principle should be followed. The number of characters, including spaces, should not exceed 120 Chinese characters.

3. Additional descriptions that are not fully stated in title and keywords.

For example, www.51edu.com described in the Google search results: China's leading education portal and the largest enrollment engine in China, providing users with a-course discount registration service, it provides professional Internet-based enrollment marketing, market management, and brand promotion services for educational institutions.

In addition, Baidu is more interested in the initial content of the page, which is usually used as the actual result.

Example: http://www.baidu.com/s? WD = Site % 3awww.51edu.com & CL = 3 display page menu bar:

Home Business School/Graduate College Entrance Examination foreign language it Vocational Education Management postgraduate study music art sports embassy Culture and Education AreaCommunityThree-year postgraduate study of international undergraduate course in lasar

Other Meta Tags:

To restrict content crawling by search engines, you can use the following robots Meta Tags:

<Meta name = "Robots" content = "All | none | index | noindex | follow | nofollow | noarchive">

Where: All-files will be retrieved, and links on the page can be queried

None-files will not be retrieved, and links on the page cannot be queried

Index-the file will be retrieved

Follow-links on the page can be queried.

Noindex-the file will not be retrieved, but the link on the page can be queried

Nofollow-the file is retrieved, and the link on the page is not queried.

Noarchive-files are not cached

These values can be combined.

Here, I have to mention another Google attribute rel = "nofollow". Usage:

<A rel = "nofollow" href = "http://www.1234567.com"> movie </a>

Purpose: Tell the search engine that this link is not edited by the author, so this link is not a trusted link. when the search engine sees this tag, it may reduce or completely cancel the voting weight of the link. however, not all search engines Support the robots tag in Meta.

Comprehensive application example:

<Title> personal education-Wanhua children's education group </title>

<Meta name = "Robots" content = "all">

<Meta name = "keywords" content = "Personal Education">

<Meta name = "Description" content = "for parent-child teachers, a systematic parent-child game teaching aid is an essential practical teaching material before parent-child activities, beijing zhiquan Wanhua Education Research Institute's parent-child center provides teachers and franchisees with a full set of parent-child game teaching aids ">

Access Structure

The access structure is used to access the final page through several layers. Google is better at three layers, and Baidu is not limited.

Good Example:

Take www.seochat.org as an example.

The homepage of www.seochat.org is the first layer, Baidu is optimized to the second layer, and Baidu is optimized to the third layer. such results are compared with search engine indexes. baidu's optimization of this page is included in both Baidu and Google.

Second-level domain name access structure:

Due to the three-tier directory, the page is limited, and multi-tier directory is required.

In this case, we use the second-level domain name method we mentioned earlier to expand the level. Because the second-level domain name is an independent website, the directory level starts from the current second-level domain name.

External domain access structure:

Some webpages have many layers on this website, but are also indexed by Google. This is because these webpages are being referenced by other websites, and Goole enters this page from other pages. you can use the link command to query the reverse link of the page.

Directory and file name

Keywords in directories and file names

You can use keywords in the directory name and file name. if it is a keyword group, separate them with separators. we often use hyphens (-) and underscores (_) to separate them. The URL contains a Space Code "% 20 ". therefore, if "Made in China"CompositionThe following three separation forms may appear:

Made-in-china.htm

Made_in_china.htm

Made000020in000020china.htm

After the keywords are connected together, the meaning of the keywords is lost. but in fact, Google does not recognize "_" as a separator at least for the moment. for Google, both made-in-China and made % 20In % 20china are equal to made in China, but made_in_china is read as madeinchina.

Therefore, if the Directory and file names have a keyword group, they must be separated by a hyphen (-) instead of an underscore.

The shorter the URL, the better.

Someone creates a subdirectory with a keyword to add a keyword and change the directory structure. because the keyword contained in the URL itself does not greatly improve the ranking, this approach is also objectionable to the search engine.

Bad example:

Make an English keyword computer. The directory http://www.ibm.com/computer/computer/computer.htmlis incorrect.

Good Example:

Http://www.ibm.com/computer/ the first level of the directory in the root directory, the weight is greater than the second level.

Gb2312 Chinese path

Currently, the search engine can properly include gb2312 Chinese URLs. optimization is everywhere. The keyword on the URL is less important than the question right, but it is still valid and can be added if necessary.

Static dynamic web page

Although most search engine spiderProgramNow, you can basically interpret the symbol "? ", But the search engine prefers static files, so static dynamic web pages are required.

Before introducing static expressions, we will introduce some common Regular Expressions:

Symbol matching character example
\ D
Any decimal number is equivalent to [0-9].
\ D any non-digit is equivalent to [^ 0-9]
\ S any blank character space, tab, paging character
\ S any non-blank character is equivalent to "[^ \ f \ n \ r \ t \ v]"
\ W any word character is equivalent to "[A-Za-z0-9 _]"
\ W any non-word character is equivalent to "[^ A-Za-z0-9 _]"
\ N carriage return line feed
. Any character except \ n (.) + matches all strings except line breaks
? 0 or 1 leading character AB? C? Only "ABC", "abbc", "ABCC", and "abbcc" can be matched"
* 0 or multiple AB characters can match "AB", "ABB", "abbb"
+ One or more AB characters can match "ABB", "abbb", but not "AB"
{N} n indicates the number. If it is 2, it indicates that 2 characters a {2} can match "AA", but not ""
{N, n} starts from a few characters and ends with a few characters. If no value is specified, it indicates that at least a {3,} matches "AAA", "aaaa", and so on, but does not match "a" or "AA"
X | y matches "X" or "Y" AB (c | x) YZ "matches" abcyz "and" abxyz"
\? \. \ * +? . * +

The following describes several static methods:

1. Static Processing Using iis_rewrite is suitable for PHP, ASP, and ASP. NET programs.

2. for ASP websites that use virtual hosts, the 404 error operation must be used for static operations.

3. Use the webpage program developed by Asp.net and urlrewriter. All to achieve static.

4. Static APACHE-based HTTP Server

5. Static post-File Format

Framework Structure

Frame structure, that is, frame, including IFRAME and frame.

The advantages of a framework website are reflected in the overall consistency and convenience of page updates. especially for those large websites, the use of the framework structure can make website maintenance relatively easy. however, the framework is a big problem for search engines.Most search engines cannot identify the framework and are not interested in capturing the content in the framework. In addition, some browsers do not support the framework page.

If the webpage already uses a framework, or you must use the Framework Structure for some reason, you mustCodeThe "noframes" label is used for optimization. The noframe label is regarded as the homepage of a common text content. the <noframe> </noframe> area contains links to the frame page and description text with keywords.

 

 

Related Article

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.