301转向的代码
ASP:
Response.Status="301 Moved Permanently"
Response.AddHeader "Location", "http://www.teched.cn/"
Response.End
Response.AddHeader "Location", "http://www.teched.cn/"
Response.End
PHP:
header("HTTP/1.1 301 Moved Permanently");
header("Location:http://www.teched.cn/);
exit();
?>
header("Location:http://www.teched.cn/);
exit();
?>
ASP.NET:
<script runat="server">
private void Page_Load(object sender, System.EventArgs e)
{
Response.Status = "301 Moved Permanently";
Response.AddHeader("Location","http://www.teched.cn/);
}
</script>
private void Page_Load(object sender, System.EventArgs e)
{
Response.Status = "301 Moved Permanently";
Response.AddHeader("Location","http://www.teched.cn/);
}
</script>
Incoming search terms:
Tags:
使用RSS阅读器订阅自己的blog,发现WordPress RSS订阅出现异常,总是把文章揉成一段显示!“云上的日子”(一位WP博客)认为可能是插件导致的,于是就试着把WP插件全部关闭,并把模板换为 WordPress默认模板,然后再发新贴,结果依然老样子!
需要说明的是:
1.WordPress版本为英文版1.5.2,并且完全按照WordPress.org提供的readme进行安装。
2.文件增删情况:
增加:在wp-content下增加了一个名为"backup" 的文件夹和一个名为“my-hacks.php"的文件,该文件内容为""(不包含引号)
删除: 没有删除过任何文件
3.系统安装要求:无论是PHP还是MySQL,都完全满足WordPress的要求。
注: 有一些WordPress blog也存在着同样的问题,希望大家可以帮帮忙,谢谢!
你看看输出的XML就明白了,没有格式的文本
跟你发表日志的时候是一样的,但不同的是,显示的时候,WP有经过处理.
所以,在WP里你可以看到有格式的文章.
我还没用过阅读器,呵呵