我的位置: 首页 >> 推 广 >> 优化知识

网站开发人员的SEO小抄(英文版)


therearecertainelementsofcodethatshouldalwaysbeincludedwhenbuildingyourwebsitesandblogsthatwillhelpthesearchenginesloveyouandgiveyoumorelimelightintheserp’s.someoftheseareobviouswhileothersarerarelyused,sohavealookthroughthelistandmakesureyouareusingallofthepointsincluded.afterall,youwantasmuchnaturaltrafficasyoucangetright?thiswillhelp.

ifyou’reunsureofanything,doaquickgooglesearchtolearnandimplementit.
importanthtmlseotags

titletag:

<head><title>keywordtitlehere</title></head>

headertags(h1,h2,h3,h4):

<h1>mostimportantheadertag</h1>

<h2>secondmostimportantheadertag</h2>

<h3>thirdmostimportantheadertag</h3>

<h4>fourthmostimportantheadertag</h4>


bold/strong:

<bold>keyword</bold>

<strong>keyword</strong>

image:

<imgsrc=”image.jpg”alt=”keyword”/>

hyperlink:

<ahref=”http://www.example.com/index.html”title=”keyword”>keywordanchortext</a>

hyperlink(notfollowed):

<ahref=”http://www.example.com/index.html”title=”keyword”rel=”nofollow”>keywordanchortext</a>

theaboveshowsbasichtmlthatthesearchengineslookfortodeterminewhatyoursiteisaboutandwhatkeywordsitrelatesto.theyareallimportantandshouldbeusedoneachpageofyoursiteifpossible.thebelowshowsrecommendedtitletagsyntax:

keyword<category|websitetitle

itisalwaysaverygoodideatoaddyourkeywordstothepagetitle,butdonotoverdoitbykeywordstuffingasthetitleshouldnotbemorethan70charactersinlength.
searchengineindexinglimits

thebelowdoesnotapplytoauthoritywebsitesbutisrelevanttoan‘average’site.

pagefilesize:nomorethan150kilobytes(beforeimages,attachmentsandcssetc)

numberoflinks:nomorethan100uniquelinksperpage.

titletag:nomorethan70charactersinlength.

metadescription:nomorethan155charactersinlength.

urldepth:nomorethan4–forexample:

badexample=http://www.example.com/category/places/items/brazil/rio

goodexample=http://www.example.com/places/rio

inadditiontotheabove,thenumberofparametersinaurlshouldbenomorethantwo.
sitemapsyntax

<?xmlversion=”1.0”encoding=’utf-8’?>
<urlsetxmlns=’http://www.sitemaps.org/schemas/sitemap/0.9’>
<url>
<loc>http://www.example.com/</loc>
<lastmod>1987-05-25</lastmod>
<changefreq>monthly</changefreq>
<priority>0.8</priority>
</url>
</urlset>

thelocationofyourxmlsitemapshouldbesettoadefaultlocationwherethesearchengineswillautomaticallylookforit.theseareasfollows:

http://www.example.com/sitemap.xml

http://www.example.com/sitemap.xml.gz

http://www.example.com/sitemap.gz

ifyouareunsureaboutcreatingyourownxmlsitemapyoucanfindoutmoreandmakeyourownforfreeat–http://www.xml-sitemaps.com/
robots.txtsyntax

user-agent:*
disallow:/privatefolder/
disallow:/privatefile.html
user-agent:googlebot/2.1
disallow:/nogoogle.html
sitemap:http://www.example.com/sitemap.xml
robotsmetatag

<metaname=”robotname”content=”arguments”/>

therobotnameabovecaneitherbe“robots”forallrobotsoraspecificuser-agentrobotasbelow.

noindex–pageinnotindexed.

nofollow–allofthelinksonapagebecomeno-follow.

noarchive–thepageisnotcached.

noodp-stopsthedescriptionandtitletagoverwritebydmozdirectory(homepageonly)

noydir–stopsthedescriptionandtitletagoverwritebyyahoodirectory

nosnippet–stopsgooglegeneratingadescriptionbasedonon-pagetext.
commonrobottraps

-inputforms
-sessionidsinurl
-pagesrestrictedbycookies
-frames
-logins

客户中心

版权2005-2020    聚卓网络有限公司    电话:18589057325    QQ:2338754269   粤ICP备14021702号

地址:深圳市宝安区 37区龙井一路100号 新乐社区工作站办公大楼侧门6楼(近翻身路、新乐社区健康服务中心)

技术支持: 网站建设