Search engine optimization (SEO)

Source: Internet
Author: User

The latest website is being optimized. I am not very familiar with Seo, so I found some information on the Internet. It is very useful to me to see this blog post. So I will repost it here and learn about it.
Address: http://www.cnblogs.com/JustinYoung/archive/2008/01/07/SEO-actual-combat.html

Introduction

More and more websites are paying attention to SEO (Search Engine Optimization. Indeed, from the perspective of visitor sources in my blog over the last month, the browser from the search engine accounts for about 25% of the total. From this data, the search engine can indeed bring a large number of new users and visitors to the website.


Statistics show that the search engine generates nearly 1/4 of the traffic.

If it is a commercial profitable website, these new visitors will bring a lot of business opportunities and opportunities. More importantly, the search engine is optimized and ranked. A little first come, first served, and permanent resource taste. Preemptible to a keyword and placing yourself in the top position will give you continuous benefits for a long time. On the contrary, if you think about Seo for your website after N years, you will be very passive and difficult. It is very difficult to obtain the top ranking. (Of course, except for spending money on rankings, but how many keywords can you buy ?)

Seo Materials

In practice, we naturally use real data. Recently, English training is very popular, and many of my colleagues are eager to charge. Therefore, we chose a practical topic for English training. In training institutions, "New Oriental" is the only company that has already been listed, so we assume that the scenario is as follows: I, a white-collar in the city, have a little money recently, so I want to learn English and charge myself. My colleagues and friends recommended "New Oriental", and even said "yes" to me in poor English! I recommend xindongfang !", So I decided on this "xindongfang. I now live in Shanghai, So I went online to search for the keyword "Shanghai New Oriental. Then we conduct Seo practices on the search results to analyze the SEO differences between different ranking webpages.To prevent being recognizedArticleThe gunman, so here I solemnly declare that I have no relationship with the New Oriental half-dime, and it is definitely not the gunman of New Oriental! If there is any false information, the greatest ugly woman in the world is born every day ...... (Eldest brother, it's just an article. You don't have to make such an important vow-_-B ...)

Start

Let's start with "Shanghai New Oriental" to perform a real search on Baidu (the reason for choosing Baidu instead of Google is that as a Chinese netizen, this should not be explained .). We found that shanghai.neworiental.org is the first place to go and check whether it is the official website of Shanghai New Oriental.Code, Found that Seo is not good, it is clear that the "ranking first" is to spend money to buy. So it is ignored here. The second name is: http://www.koolearn.com/, the analysis code, and so on. As a result, the two contestants are the second and third in the search results (because if the second is not a typographical product bought by the money, the third won't be .). Let's take a look at the third place: http://brand.hjenglish.com/17 /.

Okay. Now let's analyze it to see why the second place is in the third place, and the third place is in the second place.

Page code

Check the page source code http://brand.hjenglish.com/17/and paste the source code to Microsoft Expression web. We regret to see a lot of red underscores on the page. Here is a description: The Red underline is displayed because Microsoft Expression web considers a syntax error (this is the same as the familiar ). Let's take a look at these syntax errors --

Page frame selection

Before checking the syntax, we must first determine the framework (document type and doctype) used by the page, because different page frameworks mean different syntax rules. Look at this --

 

<! Doctype HTML public "-// W3C // dtd xhtml 1.0 transitional // en" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" >
< Html Xmlns = "Http://www.w3.org/1999/xhtml" >

Obviously, the page wants to use the transitional XHTML. We know that the transition from XHTML to tags must be closed. That is to say, if you want to use tags like IMG, you must also write the following form (note the "/" Closure symbol next to it ).

< IMG SRC = "Http://images.cnblogs.com/cnblogs_com/justinyoung/myPic/BlogLogo.gif" ALT = "Yes! B/S! "   />

Therefore, link and meta should also be closed with the "/" symbol, which is also written in the Code. It is indeed closed, but why does it prompt a syntax error.


Microsoft Expression web error message (click the picture to view the big picture)

Move the mouse up, prompting "in the current architecture, the secondary element cannot contain itself. Please delete the ending slash ." Isn't the webpage a transitional XHTML framework? Labels should be "closed. Why is an error prompted? Look for it and find that there is an additional <HTML> tag. Is it because of this? After removal, we found that the error message is still referenced. It does not appear because of this extra <HTML> tag (of course, two <HTML> tags are also incorrect ). It seems that there is no clue about the error, and even began to wonder if it was because of a problem with the Microsoft Expression Web Editor. In fact, the cause of the error is very simple, as simple as you do not seem to believe -- <! Doctype> the tag is written as <! Doctype>! No ~ Isn't HTML case-insensitive? However, unfortunately, <! Doctype> labels are special cases. The tag must be capitalized. Otherwise, it will be ineffective. The result is that the browser does not care <! Doctype> specifies the document type of the annotation, but uses the default document type (this is why some pages can display pages well without defining the doctype type .) The default document type varies with the browser, and IE6 defaults to html4.0. Naturally, the system will prompt "in the current architecture, secondary elements cannot contain themselves. Please delete the ending slash ." .

"If God is omnipotent, can he create a stone that cannot even lift himself? "
In the XHTML framework, tags must be closed.

A very intelligent question, whether you are a supporter of "God's theory of everything", is a slap in the face of yourself. However, this problem also occurs on this page. Let's take a look at 38 lines of code --

 

< IMG SRC = "Http://pic.hjbbs.com/biz/Banner/b17.gif" >

And 75 lines of code --

< IMG SRC = "Http://photo.hjbbs.com/brand/17/2007061874735119_882_m.jpg" Border = "0"   />

The same is IMG. One with a closed tag and the other without a closed tag. In fact, there is no error in either of them, but if they appear on the same page, it will inevitably be wrong. Because the IMG syntax that is not self-closed is the syntax of the html4.0 framework, and the self-closed IMG syntax is the XHTML syntax. A page may only have a document Framework. Therefore, if both methods are used, one is wrong.

ALT attribute of the IMG tag

Previously in html4.0, it seems that everyone is not interested in this alt attribute, but in XHTML, the IMG alt attribute is mentioned as a high position. Because the IMG label does not write the alt attribute, it means a syntax error. Of course, in Seo, ALT also has a special significance. Why can Baidu search find so many accurate images? ALT is indispensable. (Of course, the text around the image is also an important reason .) By the way, in line 3, setting the border attribute of the IMG Tag directly is also incorrect in the XHTML framework. The correct method is to set the border-width style in its style.

Children without parents

Let's take a look at the incorrect syntax in http://brand.hjenglish.com/17/page code. We can find that all the Li tags are prompted with syntax errors. The error message is "<div> cannot contain <li> tags ". So what can contain the <li> label? The answer is: only their parents are allowed, and their parents are <ul> tags or <ol> tags. Therefore, the <li> label cannot be used independently, because the <li> label becomes a child without a parent.

Seo Deficiency

We still choose the third less adequate name as the analysis object.

Keywords and description labels

The keywords and description tag settings are the most basic settings for page SEO (including the title tag settings, of course ). However, we are very sorry to see that there are no tags on the http://brand.hjenglish.com/17/page. This indicates that when the page was created,ProgramPersonnel may not be aware of Seo issues.

ALT attribute of IMG

This is already mentioned in the "Page code" section, so I will not go into details here. Here, by the way, the title attribute of the <A> tag. Like IMG, search engines are also very interested in the alt attribute, but it must be noted that: whether IMG is an ALT attribute or a tag's title attribute, do not use keywords to pile up, put a lot of, and there is no relationship with this image (Link) keywords in it. It is easy to be considered cheating by search engines. Remember ~

Keyword frequency

We use the search spider simulation tool (http://www.webconfs.com/search-engine-spider-simulator.php) to capture http://www.koolearn.com/website and http://brand.hjenglish.com/17/website. Then, count the number of times the keyword ("Shanghai New Oriental") appears in the result. The result is as follows --

    • Http://www.koolearn.com/the website contains 23 key words from Shanghai New Oriental region.
    • Http://brand.hjenglish.com/17/the website only displays the key words "Shanghai New Oriental" 5 times

Although the results captured by the Search spider simulation tool can only be referenced as one, the two numbers also seem to illustrate some problems.

Modification suggestions for http://brand.hjenglish.com/17/website Seo
    1. Naturally, the syntax error of the page is modified as soon as possible.
    2. Add the alt attribute to the IMG tag
    3. Use the <strong> label instead of the <B> label
    4. Add the keywords and description labels. And select the appropriate key words
    5. Add key words that match the context to the prompt that follows the syntax.
How to select key keywords

In fact, the keywords and description labels are added to the page, ALT is added to the IMG label, and title is added to the label ...... It's not hard. It's just a good deal. Is it true that what keywords are added in these places? Which keywords are the "Golden keywords" with a large search volume and a small competitiveness "? In fact, it is not difficult to find these "golden keywords", and let me hear it slowly --


The simplest keyword in the head is to shoot your head.

"New Oriental", "New Oriental training", "New Oriental School "...... Yes, they are indeed some good keywords. However, if you stick to these keywords, you will find that after 10 years and 8 years, your website is still ranked after the N page of the search results. The reason is very simple. You think of others, and others do it earlier than you, better than you do. What's more, you will spend money to buy these keywords. The monkey year, Ma Yue, is your turn. You forgot to consider the keyword competition factor.

Baidu search New Oriental Keywords

Baidu's related search function is a good thing. It can help you find related keywords for this keyword. Of course, these keywords are the most frequently searched keywords by Baidu users. Therefore, it is of great reference value. There are some keywords such as "Why didn't I think. For example, if we search for the simplest and simplest "New Oriental" keyword, Baidu will recommend the following keywords: "New Oriental English", "New Oriental Beijing", and "New Oriental Shanghai ", "New Oriental School", "Wuhan New Oriental", "Guangzhou New Oriental", "Beijing New Oriental School", "Tianjin New Oriental", and "Nanjing New Oriental ". We can find more new keywords. The advantage of this method is that it is simple and practical. The problem is still obvious-we still don't know which keywords are more popular (of course, Google has also learned Baidu's function)

Search in Baidu's "keyword popularity" New Oriental Keywords

To know the popularity of keywords, we can go to Baidu to search for keywords to view the popularity of related keywords. The horizontal bar chart on the right can clearly identify the heat information of each keyword. In this figure, we should choose "New Oriental" as the primary keyword, because it is the longest and most popular. However, if you stick to these keywords, you will find that your website is still ranked after the M page of the search result 20 years and 16 years later. The reason is very simple. You think of others, and others do it earlier than you, better than you do. What's more, they will spend a lot of money to buy these keywords. It's your turn to look at the moon. Obviously, this method still does not take into account the "keyword competition" factor.

Final killer: search by Google Keyword Tool Shanghai New Oriental Keywords
Google Keyword Tool

When you open the Google Keyword tool page and enter the keyword you want to query, you will find that, how selfish and mean I am to keep such good things in the end. With this tool, the ones mentioned above are almost nonsense. With this tool, you can immediately get the related recommendation keywords, keyword popularity, and keyword search volume in the last month. If we want to focus on the New Oriental keyword, we will find that "New Oriental", "New Oriental English", "New Oriental School", "Beijing New Oriental School ", "New Oriental New Concept English" is the most competitive among advertisers, based on "strong enemy, I want to hide", "enemy, I want to retreat", "weak enemy, I want to attack", "haokan", "I want to beat a snake", and "take advantage of him "the disease is killing him "...... The principle-_-B... we should try to avoid these keywords from getting broken. Focus on keywords with a large search volume and a small degree of competition, such"Shanghai New Oriental","Shanghai New Oriental School","Shanghai New Oriental English","Shanghai New Oriental English Training","Shanghai New Oriental English School","Shanghai New Oriental Forum","Beijing New Oriental"Above.

Never think about Seo cheating

The main keyword must not be greedy. If a webpage is full of keywords, the webpage will be regarded as cheating by search engines. In China, if Baidu finds it cheating and is banned, the consequences will be very serious. This article is very dangerous, because keyword stacking is serious. So don't be surprised when you cannot find this article in the search engine.

Do not try to be clever or cheating on Seo. For example, you can hide a layer where all keywords are in the layer. Set the background color of many keywords to the same color of river backgrounds, search is completely recognizable and severely punished. It is the most important thing to upgrade the content of a website honestly.

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.