Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall
Recently to a customer's website to do optimization, using the program is Shopex. It made me a long, simple reason. When the domestic, foreign numerous procedures are high profile away from the road, Shopex decision makers have to maintain the original sesame seed-closed source!
Program source code are encrypted processing, it is not possible to carry out the required two development and optimization modification, let me no pain. After a few days of extensive access to data finally on this shopex made a little change. The following first said that one of the changes, but also more than a friend in the question asked.
Shopex Product picture img Add ALT attribute tag.
With Shopex friends know, Shopex in the product picture img processing is directly with title, and no ALT attribute. Perhaps many friends will say, it is not important, it doesn't matter. Then you are wrong, the success or failure of optimization is your grasp of the details.
So how can I add the alt attribute to the product picture img?
First login FTP, find/plugins/widgets/goods/folder inside Default.html file. Open and find line 23rd code
<{if $setting. goodsimgheight}>height= "<{$setting .goodsimgheight}>" <{/if}><{/if}> src= " <{$goods _data.thumbnail_pic|default: $env .conf.site.default_thumbnail_pic|storager}> "title=" <{$goods _ Data.name}> "></a></div><{/if}>
<{/capture}>
Amended to
<{if $setting. goodsimgheight}>height= "<{$setting .goodsimgheight}>" <{/if}><{/if}> src= " <{$goods _data.thumbnail_pic|default: $env .conf.site.default_thumbnail_pic|storager}> "alt=" <{$goods _ Data.name}> "></a></div><{/if}>
<{/capture}>
If you need to retain the original title attribute, change to the following
<{if $setting. goodsimgheight}>height= "<{$setting .goodsimgheight}>" <{/if}><{/if}> src= " <{$goods _data.thumbnail_pic|default: $env .conf.site.default_thumbnail_pic|storager}> "title=" <{$goods _ Data.name}> "alt=" <{$goods _data.name}> "></a></div><{/if}>
<{/capture}>
This allows you to invoke the Alt attribute at the time the product is displayed.
As for the other simple optimization settings, Title,description,keyword can be in the background of the "marketing"-seo settings inside the configuration. This shopex is a good deal.
Original link: http://www.80yk.com/chengxu-seo/shopex/reprint please indicate the source thank you.