windows命令行下使用的ftp
作者:tetea 日期:2010-01-16 13:28
让pre标签内的文本自动换行的方法
作者:tetea 日期:2010-01-13 10:19
如何检测MX记录是否设置成功?
作者:tetea 日期:2009-11-30 19:27
php文件不被解析,只有空白
作者:tetea 日期:2009-11-30 14:23
intitle,inurl,filetype,site的用法
作者:tetea 日期:2009-11-24 10:42
为我们的Fedora右键添加打开终端快捷菜单
作者:tetea 日期:2009-11-13 10:20
推广优化心得
作者:tetea 日期:2009-11-13 10:12
f2blog博客更换空间后出现错误Warning: include_once(cache/cache_filters.php) [function.include-once
作者:tetea 日期:2009-11-03 08:56
Warning: include_once(cache/cache_filters.php) [function.include-once
看了一下程序做了如下修改。
打开 include/function.php,把第443行的
include_once("cache/cache_filters.php");
改为
include_once(F2BLOG_ROOT."cache/cache_filters.php");
打开 include/read.inc.php,把第64行的
include_once("cache/cache_logsTitle.php");
改为
include_once(F2BLOG_ROOT."cache/cache_logsTitle.php");
在php程序里设置301永久重定向
作者:tetea 日期:2009-10-23 09:09
经常会碰到这样的情况,其他网站链接你的站点时,会用下面的链接:
* www.example.com
* example.com/
* www.example.om/index.html
* example.com/index.php
而这样导致:你站点主域名的pr值分散到其他几个URLs了。
如果你用301重定向把其他三个URL转到
www.example.com
PR也就集中在主域名:www.example.com 了。
PHP:
<?
Header( “HTTP/1.1 301 Moved Permanently” );
Header( “Location: http://www.domain.com” );
?>

