我在feedsky申请了一个feed地址http://feed.feedsky.com/feed
绑定域名后为http://feed.crazycen.com
但是wordp默认的为http://www.crazycen.com/feed
那么如何修改呢!
来看解决方案:
在wordpress的源代码编辑页面找到header.php
找到以下内容
[cc lang=html]<link rel="alternate" type="application/rss+xml"
title="<?php bloginfo('name'); ?> RSS Feed"
href="<?php $options = get_option('crazycen_options');
if ($options['feed_url']) {echo($options['feed_url']);}
else bloginfo('rss2_url'); ?>" />[/cc]
将其改为(部分主体可能不一样,大家按着推理就可以了)
[cc]<link rel="alternate" type="application/rss+xml"
title="RSS 2.0" href="http://feed.crazycen.com" />[/cc]
改好之后就把RSS地址修改为http://feed.crazycen.com
文章评论
谢谢你的分享啊 不错呀