Intermediary transaction SEO diagnosis Taobao guest Cloud host technology Hall
Last year due to some personal reasons, resulting in a website for more than a year has not been updated, and now a new revision, the individual or more accustomed to using Dede, feeling Dede function is still very powerful, the following for everyone to tidy up a number of me in the making template when a SEO tips, The Dede version is V5.7, and the other revisions should be similar.
Breadcrumb navigation (site channel navigation) Add title=*** Anchor text method:
Sometimes our site name is not the same as the keyword, but want to add anchor text in breadcrumbs, you can use the following code to achieve:
Method One:
<a title= ' keyword ' href= ' {dede:global.cfg_basehost/} ' >{dede:global.cfg_webname/}</a> > {dede:type}<a href= "[Field:typelink/]" >[field:typename/]</a> {/dede:type}
{dede:global.cfg_basehost/} is the website address {dede:global.cfg_webname/} is the website name, also may use the website name to replace directly, uses the label is in order to be convenient later does not have to revise after the modification template Edition, after the { Dede:type}<a href= "[Field:typelink/]" >[field:typename/]</a> {/dede:type} is the name and URL that invokes the current channel.
Method Two: Directly modify {Dede:field name= ' position '/} effect
Let's take a look at the effect chart.
The Dede call navigation is labeled: {Dede:field name= ' position '/} generates HTML static files after the page source code is this way
<a href= ' http://www.***.com ' > Home </a> > <a href= ' http://www.***.com/pindao/' > Channel name </a>
If we want to achieve the effect of the above diagram, please refer to my practice.
First login site background system-Site Settings
Homepage link blank, homepage link name fill in your own website name.
Then modify the typelink.class.php recommended in the Include Directory EditPlus edit, do not use Notepad.
Code 113 in line plus title= ' keyword ' attention is half-width ' no ', otherwise the program will be wrong.
After the modification, upload to the space, and then update an article and then look at the Web page source code, like the following this look.
<a title= ' keyword ' href= ' http://www.***.com ' > website name </a> > <a href= ' http://www.***.com/pindao/' > channel name </a> Lichuan Online (http://www.445400.com) original tutorial, reproduced please indicate the source.