Godaddy的Windows主机发邮件_阅读全文按钮添加nofollow

2010-09-25 | 夜光 | IT记录| 发表评论

解决Godaddy的Windows主机安装wordpress不能发邮件问题:

使用configure-smtp插件,对于Godaddy的windows主机只需要以下设置四项:
SMTP host:relay-hosting.secureserver.net
SMTP port:25
Sender e-mail:发送地址,例如no-reply@boliquan.com
Sender name:发信名称,例如WordPress玻璃泉

实现WordPress邮件通知评论者:

使用mail-to-commenter插件,默认是关闭的,设置里修改一下就行。

为wordpress的阅读全文read more按钮添加nofollow属性:

如果用了wp-utf8-excerpt插件,则通过修改wp-utf8-excerpt插件
查找

$text .= "<p class='read-more'>

在后面的链接处添加

rel='nofollow'

改好后的那一段代码完整为

$text .= "<p class='read-more'><a rel='nofollow' href='".get_permalink()."'>".$read_more_link."</a></p>";
return $text;
本文标签: ,,,
本文链接: http://boliquan.com/godaddy-windows-wordpress-mail-readmore-nofollow/
版权所有: 玻璃泉, 转载请注明本文出处。

2个评论

  1. 一直提倡在Linux下运行WordPress,不建议在windows下运行

  2. @角落
    PHP是跨平台的~小问题总有解决方法~

发表评论

您的昵称 *

您的邮箱 *

您的网站

icon_wink.gif icon_neutral.gif icon_mad.gif icon_twisted.gif icon_smile.gif icon_eek.gif icon_sad.gif icon_rolleyes.gif icon_razz.gif icon_redface.gif icon_surprised.gif icon_mrgreen.gif icon_lol.gif icon_idea.gif icon_biggrin.gif icon_evil.gif icon_cry.gif icon_cool.gif icon_arrow.gif icon_confused.gif icon_question.gif icon_exclaim.gif

Protected by WP Anti Spam