知乐空间

seo搜索引擎优化方式及原理,搜索引擎优化的流程

一、搜索引擎工作原理

搜索引擎的工作分为三个阶段,即爬行,索引和检索

1.爬行

搜索引擎具有网络爬虫或蜘蛛来执行爬网,每次抓取工具访问网页时,它都会复制该网页并将其网址添加到索引中。

在“蜘蛛”抓取网页内容,提炼关键词的这个过程中,就存在一个问题:“蜘蛛”能否看懂。如果网站内容是 flash 和 js,那么它是看不懂的。

相应的,如果网站内容是它的语言,那么它便能看懂,它的语言即 SEO

2.索引

此阶段,爬网程序会创建搜索引擎的索引。索引就像一本巨大的书,其中包含爬虫找到的每个网页的副本。如果任何网页发生更改,则抓取工具会使用新内容更新图书

3.检索

这是搜索引擎以特定顺序提供最有用和最相关答案的最后阶段。

二、SEO 简介

1.SEO 的分类

A.白帽 SEO:起到了改良和规范网站设计的作用,使网站对搜索引擎和用户更加友好,并从搜索引擎中获取合理的流量

B.黑帽 SEO:利用和放大搜索引擎政策缺陷来获取更多用户的访问量

2.白帽 SEO 的使用

a.对网站的标题、关键字、描述精心设置,反映网站的定位,让搜索引擎明白网站是做什么的;

b.网站内容优化:内容与关键字的对应,增加关键字的密度;

c.在网站上合理设置 Robot.txt 文件;

d.生成针对搜索引擎友好的网站地图;

e.增加外部链接,到各个网站上宣传;

三、SEO 优化

通过网站的结构布局设计和网页代码优化,使前端页面既能让浏览器用户能够看懂,也能让“蜘蛛”看懂。

1.网站结构布局优化

A.控制首页链接数量

对于中小型企业网站,建议首页链接在100个以内,链接的性质可以包含页面导航、底部导航、锚文字链接等

B.扁平化的目录层次

尽量让“蜘蛛”只跳转3次,就能到达网站内的任何一个内页

C.导航优化

导航应该尽量采用文字方式,也可以搭配图片导航,但标签务必添加“alt”和“title”属性,告诉搜索引擎导航的定位

SEO必看 | 搜索引擎的工作原理及优化

其次,在每一个网页上应该加上面包屑导航

SEO必看 | 搜索引擎的工作原理及优化

对用户而言,可以让用户了解当前所处的位置,形成更好的位置感,并方便用户操作;

对蜘蛛而言,能够清楚的了解网站结构,同时还增加了大量的内部链接,方便抓取,降低跳出率。

D.结构布局的规范优化

a.页面头部:logo 及主导航,以及用户的信息

b.页面主体:左边面包屑导航及正文;右边放热门文章及相关文章,既增强了页面相关性,也增强页面的权重

c.页面底部:版权信息和友情链接

注意:分页导航推荐写法:“1 2 3 4 5 6 7 8 9 10 下拉框/输入框”,这样“蜘蛛”能够根据相应页码直接跳转,下拉框直接选择页面跳转

SEO必看 | 搜索引擎的工作原理及优化

E.控制页面的大小

一个页面最好不要超过100k,太大,页面加载速度慢,用户体验不好,并且一旦超时,“蜘蛛”也会离开。

2.网页代码优化

a.</strong></p><p>标题,强调重点即可,尽量做到每个页面的 <title> 标题内容不重复</p><figure class=wp-block-image><img class=j-lazy src=http://img.cnmzd.com/d/file/2022-03-21-22/hfwwoh1jwkt401439.jpg alt="SEO必看 | 搜索引擎的工作原理及优化"></figure><p><strong>b.<meta keywords></strong></p><p>关键词,列举出几个页面的重要关键字即可</p><figure class=wp-block-image><img class=j-lazy src=http://img.cnmzd.com/d/file/2022-03-21-22/40oi1dwtrx1401440.jpg alt="SEO必看 | 搜索引擎的工作原理及优化"></figure><p><strong>c.<meta description></strong></p><p>网页描述,高度概括网页内容的关键词,每个页面也要有所不同</p><figure class=wp-block-image><img class=j-lazy src=http://img.cnmzd.com/d/file/2022-03-21-22/omvzstqvxrz401443.jpg alt="SEO必看 | 搜索引擎的工作原理及优化"></figure><p><strong>d.标签语义化</strong></p><p>比如:h1-h6是用于标题类的,<nav>标签是用来设置页面主导航的等</p><p><strong>e.标签</strong></p><p>页内链接,要加“title” 属性加以说明,让访客和 “蜘蛛” 知道;</p><p>外部链接,链接到其他网站的,则需要加上 el=”nofollow” 属性,避免“蜘蛛”爬了外部链接之后,就不回了</p><p><strong>f.正文标题要用 <h1> 标签</strong></p><p>“蜘蛛” 认为它最重要,若不喜欢<h1>的默认样式可以通过CSS设置</p><p><strong>g.<br></strong></p><p>只用于文本内容的换行</p><figure class=wp-block-image><img class=j-lazy src=http://img.cnmzd.com/d/file/2022-03-21-22/ahvwpun5m05401446.jpg alt="SEO必看 | 搜索引擎的工作原理及优化"></figure><p><strong>h.<caption></strong></p><p>表格应该使用 <caption> 表格标题标签</p><p>i.<img> 应使用 “alt” 属性加以说明</p><p>j.<strong> 和 <em> : 需要强调时使用</p><p><strong>标签在搜索引擎中能突出关键词</p><p><em>标签强调效果仅次于 <strong></p><p>而 <b>、<i>标签: 只是用于显示效果时使用,在 SEO 中不起效果</p><p><strong>k.避免使用 和 ©</strong></p><p>空格符 应用 CSS 进行设置</p><p>版权符 © 可以直接使用输入法打“©”</p><p><strong>l.少用 iframe 框架,因为“蜘蛛”一般不会读取其中的内容</strong></p><p><strong>m.少用 display: none;</strong></p><p>对于不想显示的文字内容,应当设置 z-index 或设置到浏览器显示器之外。因为搜索引擎会过滤掉 display:none 中的内容</p></div> <div class="content-more-1"><div class="gradient-1"></div> <label for="contTab-1" class="readmore-1">点击展开全文</label></div> </div> <div class="pagination pagination-multi"><ul></ul></div> <div class="article-tags"></div> <div class="ad"><script src=https://www.zlme.com/d/js/acmsd/thea6.js></script></div> <p class="post-copyright">版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,请发送邮件至 ZLME@xxxxxxxx@hotmail.com 举报,一经查实,立刻删除。</p> </article> <nav class="article-nav"> <span class="article-nav-prev">上一篇<br> <a href='https://www.zlme.com/post/2022/03/31/120557.html'>win10显示秒怎么设置,win10时间显示秒操作技巧</a></span> <span class="article-nav-next">下一篇<br> <a href='https://www.zlme.com/post/2022/03/31/120559.html'>微信小程序前景如何,盘点小程序未来10年发展趋势</a></span> </nav> <h3 class="title" id="comments"> <div class="text-muted pull-right"> </div> </h3> <link href="https://www.zlme.com/skin/ecmspl/css/pl.css" rel="stylesheet"> <div class="showpage" id="plpost"> <table width="100%" border="0" cellpadding="0" cellspacing="0" style="line-height: 25px; padding: 5px 3px 1px 8px; font-size: 18px;"> <tr><td><strong><font color="#333333">留言与评论(共有 <span id="infocommentnumarea">0</span> 条评论)</font></strong></td></tr> </table> <script> function CheckPl(obj) { if(obj.saytext.value=="") { alert("您没什么话要说吗?"); obj.saytext.focus(); return false; } return true; } </script> <form action="https://www.zlme.com/e/pl/doaction.php" method="post" name="saypl" id="saypl" onsubmit="return CheckPl(document.saypl)"> <table width="100%" border="0" cellpadding="0" cellspacing="0" id="plpost"> <tr> <td> <table width="100%" border="0" cellspacing="10" cellpadding="0"> <tr> <td> <script src="https://www.zlme.com/e/pl/loginjspl.php"></script> <textarea name="saytext" rows="6" id="saytext" placeholder="请遵守互联网相关规定,不要发布广告和违法内容!"></textarea> <table width='100%' align='left' cellpadding=3 cellspacing=1 bgcolor='#FFF'> <tr> <td width="90%" height="40" bgcolor="#FFFFFF"> 验证码:<input name="key" type="text" class="inputText" size="16" /> <img src="https://www.zlme.com/e/ShowKey/?v=pl" width="60" align="absmiddle" name="plKeyImg" id="plKeyImg" onclick="plKeyImg.src='https://www.zlme.com/e/ShowKey/?v=pl&t='+Math.random()" title="看不清楚,点击刷新" /> </td> <td width="10%" height="40" bgcolor="#FFFFFF"> <input name="sumbit" type="submit" value="提交评论" tabindex="6" style="border-radius: 5px;font-size: 16px;background: #e94c3d none repeat scroll 0% 0%;border: 0px none;margin: 0px 0px;padding: 1px 16px;height: 33px;line-height: 30px;color: rgb(255, 255, 255);opacity: 0.95;"> <input name="id" type="hidden" id="id" value="120558" /> <input name="classid" type="hidden" id="classid" value="12" /> <input name="enews" type="hidden" id="enews" value="AddPl" /> <input name="repid" type="hidden" id="repid" value="0" /> <input type="hidden" name="ecmsfrom" value="https://www.zlme.com/post/2022/03/31/120558.html"> </td> </tr> </table> </td> </tr> </table> </td> </tr> </table></form> <table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#FFFFFF"> <tr> <td bgcolor="#FFFFFF" id="infocommentarea"></td> </tr> </table> <script src="https://www.zlme.com/e/extend/infocomment/commentajax.php?classid=12&id=120558"></script> </div> </div> </div> <aside class="speedbar-wrap"> <div class="speedbar"> <ul class="speedbar-menu"> <li><a target="_blank" href="/remen">热门排行</a></li> <li><a target="_blank" href="/tui">推荐阅读</a></li> <li><a target="_blank" href="/zan">点赞热门</a></li> <li><a target="_blank" href="/site_misc/about/">关于本站</a></li> <li><a target="_blank" href="/site_misc/ads/">联系信箱</a></li> <li><a target="_blank" href="/site_misc/team/">本站动态</a></li> <li><a target="_blank" href="/e/DoInfo/ChangeClass.php?mid=1">会员投稿</a></li> </ul> </aside> <aside class="sidebar"> <div class="widget widget_ui_ad"> <div class="item"><script src=https://www.zlme.com/d/js/acmsd/thea4.js></script></div> </div> <div class="widget article-social"> <a href="JavaScript:makeRequest('/e/public/digg/?classid=12&id=120558&dotop=1&doajax=1&ajaxarea=diggnum','EchoReturnedText','GET','');" class="action action-like"><i class="glyphicon glyphicon-thumbs-up"></i> (<span id="diggnum"><script src=https://www.zlme.com/e/public/ViewClick/?classid=12&id=120558&down=5></script></span>)</a> </div> <div class="widget widget_ui_viewposts"> <h3 class="title"><strong>热门阅读</strong></h3> <ul class="posts-xs"> <li class="item-1"><a href="https://www.zlme.com/post/2022/03/31/122241.html"><img src="https://www.zlme.com/e/extend/timthumb.php?src=/d/file/2022-07-29/c925a273fc6e2f0aa28424b32974a2dd.jpg&h=180&w=240&zc=1" data-src="https://www.zlme.com/e/extend/timthumb.php?src=/d/file/2022-07-29/c925a273fc6e2f0aa28424b32974a2dd.jpg&h=180&w=240&zc=1" class="thumb"/> <h2>优步注册司机条件要求,优步司机注册申请官网</h2> <p> <time>03-31</time> <span class="post-views">阅读(18629)</span></p> </a></li> <li class="item-1"><a href="https://www.zlme.com/post/2022/04/02/130207.html"><img src="https://www.zlme.com/e/extend/timthumb.php?src=http://img.cnmzd.com/d/file/2022-03-22-10/tu2eg2k4v42503150.jpg&h=180&w=240&zc=1" data-src="https://www.zlme.com/e/extend/timthumb.php?src=http://img.cnmzd.com/d/file/2022-03-22-10/tu2eg2k4v42503150.jpg&h=180&w=240&zc=1" class="thumb"/> <h2>海信电视开机广告怎么去除,教你两招去除开机广告教程</h2> <p> <time>04-02</time> <span class="post-views">阅读(6214)</span></p> </a></li> <li class="item-1"><a href="https://www.zlme.com/post/2020/01/01/99.html"><img src="https://www.zlme.com/e/extend/timthumb.php?src=/d/file/20140617/ohp0t3cqhps.jpg&h=180&w=240&zc=1" data-src="https://www.zlme.com/e/extend/timthumb.php?src=/d/file/20140617/ohp0t3cqhps.jpg&h=180&w=240&zc=1" class="thumb"/> <h2>有趣的玻璃树屋幼儿园,室内与室外完美融合</h2> <p> <time>01-12</time> <span class="post-views">阅读(5044)</span></p> </a></li> <li class="item-1"><a href="https://www.zlme.com/post/2022/04/01/124958.html"><img src="https://www.zlme.com/e/extend/timthumb.php?src=http://img.cnmzd.com/d/file/2022-03-22-01/mo3z3oktx2e429518.jpg&h=180&w=240&zc=1" data-src="https://www.zlme.com/e/extend/timthumb.php?src=http://img.cnmzd.com/d/file/2022-03-22-01/mo3z3oktx2e429518.jpg&h=180&w=240&zc=1" class="thumb"/> <h2>抖音用户有多少,2020年抖音用户数量</h2> <p> <time>04-01</time> <span class="post-views">阅读(4383)</span></p> </a></li> <li class="item-1"><a href="https://www.zlme.com/post/2020/01/01/138.html"><img src="https://www.zlme.com/e/extend/timthumb.php?src=/d/file/20140617/tzmycj441z0.jpg&h=180&w=240&zc=1" data-src="https://www.zlme.com/e/extend/timthumb.php?src=/d/file/20140617/tzmycj441z0.jpg&h=180&w=240&zc=1" class="thumb"/> <h2>英国一老头因无聊花10年修剪了长达45米的绿色龙雕塑</h2> <p> <time>06-17</time> <span class="post-views">阅读(2936)</span></p> </a></li> <li class="item-1"><a href="https://www.zlme.com/post/2022/04/03/133449.html"><img src="https://www.zlme.com/e/extend/timthumb.php?src=http://img.cnmzd.com/d/file/2022-03-22-05/lreqp3ovl2x456984.jpg&h=180&w=240&zc=1" data-src="https://www.zlme.com/e/extend/timthumb.php?src=http://img.cnmzd.com/d/file/2022-03-22-05/lreqp3ovl2x456984.jpg&h=180&w=240&zc=1" class="thumb"/> <h2>无线同屏器什么牌子好,10大高清无线投屏器排行榜</h2> <p> <time>04-03</time> <span class="post-views">阅读(2718)</span></p> </a></li> </ul> </div> <div class="widget widget_ui_ad"> <div class="item"><script src=https://www.zlme.com/d/js/acmsd/thea2.js></script></div> </div> <div class="widget widget_ui_tags"> <h3 class="title"><strong>热门话题</strong></h3> <div class="items"> <a title="4个话题" href="/e/tags/?tagname=让你">让你</a> <a title="3个话题" href="/e/tags/?tagname=教你">教你</a> <a title="3个话题" href="/e/tags/?tagname=又有">又有</a> <a title="2个话题" href="/e/tags/?tagname=河上">河上</a> <a title="2个话题" href="/e/tags/?tagname=带你">带你</a> <a title="2个话题" href="/e/tags/?tagname=世界上">世界上</a> <a title="2个话题" href="/e/tags/?tagname=微距">微距</a> <a title="1个话题" href="/e/tags/?tagname=无法下定决心">无法下定决心</a> <a title="1个话题" href="/e/tags/?tagname=却是难以持久的。有的人遇到事情就优柔寡断">却是难以持久的。有的人遇到事情就优柔寡断</a> <a title="1个话题" href="/e/tags/?tagname=用线">用线</a> <a title="1个话题" href="/e/tags/?tagname=史瑞克">史瑞克</a> <a title="1个话题" href="/e/tags/?tagname=现实中">现实中</a> <a title="1个话题" href="/e/tags/?tagname=用书">用书</a> <a title="1个话题" href="/e/tags/?tagname=这样的人有可能会一时取得显著的好成绩">这样的人有可能会一时取得显著的好成绩</a> <a title="1个话题" href="/e/tags/?tagname=塞纳">塞纳</a> <a title="1个话题" href="/e/tags/?tagname=不高兴的时候就垂头丧气">不高兴的时候就垂头丧气</a> <a title="1个话题" href="/e/tags/?tagname=能够独立思考和决策有的人容易激动而且高兴">能够独立思考和决策有的人容易激动而且高兴</a> <a title="1个话题" href="/e/tags/?tagname=万一真的被套牢了或出现了亏损等情况,这样">万一真的被套牢了或出现了亏损等情况,这样</a> <a title="1个话题" href="/e/tags/?tagname=泰坦">泰坦</a> <a title="1个话题" href="/e/tags/?tagname=因此千万不要以为自己可以成为常胜将军。要">因此千万不要以为自己可以成为常胜将军。要</a> <a title="1个话题" href="/e/tags/?tagname=句话">句话</a> <a title="1个话题" href="/e/tags/?tagname=的人">的人</a> <a title="1个话题" href="/e/tags/?tagname=之感">之感</a> <a title="1个话题" href="/e/tags/?tagname=要不要">要不要</a> <a title="1个话题" href="/e/tags/?tagname=更具">更具</a> <a title="1个话题" href="/e/tags/?tagname=更美好">更美好</a> <a title="1个话题" href="/e/tags/?tagname=聊聊什么类型的人更适合股票的投资每个人的">聊聊什么类型的人更适合股票的投资每个人的</a> <a title="1个话题" href="/e/tags/?tagname=可做">可做</a> <a title="1个话题" href="/e/tags/?tagname=小工具">小工具</a> <a title="1个话题" href="/e/tags/?tagname=你就可以">你就可以</a> </div> </div> <div class="widget widget_ui_posts"> <h3 class="title"><strong>特别推荐</strong></h3> <ul class="posts-xs"> <li class="item-"><a href="https://www.zlme.com/post/2020/01/01/119.html"><img src="https://www.zlme.com/e/extend/timthumb.php?src=/d/file/20140617/m4j0f4k4vhg.jpg&h=180&w=240&zc=1" data-src="https://www.zlme.com/e/extend/timthumb.php?src=/d/file/20140617/m4j0f4k4vhg.jpg&h=180&w=240&zc=1" class="thumb"/> <h2>充电宝能净化空气?EVE负离子移动电源有招</h2> <p> <time>06-17</time> <span class="post-views">阅读(1853)</span></p> </a></li> <li class="item-"><a href="https://www.zlme.com/post/2020/01/01/118.html"><img src="https://www.zlme.com/e/extend/timthumb.php?src=/d/file/20140617/sql3qrcnoyh.jpg&h=180&w=240&zc=1" data-src="https://www.zlme.com/e/extend/timthumb.php?src=/d/file/20140617/sql3qrcnoyh.jpg&h=180&w=240&zc=1" class="thumb"/> <h2>点亮插头 有效降低被触电的几率</h2> <p> <time>06-17</time> <span class="post-views">阅读(618)</span></p> </a></li> <li class="item-"><a href="https://www.zlme.com/post/2020/01/01/116.html"><img src="https://www.zlme.com/e/extend/timthumb.php?src=/d/file/20140617/0n41rcyvowj.jpg&h=180&w=240&zc=1" data-src="https://www.zlme.com/e/extend/timthumb.php?src=/d/file/20140617/0n41rcyvowj.jpg&h=180&w=240&zc=1" class="thumb"/> <h2>Hyper头盔带你走入另一个全新世界</h2> <p> <time>06-17</time> <span class="post-views">阅读(462)</span></p> </a></li> <li class="item-"><a href="https://www.zlme.com/post/2020/01/01/117.html"><img src="https://www.zlme.com/e/extend/timthumb.php?src=/d/file/20140617/lslvhmzbdjb.jpg&h=180&w=240&zc=1" data-src="https://www.zlme.com/e/extend/timthumb.php?src=/d/file/20140617/lslvhmzbdjb.jpg&h=180&w=240&zc=1" class="thumb"/> <h2>史上最有趣的24款手表 个个价值不菲</h2> <p> <time>06-17</time> <span class="post-views">阅读(771)</span></p> </a></li> <li class="item-"><a href="https://www.zlme.com/post/2020/01/01/115.html"><img src="https://www.zlme.com/e/extend/timthumb.php?src=/d/file/20140617/ieqldirikvh.jpg&h=180&w=240&zc=1" data-src="https://www.zlme.com/e/extend/timthumb.php?src=/d/file/20140617/ieqldirikvh.jpg&h=180&w=240&zc=1" class="thumb"/> <h2>可以一起动手做饭的烹饪桌 ENYO</h2> <p> <time>06-17</time> <span class="post-views">阅读(299)</span></p> </a></li> <li class="item-"><a href="https://www.zlme.com/post/2020/01/01/114.html"><img src="https://www.zlme.com/e/extend/timthumb.php?src=/d/file/20140617/nbyoss4orpa.jpg&h=180&w=240&zc=1" data-src="https://www.zlme.com/e/extend/timthumb.php?src=/d/file/20140617/nbyoss4orpa.jpg&h=180&w=240&zc=1" class="thumb"/> <h2>利用错觉设计的3D立体灯泡</h2> <p> <time>06-17</time> <span class="post-views">阅读(261)</span></p> </a></li> </ul> </div> </aside> </section> <footer class="footer"> © 2020 <a href="https://www.zlme.com/">知乐空间</a>   感谢 <a href="https://zlme.com" target="_blank">知乐网</a> 技术支持   <a href="https://beian.miit.gov.cn/" target="_blank"></a> <script> var _hmt = _hmt || []; (function() { var hm = document.createElement("script"); hm.src = "https://hm.baidu.com/hm.js?a3da7d2f01cb19eca8eeef883b28b3c4"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })(); </script></footer> <script> var jsui={ uri: '/skin/ecms009' }; </script> <!--ADD_CODE_FOOTER_START--> <!--ADD_CODE_FOOTER_END--> <script type='text/javascript' src='/skin/ecms009/js/one.js?ver=5.6'></script> </body> </html>