Skip to content

20.前端需要注意哪些SEO #20

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
webVueBlog opened this issue Mar 10, 2020 · 1 comment
Open

20.前端需要注意哪些SEO #20

webVueBlog opened this issue Mar 10, 2020 · 1 comment
Labels
web综合 web综合

Comments

@webVueBlog
Copy link
Member

  1. 合理的title、description、keywords:搜索对着三项的权重逐个减小,title值强调重点即可,重要关键词出现不要超过2次,而且要靠前,不同页面title要有所不同;description把页面内容高度概括,长度合适,不可过分堆砌关键词,不同页面description有所不同;keywords列举出重要关键词即可

  2. 语义化的HTML代码,符合W3C规范:语义化代码让搜索引擎容易理解网页

  3. 重要内容HTML代码放在最前:搜索引擎抓取HTML顺序是从上到下,有的搜索引擎对抓取长度有限制,保证重要内容一定会被抓取

  4. 重要内容不要用js输出:爬虫不会执行js获取内容

  5. 少用iframe:搜索引擎不会抓取iframe中的内容

  6. 非装饰性图片必须加alt

  7. 提高网站速度:网站速度是搜索引擎排序的一个重要指标

@webVueBlog webVueBlog added the web综合 web综合 label Mar 10, 2020
@webVueBlog
Copy link
Member Author

Reasonable title, description and keywords: the weight of search on the three items is reduced one by one, the title value can be emphasized, important keywords should not appear more than 2 times, and to the front, the title of different pages should be different; Description the page content is highly summarized, the length is appropriate, can not be overpiled with keywords, different pages description is different; Keywords can enumerate the important keywords

Semantic HTML code, W3C compliant: semantic code makes web pages easy for search engines to understand

Important content HTML code in the first place: search engines to grab the HTML order from the top to the bottom, some search engines to grab the length of the limit, to ensure that important content will be captured

Important content do not use js output: crawlers do not perform js fetching of content

Use less iframe: search engines don't crawl content in an iframe

Non-decorative images must be Alt

Improve website speed: website speed is an important index of search engine ranking

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
web综合 web综合
Projects
None yet
Development

No branches or pull requests

1 participant